Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gparlakov committed Oct 20, 2024
1 parent 0112db6 commit 23b3bbe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ To auth a user we rely on the Storage where the session is stored. And the stora
This is the process for writing tests for auth user.
- import the desired user `test` from the fixture
- import the desired user `test` from the fixture
`import { expect, giverTest as test } from '../../../utils/fixtures'` for the `giver` user
```import { expect, giverTest as test } from '../../../utils/fixtures'``` for the `giver` user
- write your e2e tests ...
>[Examples] `e2e/tests/regression/campaign-application/campaign-application-giver.spec.ts` and `e2e/tests/regression/campaign-application/campaign-application-admin.spec.ts`
> [Examples] `e2e/tests/regression/campaign-application/campaign-application-giver.spec.ts` and `e2e/tests/regression/campaign-application/campaign-application-admin.spec.ts`
### Running
- [Locally] run the 'docker compose -d keycloak pg-db', the api (`yarn dev` in the api repo folder), the app (`yarn dev` in the frontend repo folder),
- in the `frontend/e2e` folder run `yarn e2e:tests --ui` to start the playwright visual testing tool
- in the `frontend/e2e` folder run `yarn e2e:tests --ui` to start the playwright visual testing tool

0 comments on commit 23b3bbe

Please sign in to comment.