Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nfour committed Aug 15, 2024
1 parent d5add12 commit 695a4da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .docs/guides/Playwright.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ on:
This will cause the tests to run after the frontend pipeline has completed.
Notes on environments:
Make sure if your tests are mutative that you aren't making a mistake by blindly running them on production resources.
Then, run the tests like so:
Expand Down Expand Up @@ -141,3 +144,8 @@ fi
```

When the pipeline runs it will produce artifacts which you can inspect - such as screenshots. You can then, as a minimal testing strategy, check the screenshots to see if the tests are running as expected.


## Example projects

- [North Sea Portal](https://github.com/DHI/NorthSeaEnvironmentPortal/blob/dev/frontend/src/__tests/dataExplorer/dataexplorer.spec.ts#L22)

0 comments on commit 695a4da

Please sign in to comment.