mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
fix smoke test
This commit is contained in:
@@ -1,23 +1,23 @@
|
|||||||
const navigation = {
|
const navigation = {
|
||||||
selector: 'div[class^="at-Layout-side"]',
|
selector: 'div[class^="at-Layout-side"]',
|
||||||
elements: {
|
elements: {
|
||||||
expand: 'i[class$="fa-bars"]',
|
expand: 'i[class*="fa-bars"]',
|
||||||
dashboard: 'i[class$="fa-tachometer"]',
|
dashboard: 'i[class*="fa-tachometer"]',
|
||||||
jobs: 'i[class$="fa-spinner"]',
|
jobs: 'i[class*="fa-spinner"]',
|
||||||
schedules: 'i[class$="fa-calendar"]',
|
schedules: 'i[class*="fa-calendar"]',
|
||||||
portal: 'i[class$="fa-columns"]',
|
portal: 'i[class*="fa-columns"]',
|
||||||
projects: 'i[class$="fa-folder-open"]',
|
projects: 'i[class*="fa-folder-open"]',
|
||||||
credentials: 'i[class$="fa-key"]',
|
credentials: 'i[class*="fa-key"]',
|
||||||
credentialTypes: 'i[class$="fa-list-alt"]',
|
credentialTypes: 'i[class*="fa-list-alt"]',
|
||||||
inventories: 'i[class$="fa-sitemap"]',
|
inventories: 'i[class*="fa-sitemap"]',
|
||||||
templates: 'i[class$="fa-pencil-square-o"]',
|
templates: 'i[class*="fa-pencil-square-o"]',
|
||||||
organizations: 'i[class$="fa-building"]',
|
organizations: 'i[class*="fa-building"]',
|
||||||
users: 'i[class$="fa-user"]',
|
users: 'i[class*="fa-user"]',
|
||||||
teams: 'i[class$="fa-users"]',
|
teams: 'i[class*="fa-users"]',
|
||||||
inventoryScripts: 'i[class$="fa-code"]',
|
inventoryScripts: 'i[class*="fa-code"]',
|
||||||
notifications: 'i[class$="fa-bell"]',
|
notifications: 'i[class*="fa-bell"]',
|
||||||
managementJobs: 'i[class$="fa-wrench"]',
|
managementJobs: 'i[class*="fa-wrench"]',
|
||||||
instanceGroups: 'i[class$="fa-server"]',
|
instanceGroups: 'i[class*="fa-server"]',
|
||||||
settings: 'i[class*="fa-cog"]',
|
settings: 'i[class*="fa-cog"]',
|
||||||
settingsSubPane: '.at-SettingsSubPane',
|
settingsSubPane: '.at-SettingsSubPane',
|
||||||
settingsSubPaneSystem: 'a[href="#/settings/system"]',
|
settingsSubPaneSystem: 'a[href="#/settings/system"]',
|
||||||
|
|||||||
@@ -98,6 +98,12 @@ module.exports = {
|
|||||||
projects.waitForElementVisible('div.spinny', 120000);
|
projects.waitForElementVisible('div.spinny', 120000);
|
||||||
projects.waitForElementNotVisible('div.spinny');
|
projects.waitForElementNotVisible('div.spinny');
|
||||||
projects.expect.element('i[class$="success"]').visible;
|
projects.expect.element('i[class$="success"]').visible;
|
||||||
|
|
||||||
|
projects.expect.element('#project_cancel_btn').visible;
|
||||||
|
projects.click('#project_cancel_btn');
|
||||||
|
client.refresh();
|
||||||
|
client.waitForElementVisible('div.spinny');
|
||||||
|
client.waitForElementNotVisible('div.spinny');
|
||||||
},
|
},
|
||||||
'create inventory': client => {
|
'create inventory': client => {
|
||||||
const inventories = client.page.inventories();
|
const inventories = client.page.inventories();
|
||||||
|
|||||||
Reference in New Issue
Block a user