1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

check for 404s

This commit is contained in:
Daniel Sami 2019-03-04 11:53:35 -05:00
parent 6384e638f5
commit 0ec6d652f7

View File

@ -0,0 +1,22 @@
import {
AWX_E2E_URL
} from '../settings';
module.exports = {
before: (client) => {
client
.login()
.waitForAngular()
.resizeWindow(1200, 1000);
},
'Verify 404 page behavior': client => {
client.navigateTo(AWX_E2E_URL + '#/brokenurl', false);
client.useXpath().waitForElementVisible('//job-status-graph');
client.assert.urlContains('#/home');
},
after: client => {
client.end();
}
};