Skip to content
Open
Changes from all commits
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
20 changes: 11 additions & 9 deletions tests/e2e/specs/search/search.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,20 +265,14 @@ 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
// When "Alice" searches "strängéनेपालीName" using the global search and the "all files" filter
await ui.userSearchesGloballyWithFilter({
world,
stepUser: 'Alice',
keyword: 'strängéनेपालीName',
filter: searchScope.allFiles,
command: 'presses enter'
filter: searchScope.allFiles
})
// And "Alice" enables the option to search title only
await ui.userEnablesTitleOnlySearch({ world, stepUser: 'Alice' })
Comment on lines -279 to -280
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.

why was this removed?

// Then following resources should be displayed in the files list for user "Alice"
// Then following resources should be displayed in the search list for user "Alice"
// | strängéनेपालीName |
await ui.userShouldSeeResources({
world,
Expand All @@ -288,6 +282,14 @@ test.describe('Search', { tag: '@predefined-users' }, () => {
})

// # deleting folder from search result and search deleted resource
// Navigate to search results page so resource is in a table for sidebar delete
await ui.userSearchesGloballyWithFilter({
world,
stepUser: 'Alice',
keyword: 'strängéनेपालीName',
filter: searchScope.allFiles,
command: 'presses enter'
})
// When "Alice" deletes the following resource using the sidebar panel
// | resource | from |
// | strängéनेपालीName | |
Expand Down
Loading