Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Double the timeout of "Given I'm logged it"
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Nov 2, 2017
1 parent 8248bab commit ae8d5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/step_definitions/generic.step.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ defineSupportCode(({ Given, When, Then, setDefaultTimeout }) => {
browser.executeScript(`window.document.querySelector("${selectorClass} input, ${selectorClass} textarea").value = "";`);
});

Given('I\'m logged in as "{accountName}"', (accountName, callback) => {
Given('I\'m logged in as "{accountName}"', { timeout: 2 * defaultTimeout }, (accountName, callback) => {
browser.get(browser.params.baseURL);
waitForElemAndSendKeys('.passphrase input', accounts[accountName].passphrase);
waitForElemAndClickIt('.login-button', callback);
Expand Down

0 comments on commit ae8d5d1

Please sign in to comment.