fix: fix instance stop e2e case

Fix the stop e2e case of the instance, which always gets a failed result.

Change-Id: I04be0a63157d6fb7493062e872170db17ff5043f
This commit is contained in:
zhangjingwei 2023-10-31 09:33:22 +08:00
parent f7ded6afc7
commit e25560d3a6

View File

@ -105,11 +105,7 @@ describe('The Instance Page', () => {
cy.tableSearchText(name)
.clickConfirmActionInMoreSub('Stop', 'Instance Status')
.tableSearchText(name)
.waitStatusTextByFresh('Shutoff')
.tableSearchText(name)
.selectFirst()
.clickHeaderButtonByTitle('Stop')
.checkDisableAction(2000);
.waitStatusTextByFresh('Shutoff');
});
it('successfully start', () => {