mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 11:26:39 +02:00
🐛 Remove data-testid usage from shape
This commit is contained in:
parent
dd220e228e
commit
35bcb082a0
2 changed files with 1 additions and 10 deletions
|
@ -168,7 +168,7 @@ export class WorkspacePage extends BaseWebSocketPage {
|
|||
async moveSelectionToShape(name) {
|
||||
await this.page.locator("rect.viewport-selrect").hover();
|
||||
await this.page.mouse.down();
|
||||
await this.viewport.getByTestId(name).first().hover({ force: true });
|
||||
await this.viewport.getByText(name).first().hover({ force: true });
|
||||
await this.page.mouse.up();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue