linagora-rse
Version:
22 lines (15 loc) • 476 B
JavaScript
;
module.exports = function() {
this.When('I log in to OpenPaas with "$account" account', function(account) {
return this.logIn(this.USERS[account].email);
});
this.When('I log out from OpenPaas', function() {
return this.logoutAndGoToLoginPage();
});
this.When('I go on "$url"', function(url) {
return browser.get(url);
});
this.When('I wait for the url redirection', function() {
return this.waitUrlToBeRedirected();
});
};