Skip to content

Update README.md

Update README.md #1625

Workflow file for this run

name: Cypress
on: push
jobs:
bundle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/bundle.js
run: |
yarn test:cypress --spec "cypress/e2e/bundle.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
connect-widget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Connect/**.js
run: |
yarn test:cypress --spec "cypress/e2e/Connect/**.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
login-widget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Login/**.js
run: |
yarn test:cypress --spec "cypress/e2e/Login/**.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
select-widget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Select/**.js
run: |
yarn test:cypress --spec "cypress/e2e/Select/**.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-allow:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/allow.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/allow.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-amount:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/amount.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/amount.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-approval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/approval.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/approval.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-before:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/before.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/before.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-change-account:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/change-account.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/change-account.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-change-categorized-payment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/change-categorized-payment.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/change-categorized-payment.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-change-payment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/change-payment.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/change-payment.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-configured-amount:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/configured-amount.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/configured-amount.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-connected:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/connected.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/connected.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/container.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/container.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-currency:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/currency.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/currency.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/deny.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/deny.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-error:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/error.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/error.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-failed-transaction:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/failed-transaction.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/failed-transaction.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-fees:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/fees.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/fees.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-fix-currency-amounts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/fix-currency-amounts.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/fix-currency-amounts.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/integration.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/integration.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/main.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/main.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-main-svm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/main.svm.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/main.svm.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-no-payment-options-found:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/no-payment-options-found.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/no-payment-options-found.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-overview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/overview.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/overview.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-preflight:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/preflight.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/preflight.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-reset-approval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/reset-approval.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/reset-approval.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-signature-approval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/signature-approval.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/signature-approval.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-solana-pay:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/solana-pay.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/solana-pay.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/style.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/style.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-track:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/track.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/track.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-unmount:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/unmount.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/unmount.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-wallet-misses-blockchain-support:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/wallet-misses-blockchain-support.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/wallet-misses-blockchain-support.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-wallet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/wallet.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/wallet.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos
payment-widget-worldapp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install
run: |
npm install
- name: npm run build
run: |
npm run build
- name: Run Cypress Tests cypress/e2e/Payment/worldapp.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/worldapp.js"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-${{ github.job }}-${{ github.run_id }}
path: ${{ github.workspace }}/cypress/videos