Skip to content

Commit

Permalink
increase waiting time for login method (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
tudorgabriel committed Apr 11, 2024
1 parent 9ec0ead commit a6800e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wdio/test/utils/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function getSelector(selector: string) {
}

export async function uploadFile(fileName: string) {
await browser.pause(1000);
await browser.pause(2500);
const file = await $('input[type="file"]');
const filePath = `./wdio/test/utils/${fileName}`;
const remoteFilePath = await browser.uploadFile(filePath);
Expand Down
2 changes: 1 addition & 1 deletion wdio/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const config: Options.Testrunner = {
exclude: [],

maxInstances: 4,
specFileRetries: 1,
specFileRetries: 2,
specFileRetriesDeferred: true,

capabilities: [
Expand Down

0 comments on commit a6800e9

Please sign in to comment.