Merge "Fix random test failures for specific browser/screen combinations"
This commit is contained in:
commit
4afc3f60f7
|
@ -76,7 +76,8 @@ define([
|
|||
.type(name)
|
||||
// Enter
|
||||
.type('\uE007')
|
||||
.end();
|
||||
.end()
|
||||
.waitForElementDeletion('.rename-block input[type=text]', 2000);
|
||||
},
|
||||
discardChanges: function() {
|
||||
var self = this;
|
||||
|
|
|
@ -67,7 +67,8 @@ define([
|
|||
// Escape
|
||||
.type('\uE00C')
|
||||
.end()
|
||||
.assertElementNotExists(renameInputSelector, 'Rename control disappears')
|
||||
.assertElementDisappears(renameInputSelector, 'Rename control disappears')
|
||||
.assertElementAppears(nameSelector, 'Cluster name appears')
|
||||
.assertElementTextEquals(
|
||||
nameSelector,
|
||||
initialName,
|
||||
|
|
|
@ -71,11 +71,18 @@ define([
|
|||
})
|
||||
.end()
|
||||
// the following timeout as we have 0.5s transition time for role popover
|
||||
.sleep(600)
|
||||
.sleep(1000)
|
||||
.assertElementExists(
|
||||
'.role-block.mongo .popover .text-warning',
|
||||
'Role popover is opened and the role warning is shown in the popover'
|
||||
)
|
||||
// closing role popover by moving mouse
|
||||
.findByCssSelector('.page-title')
|
||||
.then(function(element) {
|
||||
return self.remote.moveMouseTo(element);
|
||||
})
|
||||
.end()
|
||||
.sleep(500)
|
||||
.then(function() {
|
||||
return clusterPage.checkNodeRoles(['Controller', 'Cinder']);
|
||||
})
|
||||
|
|
|
@ -97,7 +97,7 @@ define([
|
|||
.assertElementsExist('.node-list .node', 4, 'Search was reset')
|
||||
.assertElementNotExists(searchButtonSelector,
|
||||
'Search input is still shown after search reset')
|
||||
.clickByCssSelector('.node-list')
|
||||
.clickByCssSelector('.page-title')
|
||||
.assertElementExists(searchButtonSelector,
|
||||
'Empty search control is closed when clicking outside the input');
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue