From 0f7da15c4fb5417f521a9432a24630bc61e5645a Mon Sep 17 00:00:00 2001 From: Sanskar Atrey Date: Tue, 17 Sep 2024 13:08:36 +0530 Subject: [PATCH] chore: added added instructions for headless mode in readme --- cypress-tests/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cypress-tests/readme.md b/cypress-tests/readme.md index 7360cf74e..f565602ab 100644 --- a/cypress-tests/readme.md +++ b/cypress-tests/readme.md @@ -11,6 +11,8 @@ Steps to get started with Hyperswitch-web sdk testing locally: 3. Cypress should open the window to test separate flows. +4. To run cypress in headless mode, put publishable key and secret key to be used for tests in `cypress.env.json` and then spin a terminal window and run `npm run test` + 💡 Note: Incase you are setting cypress for the first time and run into a cypress error, try to uninstall and re-install cypress inside cypress-tests folder by running the following commands : ```