File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/qwik/src/core/shared/utils Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1- import { isDev , isServer } from '@qwik.dev/core' ;
1+ import { isDev , isServer } from '@qwik.dev/core/build ' ;
22import { throwErrorAndStop } from './log' ;
33import type { ValueOrPromise } from './types' ;
44
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ function tests() {
8686
8787 /*********** Go to Dashboard settings, shouldn't redirect if signed in ***********/
8888 await page . locator ( '[data-test-link="dashboard-settings"]' ) . click ( ) ;
89+ await page . waitForURL ( "/qwikrouter-test/dashboard/settings/" ) ;
8990 await assertPage ( ctx , {
9091 pathname : "/qwikrouter-test/dashboard/settings/" ,
9192 title : "Dashboard Settings - Qwik" ,
@@ -95,6 +96,7 @@ function tests() {
9596
9697 /*********** Sign out ***********/
9798 await page . locator ( '[data-test-link="dashboard-sign-out"]' ) . click ( ) ;
99+ await page . waitForURL ( "/qwikrouter-test/sign-in/" ) ;
98100 await assertPage ( ctx , {
99101 pathname : "/qwikrouter-test/sign-in/" ,
100102 } ) ;
You can’t perform that action at this time.
0 commit comments