mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
test(theming): Fix navigation bar tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
f380c6e190
commit
4f5f9ae98b
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ describe('Admin theming set default apps', () => {
|
|||
|
||||
it('Toggle the "use custom default app" switch', () => {
|
||||
cy.get('[data-cy-switch-default-app] input').should('not.be.checked')
|
||||
cy.get('[data-cy-switch-default-app] label').click()
|
||||
cy.get('[data-cy-switch-default-app] .checkbox-content').click()
|
||||
cy.get('[data-cy-switch-default-app] input').should('be.checked')
|
||||
})
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ describe('Admin theming set default apps', () => {
|
|||
cy.get('[data-cy-switch-default-app]').scrollIntoView()
|
||||
|
||||
cy.get('[data-cy-switch-default-app] input').should('be.checked')
|
||||
cy.get('[data-cy-switch-default-app] label').click()
|
||||
cy.get('[data-cy-switch-default-app] .checkbox-content').click()
|
||||
cy.get('[data-cy-switch-default-app] input').should('be.not.checked')
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue