Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
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 <[email protected]>
  • Loading branch information
max-nextcloud committed Sep 3, 2023
commit dc7afeebbaf074538aa531c6b37948790972d816
2 changes: 1 addition & 1 deletion cypress/e2e/links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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', () => {
Expand Down