From 0caa31dd7766e36dc3432d65b35b2d6106395558 Mon Sep 17 00:00:00 2001 From: "Jingwei.Zhang" Date: Tue, 12 Oct 2021 15:53:38 +0800 Subject: [PATCH] test: Fix waiting time after delete instance 1. Fix waiting time after delete instance 2. Todo: delete volume type created for volume case Change-Id: I522507cacf72df7745db5451effdb5ecaf689b8c --- test/e2e/integration/pages/storage/volume.spec.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/e2e/integration/pages/storage/volume.spec.js b/test/e2e/integration/pages/storage/volume.spec.js index fea97f51..55bfb7e2 100644 --- a/test/e2e/integration/pages/storage/volume.spec.js +++ b/test/e2e/integration/pages/storage/volume.spec.js @@ -187,9 +187,10 @@ describe('The Volume Page', () => { it('successfully delete related resources', () => { cy.deleteAll('image', imageName); cy.deleteAll('volume', cloneVolumeName); - cy.forceDeleteInstance(instanceName).wait(300000); + cy.forceDeleteInstance(instanceName).wait(120000); cy.deleteAll('network', networkName); - cy.loginAdmin().wait(10000); - cy.deleteAll('volumeType', volumeTypeName); + // TODO: delete volume type created for this case + // cy.loginAdmin().wait(10000); + // cy.deleteAll('volumeType', volumeTypeName); }); });