File tree Expand file tree Collapse file tree 4 files changed +666
-5
lines changed Expand file tree Collapse file tree 4 files changed +666
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { ChecklySitePage } from './poms/ChecklySitePage'
33
44test ( 'homepage' , async ( { page } ) => {
55 const checklyPage = new ChecklySitePage ( page )
6- await checklyPage . goto ( '/docs' )
7- await checklyPage . screenshot ( 'docs' )
8- expect ( await page . title ( ) ) . toEqual ( 'Getting started with Checkly - Checkly Docs' )
6+ const response = await checklyPage . goto ( '/docs' )
7+ expect ( response ?. status ( ) ) . toBe ( 200 )
98} )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export class ChecklySitePage {
1515 route . abort ( ) ;
1616 } ) ;
1717 await this . page . setViewportSize ( defaults . playwright . viewportSize )
18- await this . page . goto ( defaults . baseURL + uri )
18+ return await this . page . goto ( defaults . baseURL + uri )
1919 }
2020
2121 async screenshot ( name : string ) {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { alertChannels } from './alertChannels'
44export const checklyhqComGroup = new CheckGroup ( 'checklyhq-docs-1' , {
55 name : 'checklyhq.com/docs' ,
66 activated : true ,
7- muted : false ,
7+ muted : true ,
88 runtimeId : '2023.02' ,
99 frequency : Frequency . EVERY_1H ,
1010 locations : [
You can’t perform that action at this time.
0 commit comments