Порівняти коміти

...
1 Коміти
Автор SHA1 Повідомлення Дата
l0ng-ai cd2b62c8b5 test(e2e): wait for the start-up splash in the workbench fixture
The splash covers the page and swallows raw mouse presses until it has faded
out. Only one spec waited for it, so the tool window resize test sometimes
pressed on the splash instead of the gap (3 of 15 runs locally). The workbench
fixture now waits for it to be removed.
2026-11-12 05:01:36 +08:00
2 змінених файлів з 2 додано та 2 видалено

No files matched your search

+2
Переглянути файл
@@ -16,6 +16,8 @@ export const test = base.extend<{ workbench: Page }>({
await page.goto("/");
await expect(page.getByRole("tree", { name: "Project" })).toBeVisible();
await expect(page.getByRole("treeitem", { name: /acme-api/ })).toBeVisible();
// The start-up splash swallows raw mouse presses until it has faded out.
await expect(page.locator("#splash")).toHaveCount(0);
await provide(page);
expect(errors, "uncaught page errors").toEqual([]);
},
-2
Переглянути файл
@@ -78,8 +78,6 @@ const settle = (page: Page) =>
page.evaluate(() => new Promise((done) => requestAnimationFrame(() => requestAnimationFrame(done))));
async function fileRow(page: Page) {
// The start-up splash swallows raw mouse presses until it has faded out.
await expect(page.locator("#splash")).toHaveCount(0);
const file = page.getByRole("tree", { name: "Project" }).getByRole("treeitem", { name: "settings.gradle.kts" });
await file.scrollIntoViewIfNeeded();
const content = file.locator("[data-project-path]");