Skip to content

Commit abbf600

Browse files
chore: generate
1 parent 33252a6 commit abbf600

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

packages/app/e2e/fixtures.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { seedProjects } from "./actions"
33
import { promptSelector } from "./selectors"
44
import { createSdk, dirSlug, getWorktree, sessionPath } from "./utils"
55

6-
76
export const settingsKey = "settings.v3"
87

98
type TestFixtures = {

packages/app/e2e/settings/settings.spec.ts

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
import { test, expect, settingsKey } from "../fixtures"
22
import { closeDialog, openSettings } from "../actions"
3-
import { settingsColorSchemeSelector, settingsFontSelector, settingsLanguageSelectSelector, settingsNotificationsAgentSelector, settingsNotificationsErrorsSelector, settingsNotificationsPermissionsSelector, settingsReleaseNotesSelector, settingsSoundsAgentSelector, settingsThemeSelector, settingsUpdatesStartupSelector } from "../selectors"
3+
import {
4+
settingsColorSchemeSelector,
5+
settingsFontSelector,
6+
settingsLanguageSelectSelector,
7+
settingsNotificationsAgentSelector,
8+
settingsNotificationsErrorsSelector,
9+
settingsNotificationsPermissionsSelector,
10+
settingsReleaseNotesSelector,
11+
settingsSoundsAgentSelector,
12+
settingsThemeSelector,
13+
settingsUpdatesStartupSelector,
14+
} from "../selectors"
415

516
test("smoke settings dialog opens, switches tabs, closes", async ({ page, gotoSession }) => {
617
await gotoSession()
@@ -14,7 +25,6 @@ test("smoke settings dialog opens, switches tabs, closes", async ({ page, gotoSe
1425
await closeDialog(page, dialog)
1526
})
1627

17-
1828
test("changing language updates settings labels", async ({ page, gotoSession }) => {
1929
await page.addInitScript(() => {
2030
localStorage.setItem("opencode.global.dat:language", JSON.stringify({ locale: "en" }))
@@ -98,7 +108,6 @@ test("changing theme persists in localStorage", async ({ page, gotoSession }) =>
98108
})
99109

100110
test("changing font persists in localStorage and updates CSS variable", async ({ page, gotoSession }) => {
101-
102111
await gotoSession()
103112

104113
const dialog = await openSettings(page)
@@ -156,7 +165,6 @@ test("toggling notification agent switch updates localStorage", async ({ page, g
156165
})
157166

158167
test("toggling notification permissions switch updates localStorage", async ({ page, gotoSession }) => {
159-
160168
await gotoSession()
161169

162170
const dialog = await openSettings(page)
@@ -207,7 +215,6 @@ test("toggling notification errors switch updates localStorage", async ({ page,
207215
})
208216

209217
test("changing sound agent selection persists in localStorage", async ({ page, gotoSession }) => {
210-
211218
await gotoSession()
212219

213220
const dialog = await openSettings(page)
@@ -228,7 +235,6 @@ test("changing sound agent selection persists in localStorage", async ({ page, g
228235
})
229236

230237
test("toggling updates startup switch updates localStorage", async ({ page, gotoSession }) => {
231-
232238
await gotoSession()
233239

234240
const dialog = await openSettings(page)
@@ -261,7 +267,6 @@ test("toggling updates startup switch updates localStorage", async ({ page, goto
261267
})
262268

263269
test("toggling release notes switch updates localStorage", async ({ page, gotoSession }) => {
264-
265270
await gotoSession()
266271

267272
const dialog = await openSettings(page)

0 commit comments

Comments
 (0)