File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ test.describe.configure({ mode: 'parallel' });
66test . describe ( '/lp/ pages list' , async ( ) => {
77 test . skip ( ( { baseURL } ) => ! isProduction ( baseURL ) , 'for host with reverse-proxy only' ) ;
88
9- test ( `Check /lp/multiplatform default redirects` , async ( { page } ) => {
10- const targetUrl = 'https://kotlinlang.org/ multiplatform/' ;
9+ test ( `Check /lp/multiplatform default redirects` , async ( { page, baseURL } ) => {
10+ const targetUrl = ` ${ baseURL } / multiplatform/` ;
1111
1212 await page . goto ( '/lp/multiplatform' ) ;
1313 expect ( page . url ( ) ) . toEqual ( targetUrl ) ;
@@ -19,8 +19,8 @@ test.describe('/lp/ pages list', async () => {
1919 expect ( page . url ( ) ) . toEqual ( targetUrl ) ;
2020 } ) ;
2121
22- test ( `Check /lp/multiplatform case-studies redirect` , async ( { page } ) => {
23- const targetUrl = 'https://kotlinlang.org/ case-studies/?type=multiplatform' ;
22+ test ( `Check /lp/multiplatform case-studies redirect` , async ( { page, baseURL } ) => {
23+ const targetUrl = ` ${ baseURL } / case-studies/?type=multiplatform` ;
2424
2525 await page . goto ( '/lp/multiplatform/case-studies/' ) ;
2626 expect ( page . url ( ) ) . toEqual ( targetUrl ) ;
You can’t perform that action at this time.
0 commit comments