Skip to content

Commit

Permalink
moved spec to test folder, fix one assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
katarzynakita committed Feb 29, 2024
1 parent 0c62573 commit eb12376
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ test.describe('Search - Input', () => {

await searchPage.searchOverlay.searchFilesOption.click();
expect(await searchPage.searchOverlay.searchFoldersOption).toBeEnabled();
expect(await searchPage.searchOverlay.searchFoldersOption).not.toBeEnabled();
expect(await searchPage.searchOverlay.searchLibrariesOption).not.toBeEnabled();

await searchPage.searchOverlay.searchFilesOption.click();
expect(await searchPage.searchOverlay.searchFoldersOption).toBeEnabled();
expect(await searchPage.searchOverlay.searchFoldersOption).toBeEnabled();
expect(await searchPage.searchOverlay.searchLibrariesOption).toBeEnabled();

await searchPage.searchOverlay.searchFoldersOption.click();
expect(await searchPage.searchOverlay.searchFilesOption).toBeEnabled();
Expand Down

0 comments on commit eb12376

Please sign in to comment.