Skip to content

Commit 5ecbe1d

Browse files
committed
ci: added example .env for local testing
1 parent f000384 commit 5ecbe1d

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.env.example

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copy to `.env` in the free plugin root and fill in values:
2+
# cp .env.example .env
3+
#
4+
# Used by Playwright e2e (free + premium configs load this file).
5+
6+
# Local by Flywheel / local WP URL (use https if the site redirects to SSL)
7+
WP_BASE_URL=https://local.local
8+
9+
# Relative path where Playwright stores auth cookies after global setup
10+
WP_AUTH_STORAGE=wp-auth.json
11+
12+
WP_USERNAME=admin
13+
WP_PASSWORD=password
14+
15+
# Plugin folder + main PHP file under wp-content/plugins/
16+
# Free/local example: Stackable/plugin
17+
# Premium CI often uses: Stackable-Premium/plugin
18+
STACKABLE_SLUG=Stackable/plugin
19+
20+
# Optional. Only needed for existing-blocks.spec.ts (CI creates this post).
21+
# Leave unset locally to skip that test.
22+
# WP_TEST_POSTID=
23+
24+
# Premium e2e only — Freemius license for activate-license setup
25+
# WP_STK_LICENSE=

0 commit comments

Comments
 (0)