mirror of
https://github.com/maputnik/editor.git
synced 2026-07-09 23:47:25 +00:00
improve abstraction
This commit is contained in:
@@ -342,7 +342,7 @@ describe("layers list", () => {
|
||||
await then(header).shouldBeVisible();
|
||||
|
||||
// Scroll the layer list container
|
||||
await get.elementByTestId("layer-list").evaluate((el) => el.scrollTo(0, el.scrollHeight));
|
||||
await when.scrollToBottom(get.elementByTestId("layer-list"));
|
||||
await when.wait(200);
|
||||
await then(header).shouldBeVisible();
|
||||
await then(get.elementByTestId("layer-list:add-layer")).shouldBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user