From 7b5a74c6d2be70680d114fb098b91c78d69a6855 Mon Sep 17 00:00:00 2001 From: Abdelrahman Awad Date: Fri, 2 Jan 2026 17:21:15 +0200 Subject: [PATCH 1/2] test(vue): added latest required variant and optional canary variant test runs --- .../test-applications/vue-3/package.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/dev-packages/e2e-tests/test-applications/vue-3/package.json b/dev-packages/e2e-tests/test-applications/vue-3/package.json index 1dc469b50ca1..4ce4b9b4eff2 100644 --- a/dev-packages/e2e-tests/test-applications/vue-3/package.json +++ b/dev-packages/e2e-tests/test-applications/vue-3/package.json @@ -12,7 +12,9 @@ "type-check": "vue-tsc --build --force", "test": "playwright test", "test:build": "pnpm install && pnpm build", - "test:assert": "playwright test" + "test:assert": "playwright test", + "test:build-canary": "pnpm install && pnpm add vue@alpha && pnpm build", + "test:build-latest": "pnpm install && pnpm add vue@latest && pnpm build" }, "dependencies": { "@sentry/vue": "latest || *", @@ -36,5 +38,19 @@ }, "volta": { "extends": "../../package.json" + }, + "sentryTest": { + "variants": [ + { + "build-command": "pnpm test:build-latest", + "label": "vue-3 (latest)" + } + ], + "optionalVariants": [ + { + "build-command": "pnpm test:build-canary", + "label": "vue-3 (canary)" + } + ] } } From 9564669bd1fbb02627c1bb0249d855a1a154fdd9 Mon Sep 17 00:00:00 2001 From: Abdelrahman Awad Date: Fri, 2 Jan 2026 17:45:18 +0200 Subject: [PATCH 2/2] test: get true last tag and script version printing --- .../e2e-tests/test-applications/vue-3/package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-packages/e2e-tests/test-applications/vue-3/package.json b/dev-packages/e2e-tests/test-applications/vue-3/package.json index 4ce4b9b4eff2..603f2f0ffc31 100644 --- a/dev-packages/e2e-tests/test-applications/vue-3/package.json +++ b/dev-packages/e2e-tests/test-applications/vue-3/package.json @@ -12,9 +12,11 @@ "type-check": "vue-tsc --build --force", "test": "playwright test", "test:build": "pnpm install && pnpm build", - "test:assert": "playwright test", - "test:build-canary": "pnpm install && pnpm add vue@alpha && pnpm build", - "test:build-latest": "pnpm install && pnpm add vue@latest && pnpm build" + "test:assert": "pnpm test:print-version && playwright test", + "test:build-canary": "pnpm install && pnpm test:install-canary && pnpm build", + "test:build-latest": "pnpm install && pnpm add vue@latest && pnpm build", + "test:install-canary": "pnpm add vue@$(git ls-remote --tags --sort='v:refname' https://github.com/vuejs/core.git | tail -n1 | awk -F'/' '{print $NF}')", + "test:print-version": "node -p \"'Vue version: ' + require('vue/package.json').version\"" }, "dependencies": { "@sentry/vue": "latest || *",