mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(test): Escape quotes in runOccCommand argument
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
2d839d767a
commit
6cbffb0b53
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ describe('Accessibility of Nextcloud theming colors', () => {
|
|||
before(() => {
|
||||
cy.createRandomUser().then(($user) => {
|
||||
// set user theme
|
||||
cy.runOccCommand(`user:setting -- '${$user.userId}' theming enabled-themes '["${theme}"]'`)
|
||||
cy.runOccCommand(`user:setting -- '${$user.userId}' theming enabled-themes '[\\"${theme}\\"]'`)
|
||||
cy.login($user)
|
||||
cy.visit('/')
|
||||
cy.injectAxe({ axeCorePath: 'node_modules/axe-core/axe.min.js' })
|
||||
|
|
|
|||
Loading…
Reference in a new issue