feat: implement local authentication flow and update related tests
This commit is contained in:
@@ -3,8 +3,13 @@
|
||||
|
||||
/// <reference types="cypress" />
|
||||
|
||||
import { addClerkCommands } from "@clerk/testing/cypress";
|
||||
|
||||
addClerkCommands({ Cypress, cy });
|
||||
// Next.js hydration mismatch can happen non-deterministically in CI/dev mode.
|
||||
// Ignore this specific runtime error so E2E assertions can continue.
|
||||
Cypress.on("uncaught:exception", (err) => {
|
||||
if (err.message?.includes("Hydration failed")) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
||||
import "./commands";
|
||||
|
||||
Reference in New Issue
Block a user