Skip to content

Conversation

@panteliselef
Copy link
Member

@panteliselef panteliselef commented Aug 22, 2025

Description

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Summary by CodeRabbit

  • New Features
    • Pricing table and checkout now recognize and act on new "Start free trial" CTAs.
  • Bug Fixes
    • Redirects users who click a trial plan while signed out to sign in before checkout.
  • Tests
    • Added end-to-end tests for signed-out trial redirects and successful free trial start, including payment flow validation.
  • Chores
    • Added changeset entry for a patch release of the testing package.

@panteliselef panteliselef requested a review from aeliox August 22, 2025 12:46
@panteliselef panteliselef self-assigned this Aug 22, 2025
@changeset-bot
Copy link

changeset-bot bot commented Aug 22, 2025

🦋 Changeset detected

Latest commit: 3aaf59b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/testing Patch

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

@vercel
Copy link

vercel bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
clerk-js-sandbox Ready Ready Preview Comment Aug 25, 2025 1:07pm

@pkg-pr-new
Copy link

pkg-pr-new bot commented Aug 22, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@6607

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@6607

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@6607

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@6607

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@6607

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@6607

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@6607

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@6607

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@6607

@clerk/express

npm i https://pkg.pr.new/@clerk/express@6607

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@6607

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@6607

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@6607

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@6607

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@6607

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@6607

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@6607

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@6607

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@6607

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@6607

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@6607

@clerk/types

npm i https://pkg.pr.new/@clerk/types@6607

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@6607

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@6607

commit: 3aaf59b

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 22, 2025

📝 Walkthrough

Walkthrough

Adds a changeset entry for a patch release of @clerk/testing mentioning updates to click events for trial-related labels. Adds integration tests in integration/tests/pricing-table.test.ts: a test that clicking a trial plan when signed out redirects to sign-in, and a (duplicated in the diff) test that starts a free trial subscription for a new user including the checkout/payment flow and cleanup. Updates Playwright page objects: expands the checkout action button matcher to include "start" and extends pricing table CTA matching to include "Start N-day free trial".

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 7d10582 and 3aaf59b.

📒 Files selected for processing (1)
  • integration/tests/pricing-table.test.ts (2 hunks)
🧰 Additional context used
📓 Path-based instructions (8)
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{js,jsx,ts,tsx}: All code must pass ESLint checks with the project's configuration
Follow established naming conventions (PascalCase for components, camelCase for variables)
Maintain comprehensive JSDoc comments for public APIs
Use dynamic imports for optional features
All public APIs must be documented with JSDoc
Provide meaningful error messages to developers
Include error recovery suggestions where applicable
Log errors appropriately for debugging
Lazy load components and features when possible
Implement proper caching strategies
Use efficient data structures and algorithms
Profile and optimize critical paths
Validate all inputs and sanitize outputs
Implement proper logging with different levels

Files:

  • integration/tests/pricing-table.test.ts
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • integration/tests/pricing-table.test.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use proper TypeScript error types

**/*.{ts,tsx}: Always define explicit return types for functions, especially public APIs
Use proper type annotations for variables and parameters where inference isn't clear
Avoid any type - prefer unknown when type is uncertain, then narrow with type guards
Use interface for object shapes that might be extended
Use type for unions, primitives, and computed types
Prefer readonly properties for immutable data structures
Use private for internal implementation details
Use protected for inheritance hierarchies
Use public explicitly for clarity in public APIs
Prefer readonly for properties that shouldn't change after construction
Prefer composition and interfaces over deep inheritance chains
Use mixins for shared behavior across unrelated classes
Implement dependency injection for loose coupling
Let TypeScript infer when types are obvious
Use const assertions for literal types: as const
Use satisfies operator for type checking without widening
Use mapped types for transforming object types
Use conditional types for type-level logic
Leverage template literal types for string manipulation
Use ES6 imports/exports consistently
Use default exports sparingly, prefer named exports
Use type-only imports: import type { ... } from ...
No any types without justification
Proper error handling with typed errors
Consistent use of readonly for immutable data
Proper generic constraints
No unused type parameters
Proper use of utility types instead of manual type construction
Type-only imports where possible
Proper tree-shaking friendly exports
No circular dependencies
Efficient type computations (avoid deep recursion)

Files:

  • integration/tests/pricing-table.test.ts
integration/**

📄 CodeRabbit inference engine (.cursor/rules/global.mdc)

Framework integration templates and E2E tests should be placed under the integration/ directory

Files:

  • integration/tests/pricing-table.test.ts
integration/**/*

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

End-to-end tests and integration templates must be located in the 'integration/' directory.

Files:

  • integration/tests/pricing-table.test.ts
integration/**/*.{test,spec}.{js,ts}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Integration tests should use Playwright.

Files:

  • integration/tests/pricing-table.test.ts
**/*.{js,ts,tsx,jsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Support multiple Clerk environment variables (CLERK_, NEXT_PUBLIC_CLERK_, etc.) for configuration.

Files:

  • integration/tests/pricing-table.test.ts
**/*

⚙️ CodeRabbit configuration file

If there are no tests added or modified as part of the PR, please suggest that tests be added to cover the changes.

Files:

  • integration/tests/pricing-table.test.ts
🧬 Code graph analysis (1)
integration/tests/pricing-table.test.ts (1)
integration/testUtils/index.ts (1)
  • createTestUtils (24-86)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Formatting | Dedupe | Changeset
  • GitHub Check: Build Packages
  • GitHub Check: semgrep/ci
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (2)
integration/tests/pricing-table.test.ts (2)

66-76: Harden locator and parameterize trial-plan slug

To make this test more robust and avoid coupling to a hard-coded slug, I recommend:

• Use a role-based locator for the CTA button rather than a bare text match.
• Centralize the trial-plan slug in a constant (defaulting to “trial”) so you can override it via process.env in CI without touching the test.

Apply the following changes in integration/tests/pricing-table.test.ts:

  1. Near the top of the file (outside the test() blocks), add:
// Configure which plan has a trial in this test environment
const TRIAL_PLAN_SLUG = process.env.E2E_TRIAL_PLAN_SLUG ?? 'trial';
  1. Replace inside the “when signed out” test:
- await expect(u.po.page.getByText(/Start \d+-day free trial/i)).toBeVisible();
- await u.po.pricingTable.startCheckout({ planSlug: 'trial' });
+ await expect(
+   u.po.page.getByRole('button', { name: /Start \d+-day free trial/i })
+ ).toBeVisible();
+ await u.po.pricingTable.startCheckout({ planSlug: TRIAL_PLAN_SLUG });

- await expect(u.po.page.getByText('Checkout')).toBeHidden();
+ await expect(
+   u.po.page.getByText(/^Checkout$/)
+ ).toBeHidden();

• You’ll still need to ensure that your test‐backend seeds include a plan with whatever slug you supply via E2E_TRIAL_PLAN_SLUG (or fallback to “trial”).
• This is an optional refactor to reduce brittleness and make the slug configurable.


258-346: Verify existence or definition of TRIAL_PLAN_SLUG

I wasn’t able to locate a TRIAL_PLAN_SLUG constant anywhere in the repo. Before switching the hard-coded 'trial' slug to TRIAL_PLAN_SLUG, please:

  • Confirm that a constant (or exported variable) named TRIAL_PLAN_SLUG is defined and points to the correct plan slug.
  • Ensure the test file imports TRIAL_PLAN_SLUG from its defining module.
  • If no such constant exists yet, either add it in a shared constants file or continue using the literal 'trial'.

Without this, the change will break the trial E2E test.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (5)
packages/testing/src/playwright/unstable/page-objects/checkout.ts (1)

35-35: Tighten selector to avoid accidental matches (e.g., “Get started”) and cover saved-card flows

Using /start/i is broad and can match “Get started” or similar non-primary CTAs in the drawer. Also, some flows expose a “Pay with test card” primary action, which the current regex won’t click.

Refine the pattern to:

  • Explicitly match “Start … free trial” (and common variants).
  • Include “Pay with test card”.
  • Keep “Subscribe” and “Pay $” paths.

Apply this diff:

-      await self.root.getByRole('button', { name: /subscribe|pay\s\$|start/i }).click();
+      await self.root
+        .getByRole('button', {
+          // Match exact subscribe, "Pay $..", saved-card CTA, and common trial CTAs.
+          name: /^(?:subscribe|pay\s\$\d|pay with test card|start(?:\s+\d+(?:[-‑–—]\s*)?day)?\s+free\s+trial|start\s+trial)$/i,
+        })
+        .click();

If you prefer extra resilience over a single regex, I can provide a small helper that iterates a list of candidate locators and clicks the first visible one.

packages/testing/src/playwright/unstable/page-objects/pricingTable.ts (2)

64-65: Expose trial CTA via getPlanCardCTA for consistency

getPlanCardCTA doesn’t currently include the trial CTA text you support in startCheckout. This makes the API uneven and forces tests to reach for getByText when dealing with trials.

Apply this diff to include trial CTAs and keep the regex future-proof against dash variations:

-      return locators.footer(planSlug).getByRole('button', {
-        name: /get|switch|subscribe/i,
-      });
+      return locators.footer(planSlug).getByRole('button', {
+        name: /get|switch|subscribe|start(?:\s+\d+(?:[-‑–—]\s*)?day)?\s+free\s+trial/i,
+      });

77-81: Broaden trial CTA regex to handle dash variants and non-day-count labels

The pattern /Start \d+-day free trial/i will miss:

  • Non-breaking or en dash characters (‑, –).
  • Labels without a day count (e.g., “Start free trial”).
  • Extra whitespace.

Apply this diff:

-      const targetButtonName =
-        shouldSwitch === true
-          ? 'Switch to this plan'
-          : shouldSwitch === false
-            ? /subscribe/i
-            : /get|switch|subscribe|Start \d+-day free trial/i;
+      const targetButtonName =
+        shouldSwitch === true
+          ? 'Switch to this plan'
+          : shouldSwitch === false
+            ? /^subscribe$/i
+            : /get|switch|subscribe|start(?:\s+\d+(?:[-‑–—]\s*)?day)?\s+free\s+trial/i;

This keeps the intent while reducing flakiness from typographical or content changes.

integration/tests/pricing-table.test.ts (2)

66-76: Assert on the checkout root rather than free text for stability

Checking “Checkout” text can be brittle (copy changes, localization). Asserting on the drawer root is more robust.

Apply this diff:

-      await u.po.signIn.waitForMounted();
-      await expect(u.po.page.getByText('Checkout')).toBeHidden();
+      await u.po.signIn.waitForMounted();
+      await expect(u.po.checkout.root).toBeHidden();

258-306: Harden trial flow assertions and sequencing to reduce flakiness

A few tweaks will make this e2e much more resilient:

  • Prefer role-based queries for the CTA over raw text.
  • Make the trial CTA regex tolerant (with/without day count).
  • Wait for Stripe elements before filling the card.
  • Soften the success assertion to handle copy changes across environments.

Apply this diff:

-      // Verify trial plan is displayed with trial CTA
-      // Note: This assumes there's a plan with trial enabled in the test environment
-      // The button text should show "Start [X]-day free trial" for trial-enabled plans
-      await expect(u.po.page.getByText(/Start \d+-day free trial/i)).toBeVisible();
+      // Verify trial plan is displayed with a trial CTA
+      await expect(
+        u.po.page.getByRole('button', { name: /start(?:\s+\d+(?:[-‑–—]\s*)?day)?\s+free\s+trial/i }),
+      ).toBeVisible();

-      // Start checkout for a trial plan (assuming 'pro' has trial enabled in test env)
+      // Start checkout for a trial plan
       await u.po.pricingTable.startCheckout({ planSlug: 'trial' });
       await u.po.checkout.waitForMounted();

-      // Verify checkout shows trial details
-      await expect(u.po.checkout.root.getByText('Checkout')).toBeVisible();
-      await expect(u.po.checkout.root.getByText('Free trial')).toBeVisible();
-      await expect(u.po.checkout.root.getByText('Total Due after')).toBeVisible();
+      // Verify checkout shows trial details
+      await expect(u.po.checkout.root.getByRole('heading', { name: /^checkout$/i })).toBeVisible();
+      await expect(u.po.checkout.root.getByText(/free trial/i)).toBeVisible();
+      await expect(u.po.checkout.root.getByText(/total\s+due\s+after/i)).toBeVisible();

-      await u.po.checkout.fillTestCard();
+      await u.po.checkout.waitForStripeElements();
+      await u.po.checkout.fillTestCard();
       await u.po.checkout.clickPayOrSubscribe();

-      await expect(u.po.checkout.root.getByText(/Trial.*successfully.*started/i)).toBeVisible();
+      // Trial start confirmation text can vary; accept either "Success" or a trial-specific message
+      await expect(
+        u.po.checkout.root.getByText(/success|trial.*(success|started)/i).first(),
+      ).toBeVisible();
       await u.po.checkout.confirmAndContinue();

Optional: if test capacity allows, you could mark this trial test as serial to minimize any cross-test resource contention, but given the unique user it should be fine as-is.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 4e15e06 and d1ff833.

📒 Files selected for processing (4)
  • .changeset/thick-onions-strive.md (1 hunks)
  • integration/tests/pricing-table.test.ts (2 hunks)
  • packages/testing/src/playwright/unstable/page-objects/checkout.ts (1 hunks)
  • packages/testing/src/playwright/unstable/page-objects/pricingTable.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (11)
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{js,jsx,ts,tsx}: All code must pass ESLint checks with the project's configuration
Follow established naming conventions (PascalCase for components, camelCase for variables)
Maintain comprehensive JSDoc comments for public APIs
Use dynamic imports for optional features
All public APIs must be documented with JSDoc
Provide meaningful error messages to developers
Include error recovery suggestions where applicable
Log errors appropriately for debugging
Lazy load components and features when possible
Implement proper caching strategies
Use efficient data structures and algorithms
Profile and optimize critical paths
Validate all inputs and sanitize outputs
Implement proper logging with different levels

Files:

  • packages/testing/src/playwright/unstable/page-objects/pricingTable.ts
  • packages/testing/src/playwright/unstable/page-objects/checkout.ts
  • integration/tests/pricing-table.test.ts
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/testing/src/playwright/unstable/page-objects/pricingTable.ts
  • packages/testing/src/playwright/unstable/page-objects/checkout.ts
  • integration/tests/pricing-table.test.ts
packages/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

TypeScript is required for all packages

Files:

  • packages/testing/src/playwright/unstable/page-objects/pricingTable.ts
  • packages/testing/src/playwright/unstable/page-objects/checkout.ts
packages/**/*.{ts,tsx,d.ts}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Packages should export TypeScript types alongside runtime code

Files:

  • packages/testing/src/playwright/unstable/page-objects/pricingTable.ts
  • packages/testing/src/playwright/unstable/page-objects/checkout.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use proper TypeScript error types

**/*.{ts,tsx}: Always define explicit return types for functions, especially public APIs
Use proper type annotations for variables and parameters where inference isn't clear
Avoid any type - prefer unknown when type is uncertain, then narrow with type guards
Use interface for object shapes that might be extended
Use type for unions, primitives, and computed types
Prefer readonly properties for immutable data structures
Use private for internal implementation details
Use protected for inheritance hierarchies
Use public explicitly for clarity in public APIs
Prefer readonly for properties that shouldn't change after construction
Prefer composition and interfaces over deep inheritance chains
Use mixins for shared behavior across unrelated classes
Implement dependency injection for loose coupling
Let TypeScript infer when types are obvious
Use const assertions for literal types: as const
Use satisfies operator for type checking without widening
Use mapped types for transforming object types
Use conditional types for type-level logic
Leverage template literal types for string manipulation
Use ES6 imports/exports consistently
Use default exports sparingly, prefer named exports
Use type-only imports: import type { ... } from ...
No any types without justification
Proper error handling with typed errors
Consistent use of readonly for immutable data
Proper generic constraints
No unused type parameters
Proper use of utility types instead of manual type construction
Type-only imports where possible
Proper tree-shaking friendly exports
No circular dependencies
Efficient type computations (avoid deep recursion)

Files:

  • packages/testing/src/playwright/unstable/page-objects/pricingTable.ts
  • packages/testing/src/playwright/unstable/page-objects/checkout.ts
  • integration/tests/pricing-table.test.ts
**/*.{js,ts,tsx,jsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Support multiple Clerk environment variables (CLERK_, NEXT_PUBLIC_CLERK_, etc.) for configuration.

Files:

  • packages/testing/src/playwright/unstable/page-objects/pricingTable.ts
  • packages/testing/src/playwright/unstable/page-objects/checkout.ts
  • integration/tests/pricing-table.test.ts
**/*

⚙️ CodeRabbit configuration file

If there are no tests added or modified as part of the PR, please suggest that tests be added to cover the changes.

Files:

  • packages/testing/src/playwright/unstable/page-objects/pricingTable.ts
  • packages/testing/src/playwright/unstable/page-objects/checkout.ts
  • integration/tests/pricing-table.test.ts
.changeset/**

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Automated releases must use Changesets.

Files:

  • .changeset/thick-onions-strive.md
integration/**

📄 CodeRabbit inference engine (.cursor/rules/global.mdc)

Framework integration templates and E2E tests should be placed under the integration/ directory

Files:

  • integration/tests/pricing-table.test.ts
integration/**/*

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

End-to-end tests and integration templates must be located in the 'integration/' directory.

Files:

  • integration/tests/pricing-table.test.ts
integration/**/*.{test,spec}.{js,ts}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Integration tests should use Playwright.

Files:

  • integration/tests/pricing-table.test.ts
🧬 Code graph analysis (1)
integration/tests/pricing-table.test.ts (1)
integration/testUtils/index.ts (1)
  • createTestUtils (24-86)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: Build Packages
  • GitHub Check: Formatting | Dedupe | Changeset
  • GitHub Check: semgrep/ci
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (1)
.changeset/thick-onions-strive.md (1)

1-6: Changeset reads well and matches the scope of the PR

Patch bump for @clerk/testing with a concise description of the trial-related click support. No API changes implied. All good.

@panteliselef panteliselef merged commit 35a8cae into main Aug 25, 2025
39 checks passed
@panteliselef panteliselef deleted the elef/e2e-trials branch August 25, 2025 19:43
jacekradko pushed a commit that referenced this pull request Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants