Skip to content

Commit 4f39f32

Browse files
less strict testing
1 parent 74b6aee commit 4f39f32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

__checks__/canEditDocs.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ const { expect, test } = require('@playwright/test')
44
test('nav to docs, then click edit link in docs', async ({ page }) => {
55
await page.goto('https://www.checklyhq.com/');
66
await page.getByRole('button', { name: 'Resources' }).first().click();
7-
await page.getByRole('link', { name: 'Documentation', exact: true }).click();
8-
await expect(page.getByRole('article')).toContainText('this page on Github');
7+
await page.getByRole('link', { name: 'Documentation'}).first().click();
8+
await expect(page.getByRole('article')).toContainText('on Github');
99
})

0 commit comments

Comments
 (0)