mirror of
https://github.com/penpot/penpotqa.git
synced 2024-07-06 04:51:46 +00:00
test fix
This commit is contained in:
parent
e0b2078497
commit
52751a516f
|
@ -899,7 +899,7 @@ exports.MainPage = class MainPage extends BasePage {
|
|||
}
|
||||
|
||||
async duplicateLayerViaRightClick() {
|
||||
const layerSel = this.page.locator('div[class="viewport"] [id^="shape"]');
|
||||
const layerSel = this.page.locator('.viewport-selrect');
|
||||
await layerSel.last().click({ button: 'right', force: true });
|
||||
await this.duplicateOption.click();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user