Skip to content

fix test

fix test #1382

Workflow file for this run

name: Cypress
on: push
jobs:
bundle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
connect-widget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
login-widget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
select-widget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-amount:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-approval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-before:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-blacklist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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/blacklist.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/blacklist.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-change-account:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-change-payment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-change-categorized-payment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-configured-amount:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-connected:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-currency:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-error:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-fail:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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/fail.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/fail.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-fee:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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/fee.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/fee.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-fix-currency-amounts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-fromToken:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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/fromToken.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/fromToken.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-no-payment-options-found:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-insufficient-amount-of-tokens:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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/insufficient-amount-of-tokens.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/insufficient-amount-of-tokens.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-main-solana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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.solana.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/main.solana.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-solana-pay:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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.solana.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/solana-pay.solana.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-no-wallet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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-wallet.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/no-wallet.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-overview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-payment-value-loss-safeguard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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/payment-value-loss-safeguard.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/payment-value-loss-safeguard.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-preflight:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-recover:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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/recover.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/recover.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-replaced-transaction:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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/replaced-transaction.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/replaced-transaction.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-track:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-unmount:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-wallet-misses-blockchain-support:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-wallet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos
payment-widget-whitelist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Cache node modules
uses: actions/cache@v2
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/whitelist.js
run: |
yarn test:cypress --spec "cypress/e2e/Payment/whitelist.js"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ${{ github.workspace }}/cypress/screenshots
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/videos