mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Remove data-testid usage from shape
This commit is contained in:
committed by
Alonso Torres
parent
dd220e228e
commit
35bcb082a0
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user