Browse Source

add instructions to run tests, and fix linting (for WebStorm)

Trent Larson 4 months ago
parent
commit
285f0a5e0e
  1. 6
      README.md
  2. 16
      test-playwright/.eslintrc.js

6
README.md

@ -43,7 +43,7 @@ npm run lint
* Run the correct build: * Run the correct build:
* Test * Staging
``` ```
# (Let's replace this with a .env.development or .env.staging file.) # (Let's replace this with a .env.development or .env.staging file.)
# The test BVC_MEETUPS_PROJECT_CLAIM_ID does not resolve as a URL because it's only in the test DB and the prod redirect won't redirect there. # The test BVC_MEETUPS_PROJECT_CLAIM_ID does not resolve as a URL because it's only in the test DB and the prod redirect won't redirect there.
@ -69,6 +69,10 @@ npm run build
## Tests ## Tests
### Automated
`npx playwright test`
### Register new user on test server ### Register new user on test server
On the test server, User #0 has rights to register others, so you can start On the test server, User #0 has rights to register others, so you can start

16
test-playwright/.eslintrc.js

@ -0,0 +1,16 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
requireConfigFile: false,
},
plugins: [],
rules: {
quotes: [
'error',
'single',
{ avoidEscape: true, allowTemplateLiterals: true },
],
},
};
Loading…
Cancel
Save