Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Reis <vinicius.reis@nextcloud.com>2022-05-26 22:25:26 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-05-26 22:25:26 +0300
commit46ad51019984a08864a1f5a9500710418f17fe4b (patch)
treecdfdce16fbc0a11cc20831af94f74a7a8a55a1d9 /cypress/integration/workspace.spec.js
parent11bd79ad2a617137446b4377f7c0d9d67566eb6f (diff)
♻️ (#2345): make Callout as a component
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to 'cypress/integration/workspace.spec.js')
-rw-r--r--cypress/integration/workspace.spec.js4
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