mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 06:51:10 +03:00
e2e cleanup websockets
This commit is contained in:
parent
9b836abf1f
commit
2064309182
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user