Add web auth, infinite-scroll, agent admission and review fixes across agent/server/web
This commit is contained in:
@@ -107,6 +107,14 @@ test("events page", async ({ page }) => {
|
||||
await expect(page.getByRole("link", { name: /check_id=.*disk/ })).toBeVisible();
|
||||
});
|
||||
|
||||
test("events page loads the next cursor page on scroll", async ({ page }) => {
|
||||
await page.goto("/events");
|
||||
await expect(page.locator("tbody")).toContainText("disk extra 7");
|
||||
await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight));
|
||||
await expect(page.locator("tbody")).toContainText("disk extra 11");
|
||||
await expect(page).toHaveURL(/\/events$/);
|
||||
});
|
||||
|
||||
test("outbox page", async ({ page }) => {
|
||||
await page.goto("/outbox");
|
||||
await expect(page.locator("body")).toContainText("debug");
|
||||
|
||||
Reference in New Issue
Block a user