Skip to content

Commit

Permalink
wait longer for @action-step0 and @action-step1
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Nov 7, 2021
1 parent 7999b26 commit c9b187d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/source/tests/page-recipe/setup-page-recipe.ts
Expand Up @@ -108,9 +108,9 @@ export class SetupPageRecipe extends PageRecipe {
) {
if (!noPrvCreateOrgRule) {
if (usedPgpBefore) {
await settingsPage.waitAndClick('@action-step0foundkey-choose-manual-enter', { retryErrs: true });
await settingsPage.waitAndClick('@action-step0foundkey-choose-manual-enter', { timeout: 30000, retryErrs: true });
} else {
await settingsPage.waitAndClick('@action-step1easyormanual-choose-manual-enter', { retryErrs: true });
await settingsPage.waitAndClick('@action-step1easyormanual-choose-manual-enter', { timeout: 30000, retryErrs: true });
}
}
key = key || Config.key(keyTitle);
Expand Down Expand Up @@ -284,9 +284,9 @@ export class SetupPageRecipe extends PageRecipe {
private static createBegin = async (settingsPage: ControllablePage, keyTitle: string, { key, usedPgpBefore = false }: { key?: { passphrase: string }, usedPgpBefore?: boolean } = {}) => {
const k = key || Config.key(keyTitle);
if (usedPgpBefore) {
await settingsPage.waitAndClick('@action-step0foundkey-choose-manual-create');
await settingsPage.waitAndClick('@action-step0foundkey-choose-manual-create', { timeout: 30000 });
} else {
await settingsPage.waitAndClick('@action-step1easyormanual-choose-manual-create', { retryErrs: true });
await settingsPage.waitAndClick('@action-step1easyormanual-choose-manual-create', { timeout: 30000, retryErrs: true });
}
await settingsPage.waitAndType('@input-step2bmanualcreate-passphrase-1', k.passphrase);
await settingsPage.waitAndType('@input-step2bmanualcreate-passphrase-2', k.passphrase);
Expand Down

0 comments on commit c9b187d

Please sign in to comment.