Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions tests/e2e/specs/search/search.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,6 @@ test.describe('Search', { tag: '@predefined-users' }, () => {
})

// # search difficult names
// allow extra time for search indexing of Unicode folder name after rename operations
const { page } = world.actorsEnvironment.getActor({ key: 'Alice' })
await page.waitForTimeout(2000)
// When "Alice" searches "strängéनेपालीName" using the global search and the "all files" filter and presses enter
await ui.userSearchesGloballyWithFilter({
world,
Expand All @@ -282,7 +279,7 @@ test.describe('Search', { tag: '@predefined-users' }, () => {
// | strängéनेपालीName |
await ui.userShouldSeeResources({
world,
listType: resourcePage.searchList,
listType: resourcePage.filesList,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deyankiteworks Are we sure we want to use filesList instead of searchList? Why was it passing before then?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're correct. We need to keep resourcePage.searchList as the correct listType.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mzner I had to change the whole E2E test. Will wait for @nirajacharya2 to take a look at it.

stepUser: 'Alice',
resources: ['strängéनेपालीName']
})
Expand Down
Loading