Disable auto-update setting & settings page has scroll shortcuts (#590)
Fixes https://github.com/dyad-sh/dyad/issues/561
This commit is contained in:
15
e2e-tests/auto_update.spec.ts
Normal file
15
e2e-tests/auto_update.spec.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { expect } from "@playwright/test";
|
||||
import { test } from "./helpers/test_helper";
|
||||
|
||||
test("auto update - disable and enable", async ({ po }) => {
|
||||
await po.goToSettingsTab();
|
||||
|
||||
await po.toggleAutoUpdate();
|
||||
await expect(
|
||||
po.page.getByRole("button", { name: "Restart Dyad" }),
|
||||
).toBeVisible();
|
||||
await po.snapshotSettings();
|
||||
|
||||
await po.toggleAutoUpdate();
|
||||
await po.snapshotSettings();
|
||||
});
|
||||
Reference in New Issue
Block a user