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:
authorJulien Veyssier <eneiluj@posteo.net>2022-05-20 15:58:15 +0300
committerJulien Veyssier <eneiluj@posteo.net>2022-05-23 17:32:04 +0300
commitd3ae17cd34d7f7de0b0306383a3efe83705b0662 (patch)
tree4820c3d19dea006ffd6b7f715c78177f6298d014 /cypress
parent4d418aeebf9d717fa5174bbf0787d5252ce2c3a4 (diff)
adjust cypress tests to new markdown image target
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/integration/images.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cypress/integration/images.spec.js b/cypress/integration/images.spec.js
index d1fe42170..74efe74d4 100644
--- a/cypress/integration/images.spec.js
+++ b/cypress/integration/images.spec.js
@@ -82,7 +82,7 @@ const checkImage = (documentId, imageName, imageId, index) => {
cy.log('Check the image is visible and well formed', { documentId, imageName, imageId, index, encodedName })
return new Cypress.Promise((resolve, reject) => {
cy.get('#editor [data-component="image-view"]')
- .filter('[data-src="text://image?imageFileName=' + encodedName + '"]')
+ .filter('[data-src=".attachments.' + documentId + '/' + encodedName + '"]')
.find('.image__view') // wait for load finish
.within(($el) => {
// keep track that we have created this image in the attachment dir