vease 1.48.0-rc.30 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,7 +32,7 @@ const test = test$1.extend({
32
32
  }, { auto: true }],
33
33
  autoScreenshot: [async ({ window, screenshotMask }, use, testInfo) => {
34
34
  await use(void 0);
35
- if (testInfo.status === testInfo.expectedStatus) await expect(window).toHaveScreenshot({ mask: screenshotMask.locators });
35
+ if (testInfo.status === testInfo.expectedStatus) await expect(window).toHaveScreenshot({ mask: [window.getByTestId("accountNavButton"), ...screenshotMask.locators] });
36
36
  }, { auto: true }]
37
37
  });
38
38
  //#endregion
@@ -27,6 +27,8 @@ const WAIT_TIMES = {
27
27
  };
28
28
  const PAGE_WIDTH = 1200;
29
29
  const PAGE_HEIGHT = 800;
30
+ const LOCALE = "en-US";
31
+ const TIMEZONE = "UTC";
30
32
  function findAppExecutable() {
31
33
  const appExecutablePath = process.env.DESKTOP_EXECUTABLE_PATH;
32
34
  if (appExecutablePath !== void 0 && appExecutablePath !== "" && fs.existsSync(appExecutablePath)) {
@@ -60,7 +62,8 @@ async function runDesktopBuild() {
60
62
  args: [
61
63
  "--no-sandbox",
62
64
  "--no-update",
63
- "--enable-unsafe-swiftshader"
65
+ "--enable-unsafe-swiftshader",
66
+ `--lang=${LOCALE}`
64
67
  ],
65
68
  executablePath: appInfo,
66
69
  timeout: 6e4,
@@ -145,6 +148,8 @@ async function navigateToApp(mode, browser) {
145
148
  width: PAGE_WIDTH,
146
149
  height: PAGE_HEIGHT
147
150
  },
151
+ locale: LOCALE,
152
+ timezoneId: TIMEZONE,
148
153
  permissions: ["clipboard-read", "clipboard-write"]
149
154
  });
150
155
  context.on("page", (newPage) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vease",
3
- "version": "1.48.0-rc.30",
3
+ "version": "1.48.0",
4
4
  "description": "Desktop and cloud software for data visualization",
5
5
  "keywords": [
6
6
  "Desktop",
@@ -68,7 +68,7 @@
68
68
  "test:e2e:browser": "npm run test:e2e:browser:chrome",
69
69
  "test:e2e:cloud": "npm run test:e2e -- --project=cloud",
70
70
  "test:e2e:desktop": "npm run test:e2e -- --project=desktop",
71
- "test:e2e:update_snapshots": "cross-env MAX_PIXEL_RATIO=0.0025 npm run test:e2e:browser:chrome -- --update-snapshots",
71
+ "test:e2e:update_snapshots": "npm run test:e2e:browser:chrome -- --update-snapshots=all",
72
72
  "typecheck": "cross-env MODE=BROWSER nuxi prepare && vue-tsc --noEmit -p tsconfig.json && tsc --noEmit -p .nuxt/tsconfig.server.json --noImplicitAny false && tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tests/e2e/tsconfig.json"
73
73
  },
74
74
  "dependencies": {
@@ -78,11 +78,11 @@
78
78
  "@ai-sdk/vue": "4.0.93",
79
79
  "@fontsource/michroma": "5.2.6",
80
80
  "@fontsource/roboto": "5.2.10",
81
- "@geode/opengeodeweb-back": "next",
82
- "@geode/opengeodeweb-front": "next",
83
- "@geode/opengeodeweb-viewer": "next",
84
- "@geode/vease-back": "next",
85
- "@geode/vease-viewer": "next",
81
+ "@geode/opengeodeweb-back": "latest",
82
+ "@geode/opengeodeweb-front": "latest",
83
+ "@geode/opengeodeweb-viewer": "latest",
84
+ "@geode/vease-back": "latest",
85
+ "@geode/vease-viewer": "latest",
86
86
  "@nuxtjs/mcp-toolkit": "0.18.1",
87
87
  "ai": "7.0.93",
88
88
  "bowser": "2.14.1",
@@ -70,7 +70,10 @@ const test = base.extend<TestFixtures, WorkerFixtures>({
70
70
  async ({ window, screenshotMask }, use, testInfo): Promise<void> => {
71
71
  await use(undefined);
72
72
  if (testInfo.status === testInfo.expectedStatus) {
73
- await expect(window).toHaveScreenshot({ mask: screenshotMask.locators });
73
+ // The account icon depends on login state (only cloud is logged in)
74
+ await expect(window).toHaveScreenshot({
75
+ mask: [window.getByTestId("accountNavButton"), ...screenshotMask.locators],
76
+ });
74
77
  }
75
78
  },
76
79
  { auto: true },
@@ -38,6 +38,9 @@ const WAIT_TIMES = {
38
38
 
39
39
  const PAGE_WIDTH = 1200;
40
40
  const PAGE_HEIGHT = 800;
41
+ // Fixed so number/date formatting matches the shared baselines on every OS
42
+ const LOCALE = "en-US";
43
+ const TIMEZONE = "UTC";
41
44
 
42
45
  function findAppExecutable(): string {
43
46
  const appExecutablePath = process.env.DESKTOP_EXECUTABLE_PATH;
@@ -90,7 +93,7 @@ async function runDesktopBuild(): Promise<{
90
93
  //oxlint-disable-next-line id-length
91
94
  process.env.CI = "e2e";
92
95
  const electronApp = await electron.launch({
93
- args: ["--no-sandbox", "--no-update", "--enable-unsafe-swiftshader"],
96
+ args: ["--no-sandbox", "--no-update", "--enable-unsafe-swiftshader", `--lang=${LOCALE}`],
94
97
  executablePath: appInfo,
95
98
  timeout: 60_000,
96
99
  env: {
@@ -201,6 +204,8 @@ async function navigateToApp(
201
204
  ): Promise<{ window: Page; cleanup: () => Promise<void> }> {
202
205
  const context = await browser.newContext({
203
206
  viewport: { width: PAGE_WIDTH, height: PAGE_HEIGHT },
207
+ locale: LOCALE,
208
+ timezoneId: TIMEZONE,
204
209
  permissions: ["clipboard-read", "clipboard-write"],
205
210
  });
206
211
  context.on("page", (newPage) => {