From 34fb9136b39457fab9af15c69b14b4b6e78bcc44 Mon Sep 17 00:00:00 2001 From: James Milner Date: Sat, 23 Dec 2023 23:23:11 +0000 Subject: [PATCH] chore: add clarification around E2E README --- e2e/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/e2e/README.md b/e2e/README.md index 01213901..8455487e 100644 --- a/e2e/README.md +++ b/e2e/README.md @@ -1,6 +1,6 @@ # E2E Testing with Playwright -We provide a basic end-to-end (E2E) via Playwright, testing against the Leaflet Adapter +We provide a basic end-to-end (E2E) test suite via Playwright, testing against the Leaflet Adapter. The test suite aims to emulate how an end user would interact with and use Terra Draw. Here we can attempt to catch bugs earlier in the pipeline and ensure that new behaviours in the future adhere to a given specification. ## Installation @@ -23,3 +23,7 @@ Or you can run them headed (i.e. Chromimum will open and you will see the tests ```shell npm run test:headed ``` + +## Tests + +Tests are located in the `tests` folder. You will see the `leaflet.spec.ts` file, this is where the tests are kept for the E2E tests written for the Leaflet Adapter. There are also some convienence methods written in the `setup.ts` file which can be leveraged to write tests more easily. \ No newline at end of file