1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00

update project list selectors

This commit is contained in:
John Mitchell 2018-10-17 14:30:13 -04:00
parent d61cd519d7
commit 89344c2eee
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94
2 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ module.exports = {
}
},
list: {
selector: '.Panel',
selector: '.at-Panel',
elements: {
badge: 'span[class~="badge"]',
title: 'div[class="List-titleText"]',

View File

@ -511,11 +511,11 @@ module.exports = {
const itemRow = `#projects_table tr[id="${data.project.id}"]`;
const itemName = `${itemRow} td[class*="name-"] a`;
client.expect.element('div[class^="Panel"] smart-search').visible;
client.expect.element('div[class^="Panel"] smart-search input').enabled;
client.expect.element('div[class^="at-Panel"] smart-search').visible;
client.expect.element('div[class^="at-Panel"] smart-search input').enabled;
client.sendKeys('div[class^="Panel"] smart-search input', `id:>${data.project.id - 1} id:<${data.project.id + 1}`);
client.sendKeys('div[class^="Panel"] smart-search input', client.Keys.ENTER);
client.sendKeys('div[class^="at-Panel"] smart-search input', `id:>${data.project.id - 1} id:<${data.project.id + 1}`);
client.sendKeys('div[class^="at-Panel"] smart-search input', client.Keys.ENTER);
client.expect.element('div.spinny').visible;
client.expect.element('div.spinny').not.visible;