diff --git a/integration/__tests__/cluster-pages.tests.ts b/integration/__tests__/cluster-pages.tests.ts index 5685c26fb9..a17f3b6d78 100644 --- a/integration/__tests__/cluster-pages.tests.ts +++ b/integration/__tests__/cluster-pages.tests.ts @@ -137,7 +137,7 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { ); it( - `should create the ${TEST_NAMESPACE} and a pod in the namespace`, + `should create the ${TEST_NAMESPACE} and a pod in the namespace and then remove that pod via the context menu`, async () => { await navigateToNamespaces(frame); await frame.click("button.add-button"); @@ -207,6 +207,10 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { await frame.click(".Dock .Button >> text='Create'"); await frame.waitForSelector(`.TableCell >> text=${testPodName}`); + await frame.click(".TableRow .TableCell.menu"); + await frame.click(".MenuItem >> text=Delete"); + await frame.click("button >> text=Remove"); + await frame.waitForSelector(`.TableCell >> text=${testPodName}`, { state: "detached" }); }, 10 * 60 * 1000, );