File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 1- import { PASSWORD } from "../utils/constants"
21import { describe , test , expect } from "./baseFixture"
32
4- describe ( "logout" , false , ( ) => {
5- test ( "should be able login and logout" , async ( { codeServerPage } ) => {
6- // Type in password
7- await codeServerPage . page . fill ( ".password" , PASSWORD )
8- // Click the submit button and login
9- await codeServerPage . page . click ( ".submit" )
10- await codeServerPage . page . waitForLoadState ( "networkidle" )
11- // We do this because occassionally code-server doesn't load on Firefox
12- // but loads if you reload once or twice
13- await codeServerPage . reloadUntilEditorIsReady ( )
14- // Make sure the editor actually loaded
15- expect ( await codeServerPage . isEditorVisible ( ) ) . toBe ( true )
16-
3+ describe ( "logout" , true , ( ) => {
4+ test ( "should be able logout" , async ( { codeServerPage } ) => {
175 // Click the Application menu
186 await codeServerPage . page . click ( "[aria-label='Application Menu']" )
197
You can’t perform that action at this time.
0 commit comments