refactor(tests): update viewport page object usage to async and update all effected tests (#5927)
This commit is contained in:
1 parent
485f0d75d9
commit
2a728b244c
46 files changed
+240
-181
No files matched your search
@@ -13,7 +13,8 @@ test('should display the bidirectional tool', async ({
|
||||
viewportPageObject,
|
||||
}) => {
|
||||
await mainToolbarPageObject.measurementTools.bidirectional.click();
|
||||
await viewportPageObject.active.clickAt([
|
||||
const activeViewport = await viewportPageObject.active;
|
||||
await activeViewport.clickAt([
|
||||
{ x: 405, y: 277 },
|
||||
{ x: 515, y: 339 },
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user