File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ const { cleanupResources } = require('./utils/fileHelper')
66// default timeout (in milliseconds)
77setDefaultTimeout ( config . timeout * 1000 )
88
9+
910// launch the browser
1011BeforeAll ( async function ( ) {
1112 global . browser = await chromium . launch ( {
Original file line number Diff line number Diff line change @@ -17,14 +17,13 @@ Given(
1717)
1818
1919Given ( 'user {string} has logged in' , async function ( user ) {
20+ // Listen for all console logs
21+ page . on ( 'console' , msg => console . log ( msg . text ( ) ) ) ;
2022 await ocis . navigateToLoginPage ( )
2123 const { username, password } = getUserCredentials ( user )
2224 await page . waitForTimeout ( 2000 )
2325 await ocis . login ( username , password )
2426 await expect ( page . locator ( ocis . filesContainerSelector ) ) . toBeVisible ( )
25- await expect ( page . locator ( '#files-space-table' ) ) . toBeVisible ( )
26-
27- console . error ( await page . locator ( '#files-space-table' ) . innerHTML ( ) )
2827} )
2928
3029When (
You can’t perform that action at this time.
0 commit comments