Skip to content

Commit

Permalink
fix(cypress): relax assertion on Nextcloud homepage title
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
max-nextcloud committed Sep 3, 2023
1 parent d028d16 commit efed6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/nodes/Links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('test link marks', function() {
cy.getContent()
.find('.widgets--list', { timeout: 10000 })
.find('.widget-default--name')
.contains('Nextcloud - Online collaboration platform')
.contains('Nextcloud')
})

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

0 comments on commit efed6ef

Please sign in to comment.