test(e2e): Initial Chrome Extension integration tests#8075
test(e2e): Initial Chrome Extension integration tests#8075
Conversation
🦋 Changeset detectedLatest commit: 02f099e The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (22)
📝 WalkthroughWalkthroughThis pull request introduces comprehensive Chrome extension integration support. It adds a new Chrome extension template (chrome-extension-vite) with Vite configuration, manifest.json, popup UI components, and background service worker scripts. A new Playwright configuration targets integration tests for the extension, which include basic sign-in flows, background service worker authentication verification, and sync-host functionality. Integration test fixtures and helpers enable extension loading and Clerk environment setup. Supporting infrastructure updates include a new integration preset, CI workflow matrix entry for chrome-extension tests, and corresponding npm and Turbo task definitions. 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
Comment |
Description
@clerk/chrome-extensioncovering basic sign-in/sign-out, background service worker auth state, andsyncHostsession sync from a host web appchrome-extension-vitetemplate (manifest v3 popup + background service worker) and Playwright config that launches Chromium with--load-extensionvia persistent contextsChecklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
Release Notes
New Features
Tests
Chores