Fix tests for cluster deletion

Adds wait for clusters page

Change-Id: I759488aa66a0e553b1bebbd8ce6a32f53bb12ad8
This commit is contained in:
Alexander Kurenyshev 2017-04-07 18:51:55 +03:00
parent 0908852087
commit 83eb1fa1ae
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ registerSuite(() => {
'Testing cluster list page'() {
return this.remote
.clickLinkByText('Environments')
.waitForCssSelector('.clusters-page', 2000)
.assertElementAppears('.clusters-page .clusterbox', 2000, 'Cluster container exists')
.assertElementExists('.create-cluster', 'Cluster creation control exists');
}