From a643fd70b7a3bca53eaf6e3fb71082568c91073f Mon Sep 17 00:00:00 2001 From: "Shivam Pandey :-)" Date: Sun, 21 Apr 2024 10:11:22 +0530 Subject: [PATCH] Adding chrome with sudo in workflow --- .github/workflows/irctc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/irctc.yml b/.github/workflows/irctc.yml index 5eb2279..f3c52c1 100644 --- a/.github/workflows/irctc.yml +++ b/.github/workflows/irctc.yml @@ -54,4 +54,4 @@ jobs: - name: Running IRCTC Cypress Script uses: cypress-io/github-action@v6 with: - command: npx cypress run --record --key a15b31a6-b9ee-4678-b9ac-f45a190851fe --env UPI_ID=${{ inputs.UPI_ID || '' }},USERNAME=${{ inputs.USERNAME || secrets.USERNAME }},PASSWORD=${{ inputs.PASSWORD || secrets.PASSWORD }} + command: sudo npx cypress run --browser chrome --record --key a15b31a6-b9ee-4678-b9ac-f45a190851fe --env UPI_ID=${{ inputs.UPI_ID || '' }},USERNAME=${{ inputs.USERNAME || secrets.USERNAME }},PASSWORD=${{ inputs.PASSWORD || secrets.PASSWORD }}