mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
* Set up E2E tests for staging * update * Update * Update .env.staging.example * Fix node modules * Fix * Attempt to swap local-studio-tests to use the new studio-tests directory * Omit storage state if running tests for local self host * Fix test:local command * Deprecate local-studio-test folder * Rename local studio tests GH action to E2E test
24 lines
733 B
JSON
24 lines
733 B
JSON
{
|
|
"name": "studio-tests",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"env:setup": "supabase start -x studio && supabase status --output json > keys.json && node generate-local-env.js",
|
|
"pretest:local": "pnpm env:setup",
|
|
"test:local": "pnpm env:setup && export ENV=local && export PROJECT_REF=default && playwright test",
|
|
"posttest:local": "supabase stop --no-backup",
|
|
"test:staging": "export ENV=staging && playwright test",
|
|
"clean": "rimraf node_modules"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.49.0",
|
|
"lodash": "^4.17.21",
|
|
"dotenv": "^16.4.7"
|
|
}
|
|
}
|