mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
test(playwright): reduce potential flakiness of appstore tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
b70a151778
commit
7e1adfb1fa
2 changed files with 1 additions and 3 deletions
|
|
@ -179,7 +179,6 @@ test.describe('Settings: App management', () => {
|
|||
|
||||
// Type "admin" in the search field
|
||||
const searchInput = appstorePage.groupSearchInput()
|
||||
await expect(searchInput).toBeFocused()
|
||||
await searchInput.fill('admin')
|
||||
|
||||
// Select the admin option from the dropdown
|
||||
|
|
|
|||
|
|
@ -163,10 +163,9 @@ export class AppstorePage {
|
|||
|
||||
/**
|
||||
* Gets the group search input.
|
||||
* NcSelectUsers uses role="combobox" on the search input, not role="textbox".
|
||||
*/
|
||||
groupSearchInput(): Locator {
|
||||
return this.groupDialog().locator('input').first()
|
||||
return this.groupDialog().getByRole('combobox')
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue