Merge "Restore workflow check" into stable/newton

This commit is contained in:
Jenkins 2017-01-18 10:31:48 +00:00 committed by Gerrit Code Review
commit e1b0221fff
1 changed files with 5 additions and 7 deletions

View File

@ -158,13 +158,11 @@ registerSuite(() => {
)
.then(() => modal.clickFooterButton('Run Workflow'))
.waitForElementDeletion('.confirmation-question', 5000)
// FIXME(jkirnosova): the following check should be restored after
// merging of https://review.openstack.org/#/c/409829/
//.assertElementContainsText(
// '.modal-body',
// 'Deployment tasks not found for',
// 'Workflow can not be started because it contains no deployment tasks'
//)
.assertElementContainsText(
'.modal-body',
'There are no deployment tasks for graph type',
'Workflow can not be started because it contains no deployment tasks'
)
.then(() => modal.clickFooterButton('Close'))
.then(() => modal.waitToClose())
.clickByCssSelector('.actions-panel .dropdown button.dropdown-toggle')