test: Fix instance attach interface && delete instance
1. Fix instance attach select network by name 2. Wait longer time for delete instance before delete volume type Change-Id: I5fd33305204480cbe51a6741f57edf3abe58bb5e
This commit is contained in:
parent
ddefcd7e6c
commit
e42756e47e
@ -179,7 +179,7 @@ describe('The Instance Page', () => {
|
|||||||
cy.tableSearchText(name)
|
cy.tableSearchText(name)
|
||||||
.clickActionInMoreSub('Attach Interface', 'Related Resources')
|
.clickActionInMoreSub('Attach Interface', 'Related Resources')
|
||||||
.wait(5000)
|
.wait(5000)
|
||||||
.formTableSelect('network')
|
.formTableSelectBySearch('network', networkName, 5000)
|
||||||
.clickModalActionSubmitButton();
|
.clickModalActionSubmitButton();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ describe('The Volume Page', () => {
|
|||||||
it('successfully delete related resources', () => {
|
it('successfully delete related resources', () => {
|
||||||
cy.deleteAll('image', imageName);
|
cy.deleteAll('image', imageName);
|
||||||
cy.deleteAll('volume', cloneVolumeName);
|
cy.deleteAll('volume', cloneVolumeName);
|
||||||
cy.forceDeleteInstance(instanceName).wait(60000);
|
cy.forceDeleteInstance(instanceName).wait(300000);
|
||||||
cy.deleteAll('network', networkName);
|
cy.deleteAll('network', networkName);
|
||||||
cy.loginAdmin().wait(10000);
|
cy.loginAdmin().wait(10000);
|
||||||
cy.deleteAll('volumeType', volumeTypeName);
|
cy.deleteAll('volumeType', volumeTypeName);
|
||||||
|
Loading…
Reference in New Issue
Block a user