Skip to content

Commit

Permalink
feat(e2e): 回放时,页面切换等待时间延长至6s
Browse files Browse the repository at this point in the history
re #80
  • Loading branch information
fanniehuang committed Apr 21, 2021
1 parent 67d339d commit de9356c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wxa-cli/src/tester/wxa-e2eTest/e2eTestCaseTpl.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ for (let j = 0; j < testCaseNameArr.length; j++) {
let lastPagePath = (lastRecordAction.page || lastRecordAction.appStartPage).split('?')[0]
if (page.path !== lastPagePath) {
// 和上一步的页面path不一致,说明页面切换了,需要等久一点让页面ready
await sleep(3000);
await sleep(6000);
}
break;
}
Expand Down

0 comments on commit de9356c

Please sign in to comment.