Skip to content

Commit

Permalink
[link-adf:feature/dev-mkinas-es-migration] E2E fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalKinas committed Nov 6, 2023
1 parent 409a7bf commit 5ba5975
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/protractor/suites/search/search-results-general.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('Search results general', () => {
await toolbar.clickSearchIconButton();
await searchInput.clickSearchButton();
await searchInput.checkOnlyFiles();
await searchInput.searchFor(random);
await searchInput.searchFor(`*${random}`);
await dataTable.waitForBody();

expect(await dataTable.isItemPresent(file)).toBe(true, `${file} not displayed`);
Expand All @@ -87,7 +87,7 @@ describe('Search results general', () => {
await toolbar.clickSearchIconButton();
await searchInput.clickSearchButton();
await searchInput.checkOnlyFolders();
await searchInput.searchFor(random);
await searchInput.searchFor(`*${random}`);
await page.waitForResults();

expect(await dataTable.isItemPresent(file)).toBe(false, `${file} is displayed`);
Expand All @@ -99,7 +99,7 @@ describe('Search results general', () => {
await toolbar.clickSearchIconButton();
await searchInput.clickSearchButton();
await searchInput.checkFilesAndFolders();
await searchInput.searchFor(random);
await searchInput.searchFor(`*${random}`);
await page.waitForResults();

expect(await dataTable.isItemPresent(file)).toBe(true, `${file} not displayed`);
Expand All @@ -111,7 +111,7 @@ describe('Search results general', () => {
await toolbar.clickSearchIconButton();
await searchInput.clickSearchButton();
await searchInput.checkLibraries();
await searchInput.searchForLibrary(random);
await searchInput.searchForLibrary(`*${random}`);
await page.waitForResults();

expect(await dataTable.isItemPresent(file)).toBe(false, `${file} is displayed`);
Expand Down

0 comments on commit 5ba5975

Please sign in to comment.