File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,9 @@ test("Create Tenant Without Audit Log", async (t) => {
44
44
} ) ;
45
45
46
46
test ( "Test describe section for PODs in new tenant" , async ( t ) => {
47
- const tenantName = `tenant- ${ Math . floor ( Math . random ( ) * 10000 ) } ` ;
47
+ const tenantName = "storage-lite" ;
48
48
await loginToOperator ( ) ;
49
- await createTenant ( tenantName ) ;
50
- await t . wait ( 20000 ) ; // wait for PODs to be created
51
49
await testPODDescribe ( tenantName ) ;
52
- await redirectToTenantsList ( ) ;
53
- await deleteTenant ( tenantName ) ;
54
50
} ) ;
55
51
56
52
const testPODDescribe = async ( tenantName : string ) => {
@@ -81,8 +77,6 @@ test("Test describe section for PVCs in new tenant", async (t) => {
81
77
const tenantName = `storage-lite` ;
82
78
await loginToOperator ( ) ;
83
79
await testPvcDescribe ( tenantName ) ;
84
- await redirectToTenantsList ( ) ;
85
- await deleteTenant ( tenantName ) ;
86
80
} ) ;
87
81
88
82
const testPvcDescribe = async ( tenantName : string ) => {
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export const goToVolumesInTenant = async (tenantName: string) => {
78
78
} ;
79
79
80
80
export const goToPodsInTenant = async ( tenantName : string ) => {
81
- await t . click ( `#list-tenant-${ tenantName } ` ) ;
81
+ await t . click ( `#list-tenant-${ tenantName } ` ) . wait ( 2000 ) ;
82
82
await t . click ( Selector ( `a[href$="/pods"]` ) ) ;
83
83
} ;
84
84
@@ -95,7 +95,7 @@ export const goToPodSection = async (index: number) => {
95
95
} ;
96
96
97
97
export const goToPvcsInTenant = async ( tenantName : string ) => {
98
- await t . click ( `#list-tenant-${ tenantName } ` ) ;
98
+ await t . click ( `#list-tenant-${ tenantName } ` ) . wait ( 2000 ) ;
99
99
await t . click ( Selector ( `a[href$="/volumes"]` ) ) ;
100
100
} ;
101
101
You can’t perform that action at this time.
0 commit comments