From 0e601a6d3d0bcfd220daa83ff76bdbc0316c320a Mon Sep 17 00:00:00 2001 From: Sagar Khalasi Date: Mon, 9 Sep 2024 11:01:38 +0530 Subject: [PATCH] chore: Added details for running local setup (#35968) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Added more details for running local setup. Screenshot 2024-08-29 at 12 15 09 PM Fixes #`35852` ## Automation /ok-to-test tags="@tag.Sanity" ### :mag: Cypress test results > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: b8938d14a457ec99439d4df884089b3e0751df2f > Cypress dashboard. > Tags: `@tag.Sanity` > Spec: >
Mon, 09 Sep 2024 05:29:13 UTC ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No ## Summary by CodeRabbit - **New Features** - Enhanced the setup process for integration tests with interactive prompts, allowing users to choose options regarding local server setup and Docker container usage. - Improved user experience by providing clear choices and consequences, making the setup more configurable and informative. --- contributions/ClientSetup.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/contributions/ClientSetup.md b/contributions/ClientSetup.md index 480ea1fc23..0f8a4094b5 100644 --- a/contributions/ClientSetup.md +++ b/contributions/ClientSetup.md @@ -115,6 +115,28 @@ To setup the configurations for running integration tests via Cypress, use these yarn run setup ``` +**Prompt:** + `Do you wish to continue without setting up the local server with docker? (yes/no):` + +**Options:** +- **`no`:** Selecting "no" will trigger the setup of a local server using Docker with the `appsmith-ce:release` image. +- **`yes`:** Selecting "yes" will skip the local server setup process. + + +**Prompt:** + `https://dev.appsmith.com is not accessible. Do you wish to continue without setting it up? (yes/no):` + +**Options:** +- **`no`:** Simply close the process. +- **`yes`:** Continue on the process for next stage + +**Prompt:** + `TED (TestEventDriver) is not running. Do you want to pull & run the latest Docker container for TED (TestEventDriver)? (yes/no):` + +**Options:** +- **`no`:** It will not create TED setup in local machine. +- **`yes`:** Download the TED image and run the image for test purposes. + ##### Running Cypress tests locally To run a specific test file in headless fashion, use the following command: