Skip to content

Commit

Permalink
UISACQCOMP-194 fix tests (#787)
Browse files Browse the repository at this point in the history
(cherry picked from commit 67e1939)
  • Loading branch information
NikitaSedyx authored and mariia-aloshyna committed Sep 13, 2024
1 parent 406342b commit 08622c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FindRecords/FindRecords.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('FindRecords', () => {
renderComponent({ isLoading: true });
user.click(screen.getByText('open modal'));

expect(screen.getByText('stripes-smart-components.sas.noResults.loading')).toBeDefined();
expect(screen.getByTestId('find-records').querySelector('[class="mclContentLoading"]')).toBeDefined();
});

it('should display open plugin modal', () => {
Expand Down
1 change: 1 addition & 0 deletions lib/FindRecords/FindRecordsModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ export const FindRecordsModal = ({
</div>

<div
data-testid="find-records"
data-test-find-records
className={isMultiSelect ? css.showButtonsBar : ''}
>
Expand Down

0 comments on commit 08622c3

Please sign in to comment.