mirror of
https://github.com/supabase/supabase.git
synced 2026-07-03 10:14:22 +08:00
* initial commit for testing the github action. * Improvements to the Github action. * Add docker caching. * Fix an issue in the github action. * Another fix for the action. * Just delete the db after the tests. * Add a supabase app to the playwright-tests. * Delete .env.testing. * Remove the docker image caching from the Playwright github action. * Add a README.md. * Add an example test for the table editor. * Ignore the generated keys.json. * Add commands for running and writing tests. * Remove Auth tests. * Only show the react-query tool when not in test mode. * Add data-testids to the buttons and use them in the test. * Handle a case where SUPABASE_URL isn't defined. * Fix the button test id. * Remove some dependency. * Try setting a timeout for an action. * Add timeout to another action. * Add some timeouts before the save button. * Add some timeout before clicking save. * Enable the video recording only during local testing. * Minor fixes. * Expand the README.
22 lines
669 B
JSON
22 lines
669 B
JSON
{
|
|
"name": "playwright-tests",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"env:setup": "supabase start -x studio && supabase status --output json > keys.json && node scripts/generate-env.js",
|
|
"pretest": "npm run env:setup",
|
|
"test": "playwright test",
|
|
"posttest": "supabase stop --no-backup",
|
|
"codegen:setup": "npm run env:setup && NODE_ENV=test npm --prefix ../apps/studio run dev",
|
|
"codegen": "playwright codegen http://localhost:8082/project/default"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.41.2",
|
|
"@types/node": "^20.11.16"
|
|
}
|
|
}
|