diff options
author | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-05-26 22:25:26 +0300 |
---|---|---|
committer | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-05-26 22:25:26 +0300 |
commit | 46ad51019984a08864a1f5a9500710418f17fe4b (patch) | |
tree | cdfdce16fbc0a11cc20831af94f74a7a8a55a1d9 /cypress | |
parent | 11bd79ad2a617137446b4377f7c0d9d67566eb6f (diff) |
♻️ (#2345): make Callout as a component
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/integration/workspace.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress/integration/workspace.spec.js b/cypress/integration/workspace.spec.js index b1ee8cf09..1983b7b93 100644 --- a/cypress/integration/workspace.spec.js +++ b/cypress/integration/workspace.spec.js @@ -191,7 +191,7 @@ describe('Workspace', function() { .click() .then(() => { // check content - cy.get(`.ProseMirror .callout.callout-${type}`) + cy.get(`.ProseMirror .callout.callout--${type}`) .should('contain', 'Callout') // disable @@ -216,7 +216,7 @@ describe('Workspace', function() { const actionName = `callout-${type}` return getSubmenuItem('callouts', actionName) .click() - .then(() => cy.get(`.ProseMirror .callout.callout-${type}`)) + .then(() => cy.get(`.ProseMirror .callout.callout--${type}`)) .should('contain', 'Callout') .then(() => { last = type |