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

...
1 Коміти
Автор SHA1 Повідомлення Дата
l0ng-ai eac50e0bfa test(e2e): wait for the fetched user list in the Git Log User filter test
The User menu opens with the authors known so far and fetches the full list in the
background, so the stubbed users only appear when the menu is opened again. The test
clicked a stubbed user on the first open and timed out on main.
2026-12-01 19:32:09 +08:00
+11
Переглянути файл
@@ -386,7 +386,18 @@ test("a click in the User filter shows only that user's commits, without check m
const item = (name: string) => page.getByRole("menuitem", { name, exact: true });
const logAuthors = () => page.evaluate(() => (window as { logAuthors?: unknown }).logAuthors);
// The menu opens with the users known so far and fetches the list in the background.
await user.click();
await page.keyboard.press("Escape");
await expect(async () => {
await user.click();
try {
await expect(item(alice)).toBeVisible({ timeout: 1000 });
} catch (e) {
await page.keyboard.press("Escape");
throw e;
}
}).toPass();
await item(alice).click();
await expect(user).toHaveText(`User: ${alice}`);
await expect.poll(logAuthors).toEqual([alice]);