mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 11:56:37 +02:00
🐛 Fix group automatically selected after creation
This commit is contained in:
parent
38fa5be862
commit
c5bf2a775e
6 changed files with 246 additions and 2 deletions
|
@ -111,7 +111,11 @@ export class WorkspacePage extends BaseWebSocketPage {
|
|||
const layer = this.layers.getByTestId("layer-item").filter({ has: this.page.getByText(name) });
|
||||
await layer.getByRole("button").click(clickOptions);
|
||||
}
|
||||
|
||||
|
||||
async expectSelectedLayer(name) {
|
||||
await expect(this.layers.getByTestId("layer-row").filter({ has: this.page.getByText(name) })).toHaveClass(/selected/);
|
||||
}
|
||||
|
||||
async clickAssets(clickOptions = {}) {
|
||||
await this.assets.click(clickOptions);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue