aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cypress/e2e/theming/navigation-bar-settings.cy.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress/e2e/theming/navigation-bar-settings.cy.ts b/cypress/e2e/theming/navigation-bar-settings.cy.ts
index b15b70b0e0f..a0af363f6b9 100644
--- a/cypress/e2e/theming/navigation-bar-settings.cy.ts
+++ b/cypress/e2e/theming/navigation-bar-settings.cy.ts
@@ -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')
})