mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Merge pull request #1339 from jakemcdermott/use-navbar-in-smoke-test
use navbar when accessing project and template views
This commit is contained in:
commit
2b4e631838
@ -49,7 +49,10 @@ module.exports = {
|
||||
'create project': client => {
|
||||
const projects = client.page.projects();
|
||||
|
||||
projects.navigate();
|
||||
projects.section.navigation.waitForElementVisible('@projects');
|
||||
projects.section.navigation.expect.element('@projects').enabled;
|
||||
projects.section.navigation.click('@projects');
|
||||
|
||||
projects.waitForElementVisible('div.spinny');
|
||||
projects.waitForElementNotVisible('div.spinny');
|
||||
|
||||
@ -236,7 +239,10 @@ module.exports = {
|
||||
'create job template': client => {
|
||||
const templates = client.page.templates();
|
||||
|
||||
templates.navigate();
|
||||
templates.section.navigation.waitForElementVisible('@templates');
|
||||
templates.section.navigation.expect.element('@templates').enabled;
|
||||
templates.section.navigation.click('@templates');
|
||||
|
||||
templates.waitForElementVisible('div.spinny');
|
||||
templates.waitForElementNotVisible('div.spinny');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user