File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ test.describe('Test Hero Header Navigation Links', () => {
3131 ] ) ;
3232 await newPage . waitForLoadState ( 'load' ) ;
3333 // Accept bit.ly shortlink, docs.google.com, or forms.gle redirect destinations
34- expect ( newPage . url ( ) ) . toMatch ( / ^ ( h t t p s : \/ \/ ) ? ( b i t \. l y | d o c s \. g o o g l e \. c o m | f o r m s \. g l e ) / ) ;
34+ expect ( newPage . url ( ) ) . toMatch (
35+ / ^ ( h t t p s : \/ \/ ) ? ( b i t \. l y | d o c s \. g o o g l e \. c o m | f o r m s \. g l e ) /
36+ ) ;
3537 } ) ;
3638
3739 test ( 'Join ReactDevsKe link should open google form in new tab' , async ( {
@@ -45,6 +47,8 @@ test.describe('Test Hero Header Navigation Links', () => {
4547 ] ) ;
4648 await newPage . waitForLoadState ( 'load' ) ;
4749 // Accept bit.ly shortlink, docs.google.com, or forms.gle redirect destinations
48- expect ( newPage . url ( ) ) . toMatch ( / ^ ( h t t p s : \/ \/ ) ? ( b i t \. l y | d o c s \. g o o g l e \. c o m | f o r m s \. g l e ) / ) ;
50+ expect ( newPage . url ( ) ) . toMatch (
51+ / ^ ( h t t p s : \/ \/ ) ? ( b i t \. l y | d o c s \. g o o g l e \. c o m | f o r m s \. g l e ) /
52+ ) ;
4953 } ) ;
5054} ) ;
You can’t perform that action at this time.
0 commit comments