tests(Playwright): Full implementation of Page Object Models (POMs) to Playwright tests (#5608)
This commit is contained in:
1 parent
7b12dcf048
commit
d917e74e68
58 files changed
+1167
-496
No files matched your search
@@ -8,6 +8,7 @@ test.beforeEach(async ({ page }) => {
|
||||
|
||||
test('should display the bidirectional tool', async ({
|
||||
page,
|
||||
DOMOverlayPageObject,
|
||||
mainToolbarPageObject,
|
||||
viewportPageObject,
|
||||
}) => {
|
||||
@@ -16,7 +17,7 @@ test('should display the bidirectional tool', async ({
|
||||
{ x: 405, y: 277 },
|
||||
{ x: 515, y: 339 },
|
||||
]);
|
||||
await page.getByTestId('prompt-begin-tracking-yes-btn').click();
|
||||
await DOMOverlayPageObject.viewport.measurementTracking.confirm.click();
|
||||
await checkForScreenshot(
|
||||
page,
|
||||
page,
|
||||
|
||||
Reference in new issue
Block a user