Skip to content

Commit

Permalink
Use preview keychain for e2e test on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JunichiSugiura committed Aug 13, 2024
1 parent 0fd0796 commit 7ff25e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/starknet-react-next/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineConfig, devices } from "@playwright/test";
import { KEYCHAIN_URL } from "components/providers/StarknetProvider";

export default defineConfig({
testDir: "./tests",
Expand All @@ -7,7 +8,7 @@ export default defineConfig({
retries: process.env.CI ? 2 : 0,
reporter: process.env.CI ? "dot" : "list",
use: {
baseURL: process.env.CI ? "" : "http://localhost:3002",
baseURL: process.env.CI ? KEYCHAIN_URL : "http://localhost:3002",
trace: "on-first-retry",
},
projects: [
Expand Down

0 comments on commit 7ff25e6

Please sign in to comment.