mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 14:09:28 -02: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:
@@ -49,7 +49,10 @@ module.exports = {
|
|||||||
'create project': client => {
|
'create project': client => {
|
||||||
const projects = client.page.projects();
|
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.waitForElementVisible('div.spinny');
|
||||||
projects.waitForElementNotVisible('div.spinny');
|
projects.waitForElementNotVisible('div.spinny');
|
||||||
|
|
||||||
@@ -236,7 +239,10 @@ module.exports = {
|
|||||||
'create job template': client => {
|
'create job template': client => {
|
||||||
const templates = client.page.templates();
|
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.waitForElementVisible('div.spinny');
|
||||||
templates.waitForElementNotVisible('div.spinny');
|
templates.waitForElementNotVisible('div.spinny');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user