Add users CRUD e2e tests

This commit is contained in:
Elyézer Rezende
2019-01-31 15:16:01 -02:00
parent e23fb31a4a
commit 925c6543c4
3 changed files with 109 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
/* Utility function to wait for the working spinner to disappear. */
exports.command = function waitForSpinny () {
const selector = 'div.spinny';
this
.waitForElementVisible(selector)
.waitForElementNotVisible(selector);
return this;
};