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 the context menu completely on screen and is not clipped for a point near the bottom edge of the screen', async ({
|
||||
page,
|
||||
DOMOverlayPageObject,
|
||||
mainToolbarPageObject,
|
||||
viewportPageObject,
|
||||
}) => {
|
||||
@@ -17,7 +18,7 @@ test('should the context menu completely on screen and is not clipped for a poin
|
||||
{ x: 0.55, y: 0.98 },
|
||||
]);
|
||||
|
||||
await page.getByTestId('prompt-begin-tracking-yes-btn').click();
|
||||
await DOMOverlayPageObject.viewport.measurementTracking.confirm.click();
|
||||
|
||||
await checkForScreenshot(page, page, screenShotPaths.contextMenu.preContextMenuNearBottomEdge);
|
||||
|
||||
|
||||
Reference in new issue
Block a user