Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 2 additions & 3 deletions __checks__/docs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { ChecklySitePage } from './poms/ChecklySitePage'

test('homepage', async ({ page }) => {
const checklyPage = new ChecklySitePage(page)
await checklyPage.goto('/docs')
await checklyPage.screenshot('docs')
expect(await page.title()).toEqual('Getting started with Checkly - Checkly Docs')
const response = await checklyPage.goto('/docs')
expect(response?.status()).toBe(200)
})
2 changes: 1 addition & 1 deletion __checks__/poms/ChecklySitePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class ChecklySitePage {
route.abort();
});
await this.page.setViewportSize(defaults.playwright.viewportSize)
await this.page.goto(defaults.baseURL + uri)
return await this.page.goto(defaults.baseURL + uri)
}

async screenshot (name: string) {
Expand Down
2 changes: 1 addition & 1 deletion __checks__/site.check-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { alertChannels } from './alertChannels'
export const checklyhqComGroup = new CheckGroup('checklyhq-docs-1', {
name: 'checklyhq.com/docs',
activated: true,
muted: false,
muted: true,
runtimeId: '2023.02',
frequency: Frequency.EVERY_1H,
locations: [
Expand Down
Loading
Loading