From 2d7fb51f2dc703eeb165c8d3de246a4fc1b19a50 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 3 Sep 2023 21:21:02 +0200 Subject: [PATCH] fix(cypress): relax assertion on Nextcloud homepage title The title changed leading to breaking assertion in the link test. As the title may change again just look for the term `Nextcloud` - rather than the full title. Signed-off-by: Max --- cypress/e2e/nodes/Links.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/nodes/Links.spec.js b/cypress/e2e/nodes/Links.spec.js index 481b55867b4..a58ac07a291 100644 --- a/cypress/e2e/nodes/Links.spec.js +++ b/cypress/e2e/nodes/Links.spec.js @@ -28,7 +28,7 @@ describe('test link marks', function() { cy.getContent() .find('.widgets--list', { timeout: 10000 }) .find('.widget-default--title') - .contains('Nextcloud - Online collaboration platform') + .contains('Nextcloud') }) it('does not show a link preview for links within a paragraph', () => {