Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 3655452

Browse files
committed
fix seo tests
1 parent 611be36 commit 3655452

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cypress/e2e/seo.cy.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ describe('canonical urls', () => {
88
it(`Should test page ${page} for correct canonical url`, () => {
99
cy.visit(page)
1010

11-
cy.get('link[rel="canonical"]')
12-
.invoke('attr', 'href')
13-
.should('contain.text', 'http')
11+
cy.get('link[rel="canonical"]').should('exist')
1412

1513
cy.get('meta[property="og:url"]')
1614
.invoke('attr', 'content')

0 commit comments

Comments
 (0)