File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ export const createWorkspace = async (
60
60
await fillParameters ( page , richParameters , buildParameters ) ;
61
61
await page . getByTestId ( "form-submit" ) . click ( ) ;
62
62
63
- await expect ( page ) . toHaveURL ( "/@admin/" + name ) ;
63
+ // Workaround: OutdatedAgent lands at "http://localhost:3111/@admin/8d6225b7?resources=echo_dev"
64
+ // and this is also a correct location.
65
+ await page . waitForURL ( new RegExp ( "/@admin/" + name ) ) ;
64
66
65
67
await page . waitForSelector ( "*[data-testid='build-status'] >> text=Running" , {
66
68
state : "visible" ,
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ const agentVersion = "v0.27.0";
17
17
test . beforeEach ( async ( { page } ) => await beforeCoderTest ( page ) ) ;
18
18
19
19
test ( "ssh with agent " + agentVersion , async ( { page } ) => {
20
+ test . setTimeout ( 40_000 ) ; // This is a slow test, 20s may not be enough on Mac.
21
+
20
22
const token = randomUUID ( ) ;
21
23
const template = await createTemplate ( page , {
22
24
apply : [
You can’t perform that action at this time.
0 commit comments