Skip to content

Commit 3262074

Browse files
committed
(#9) added wait and migrated to startStep
1 parent fda0c2d commit 3262074

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

packages/e2e/e2e-suite/getRegionByText/check.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
const testCase = new TestCase("getRegionByText");
33
const url = "https://sakuli.io/e2e-pages/sandbox/#";
44
try {
5+
await testCase.startStep("Navigate to website");
56
await _navigateTo(url);
6-
await testCase.endOfStep("Navigate to website");
7+
await _wait(1000);
78

9+
await testCase.startStep("find 'Every'");
810
await _getRegionByText("Every").highlight(1);
9-
await testCase.endOfStep("find 'Every'");
1011

12+
await testCase.startStep("find 'element in one place'");
1113
await _getRegionByText("element in one place").highlight(1);
12-
await testCase.endOfStep("find 'element in one place'");
1314
} catch (e) {
1415
await testCase.handleException(e);
1516
} finally {

packages/e2e/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)