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
This commit is contained in:
Jingwei.Zhang 2021-10-12 15:53:38 +08:00
parent e42756e47e
commit 0caa31dd77

View File

@ -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);
});
});