File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
selenium/test/oauth/with-sp-initiated Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ describe('An user without management tag', function () {
2929 if ( ! await homePage . isLoaded ( ) ) {
3030 throw new Error ( 'Failed to login' )
3131 }
32- const visible = await homePage . isWarningVisible ( )
33- assert . ok ( visible )
32+ assert . ok ( await homePage . isWarningVisible ( ) )
3433 } )
3534
3635 it ( 'should get "Not authorized" warning message and logout button but no login button' , async function ( ) {
@@ -47,7 +46,7 @@ describe('An user without management tag', function () {
4746 } )
4847
4948 it ( 'should get redirected to home page again without error message' , async function ( ) {
50- await driver . sleep ( 250 )
49+ await driver . sleep ( 250 )
5150 const visible = await homePage . isWarningVisible ( )
5251 assert . ok ( ! visible )
5352 } )
You can’t perform that action at this time.
0 commit comments