File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ describe("login", () => {
35
35
// otherwise if it doesn't exist, it will create it
36
36
// hence the name maybeUpdatedCookies
37
37
const maybeUpdatedCookies = createCookieIfDoesntExist ( cookies , cookieToStore )
38
- console . log ( "here are the cookies" , maybeUpdatedCookies )
39
38
40
39
context = await browser . newContext ( {
41
40
storageState : { cookies : maybeUpdatedCookies } ,
@@ -97,8 +96,8 @@ describe("login", () => {
97
96
// In case the page takes a long time to load
98
97
await page . goto ( process . env . CODE_SERVER_ADDRESS || "http://localhost:8080" , { waitUntil : "domcontentloaded" } )
99
98
100
- // Click the Application menu
101
- await page . click ( ".menubar-menu-button[title='Application Menu'] " )
99
+ // Click the Home menu
100
+ await page . click ( ".home-bar ul[aria-label='Home'] li " )
102
101
// See the Go Home button
103
102
const goHomeButton = "a.action-menu-item span[aria-label='Go Home']"
104
103
expect ( await page . isVisible ( goHomeButton ) )
You can’t perform that action at this time.
0 commit comments