From 2064309182d36e71f0421f5c2a86f68798e63932 Mon Sep 17 00:00:00 2001 From: Daniel Sami Date: Fri, 9 Aug 2019 11:32:26 -0400 Subject: [PATCH] e2e cleanup websockets --- awx/ui/test/e2e/tests/test-websockets.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/awx/ui/test/e2e/tests/test-websockets.js b/awx/ui/test/e2e/tests/test-websockets.js index fc27942ba2..7e83e8e39a 100644 --- a/awx/ui/test/e2e/tests/test-websockets.js +++ b/awx/ui/test/e2e/tests/test-websockets.js @@ -163,23 +163,6 @@ module.exports = { client.useXpath().expect.element(`${splitJt}${sparklineIcon}[1]${success}`) .to.be.present.before(AWX_E2E_TIMEOUT_ASYNC); }, - 'Test pending deletion of inventories': client => { - const uniqueID = uuid().substr(0, 8); - getInventorySource(`test-pending-delete-${uniqueID}`); - client - .useCss() - .navigateTo(`${AWX_E2E_URL}/#/inventories`, false) - .waitForElementVisible('.SmartSearch-input') - .clearValue('.SmartSearch-input') - .setValue('.SmartSearch-input', [`test-pending-delete-${uniqueID}`, client.Keys.ENTER]) - .pause(AWX_E2E_TIMEOUT_SHORT) // helps prevent flake - .findThenClick('.fa-trash-o', 'css') - .waitForElementVisible('#prompt_action_btn') - .pause(AWX_E2E_TIMEOUT_SHORT) // animation catches us sometimes - .click('#prompt_action_btn'); - client.useCss().expect.element('[ng-if="inventory.pending_deletion"]') - .to.be.visible.before(AWX_E2E_TIMEOUT_LONG); - }, after: client => { client.end(); }