mirror of
https://github.com/nextcloud/server.git
synced 2026-07-11 10:36:08 -04:00
test(settings): fix E2E selector for out of office replacement element
Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
This commit is contained in:
parent
6291714a72
commit
ee3600f542
1 changed files with 3 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ describe('Calendar: Availability', { testIsolation: true }, () => {
|
|||
.type('Happy holidays!')
|
||||
|
||||
cy.intercept('GET', '**/ocs/v2.php/apps/files_sharing/api/v1/sharees?*search=replacement*').as('userSearch')
|
||||
cy.findByRole('searchbox')
|
||||
cy.findByLabelText(/Out of office replacement/)
|
||||
.should('be.visible')
|
||||
.as('userSearchBox')
|
||||
.click()
|
||||
|
|
@ -122,7 +122,8 @@ describe('Calendar: Availability', { testIsolation: true }, () => {
|
|||
.should('have.value', 'Vacation')
|
||||
cy.findByRole('textbox', { name: /Long absence/ })
|
||||
.should('have.value', 'Happy holidays!')
|
||||
cy.findByRole('combobox')
|
||||
cy.findByLabelText(/Out of office replacement/)
|
||||
.closest('.v-select')
|
||||
.should('contain.text', 'replacement-user')
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue