diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-05-24 15:59:57 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-05-24 15:59:57 +0300 |
commit | c44751edc28faf397f3209b24d11647559fb3017 (patch) | |
tree | 44642f0994301427de4e1e56eb15c8fa5f9f6550 /cypress | |
parent | edfd0d20e27c7af7a000fc882ecf409df0a54524 (diff) |
manual backport of #2426, refs #2411, Improve image attachment management
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/integration/images.spec.js | 2 |
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 |