Skip to content

Commit dc7afee

Browse files
committed
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 <max@nextcloud.com>
1 parent 7bf45cf commit dc7afee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cypress/e2e/links.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('test link marks', function() {
3232
cy.getContent()
3333
.find('.widgets--list', { timeout: 10000 })
3434
.find('.widget-default--title')
35-
.contains('Nextcloud - Online collaboration platform')
35+
.contains('Nextcloud')
3636
})
3737

3838
it('does not show a link preview for links within a paragraph', () => {

0 commit comments

Comments
 (0)