From e360646ba926dd352cbebd48a524a1306fda8b82 Mon Sep 17 00:00:00 2001 From: tjtanjin Date: Mon, 16 Sep 2024 21:17:45 +0800 Subject: [PATCH] fix: Update command for running tests --- .github/workflows/test.yml | 2 +- docs/DeveloperGuide.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4b7f2bea..82b9bffc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,4 +41,4 @@ jobs: run: npm run start & - name: Run Tests - run: npm run test + run: npm run cy:run diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index eb6e6f0b..c3803893 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -126,7 +126,7 @@ That way, we can identify what are the tasks to finish up here and optionally, s Testing in this project is done via the **selenium webdriver**. The default flow used in development within *App.tsx* is used to run the test cases against in an automated test. -In order to run the test, you will need to **download** the [chromedriver](https://chromedriver.chromium.org/downloads) matching your google chrome version and drop it within the *test* folder. Following which, execute `npm run test` to run the tests. Optionally, you may adjust configurations within *config.js* to aid in your debugging/testing. +In order to run the test, you will need to **download** the [chromedriver](https://chromedriver.chromium.org/downloads) matching your google chrome version and drop it within the *test* folder. Following which, execute `npm run cy:run` to run the tests. Optionally, you may adjust configurations within *config.js* to aid in your debugging/testing. Finally, if you would like to, you can then also build the library with `npm run build`.