File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ import authSetup from "./auth.setup";
44test . beforeEach ( authSetup ) ;
55
66test . describe ( "Permission table" , ( ) => {
7+ test . beforeEach ( async ( { context } ) => {
8+ context . setDefaultTimeout ( 30000 ) ;
9+ } ) ;
710 test ( "Can add & remove webId subject" , async ( { page } ) => {
811 await page . getByText ( "README" ) . click ( ) ;
912
Original file line number Diff line number Diff line change @@ -4,12 +4,20 @@ import authSetup from './auth.setup';
44test . beforeEach ( authSetup ) ;
55
66test . describe ( "Resource Explorer" , ( ) => {
7+ test . beforeEach ( async ( { context } ) => {
8+ context . setDefaultTimeout ( 30000 ) ;
9+ } ) ;
10+
711 test ( "Can enter container" , async ( { page } ) => {
8- await page . getByRole ( "button" , { name : "View resources" } ) . click ( ) ;
9- const breadcrumsElement = page . locator ( "#explorer-breadcrumbs" ) ;
10- expect ( breadcrumsElement ) . toContainText ( "/home/profile/" ) ;
12+ await page . getByText ( 'profileView resources' ) . getByRole ( "button" , { name : "View resources" } ) . click ( ) ;
13+ await expect ( page . locator ( ".left-panel" ) . getByText ( "card" ) ) . toBeVisible ( {
14+ timeout : 30000 ,
15+ } ) ;
1116
12- expect ( page . getByText ( "card" ) ) . toBeVisible ( ) ;
17+ const breadcrumsElement = page . locator ( "#explorer-breadcrumbs" ) ;
18+ await expect ( breadcrumsElement ) . toContainText ( "/home/profile/" , {
19+ timeout : 30000 ,
20+ } ) ;
1321 } )
1422 test ( "Can go up a level" , async ( { page } ) => {
1523 await page . getByRole ( "button" , { name : "View resources" } ) . click ( ) ;
You can’t perform that action at this time.
0 commit comments