From 3f57d5b70447e999e70135d5e72ae9aa26f69879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 29 Jun 2023 08:35:21 +0200 Subject: [PATCH] ci: Adapt selector to new vue lib naming MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- cypress/e2e/nodes/Links.spec.js | 2 +- cypress/e2e/share.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/nodes/Links.spec.js b/cypress/e2e/nodes/Links.spec.js index 11d8dabfc45..4c6c117f99e 100644 --- a/cypress/e2e/nodes/Links.spec.js +++ b/cypress/e2e/nodes/Links.spec.js @@ -27,7 +27,7 @@ describe('test link marks', function() { cy.getContent() .find('.widgets--list', { timeout: 10000 }) - .find('.widget-default--title') + .find('.widget-default--name') .contains('Nextcloud - Online collaboration platform') }) diff --git a/cypress/e2e/share.spec.js b/cypress/e2e/share.spec.js index 3d53f75e424..27ff7795549 100644 --- a/cypress/e2e/share.spec.js +++ b/cypress/e2e/share.spec.js @@ -129,7 +129,7 @@ describe('Open test.md in viewer', function() { cy.login(recipient) cy.visit('/apps/files') cy.openFile('test.md') - cy.getModal().find('.empty-content__title').should('contain', 'Failed to load file') + cy.getModal().find('.empty-content__name').should('contain', 'Failed to load file') cy.getModal().getContent().should('not.exist') }) })