Skip to content

Commit 4fc7376

Browse files
committed
feat: default to dev-tools
chore: add .env.test.example~
1 parent 52dca56 commit 4fc7376

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

playwright/.env.test.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
SM_ENV=dev-tools # dev-tools, marketing-tools, platform, staging, production
2+
PLAYWRIGHT_ADMIN_USERNAME=first.last@prismic.io
3+
PLAYWRIGHT_ADMIN_PASSWORD=secret
4+
MANAGEV2_SECRET=foo
5+
MANAGEV2_AUDIENCE=bar
6+
PRISMIC_CLUSTER=baz

playwright/playwright.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ export const baseUrl = (() => {
3030
case "platform":
3131
return `https://${process.env.SM_ENV}-wroom.com/`;
3232
case "production":
33-
return "https://prismic.io";
33+
return "https://prismic.io/";
34+
case "staging":
35+
return "https://wroom.io/";
3436
default:
35-
return "https://wroom.io";
37+
return "https://dev-tools-wroom.com/";
3638
}
3739
})();
3840

0 commit comments

Comments
 (0)