Skip to content

Commit

Permalink
Use existing tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
reivaj05 committed Jun 15, 2022
1 parent 522a607 commit df03067
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions portal-ui/tests/operator/tenants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,9 @@ test("Create Tenant Without Audit Log", async (t) => {
});

test("Test describe section for PODs in new tenant", async (t) => {
const tenantName = `tenant-${Math.floor(Math.random() * 10000)}`;
const tenantName = "storage-lite";
await loginToOperator();
await createTenant(tenantName);
await t.wait(20000); // wait for PODs to be created
await testPODDescribe(tenantName);
await redirectToTenantsList();
await deleteTenant(tenantName);
});

const testPODDescribe = async (tenantName: string) => {
Expand Down Expand Up @@ -81,8 +77,6 @@ test("Test describe section for PVCs in new tenant", async (t) => {
const tenantName = `storage-lite`;
await loginToOperator();
await testPvcDescribe(tenantName);
await redirectToTenantsList();
await deleteTenant(tenantName);
});

const testPvcDescribe = async (tenantName: string) => {
Expand Down

0 comments on commit df03067

Please sign in to comment.