Skip to content

[Feature]: Native Clerk Authentication Support for Automated UI Testing #32

Description

@shuonan-wq

Summary

Currently, integrating Clerk authentication within TestSprite's automated UI testing flows requires manual workarounds. To streamline the testing experience for modern Next.js applications, we need to implement a native "Clerk-aware" authentication handler. This will allow TestSprite to seamlessly manage Clerk sessions, handling JWT injection and session persistence as outlined in Clerk’s official testing protocols.

Motivation

Industry Standard Alignment: Many startups and modern web apps use Next.js + Clerk. Providing native support makes TestSprite the go-to solution for this high-growth ecosystem.

Frictionless Onboarding: Users should be able to provide test credentials and have the platform automatically handle Clerk's specific handshake/redirection logic without UI failures.

Reliable Test Execution: Eliminating "Authorization" false-negatives in UI tests ensures that the test results accurately reflect application stability rather than authentication hurdles.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature request.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions