From e25560d3a6ea2510e6dd700067af1ea2dd1d4491 Mon Sep 17 00:00:00 2001 From: zhangjingwei Date: Tue, 31 Oct 2023 09:33:22 +0800 Subject: [PATCH] fix: fix instance stop e2e case Fix the stop e2e case of the instance, which always gets a failed result. Change-Id: I04be0a63157d6fb7493062e872170db17ff5043f --- test/e2e/integration/pages/compute/instance.spec.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/e2e/integration/pages/compute/instance.spec.js b/test/e2e/integration/pages/compute/instance.spec.js index 0a8fbb3d..4f2ae2b7 100644 --- a/test/e2e/integration/pages/compute/instance.spec.js +++ b/test/e2e/integration/pages/compute/instance.spec.js @@ -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', () => {