Skip to content

feat: added authentication details block in payment details #2078

feat: added authentication details block in payment details

feat: added authentication details block in payment details #2078

Workflow file for this run

name: Cypress Tests
on:
pull_request:
jobs:
cypress-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.AUTO_RELEASE_PAT }}
- name: Clear Docker cache
run: |
docker builder prune -af
- name: Execute Shell Script
run: |
chmod +x cypress/start_hyperswitch.sh
sh cypress/start_hyperswitch.sh
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install --force
- name: Make Curl Request
run: |
# Replace the URL with your actual endpoint
response=$(curl --location --request GET 'http://localhost:8080/health')
echo "Response:"
echo "$response"
- name: Cypress run
uses: cypress-io/github-action@v6
with:
install: false
build: npm run build:test
start: npm run test:start
# spec: cypress/e2e/quick-start/sbx-quick-start.cy.js
# - name: Check Coverage Thresholds
# run: |
# npx nyc check-coverage --lines 50 --functions 50 --branches 50 --statements 50