Skip to content

fix: remove double quoting when initiating a transaction #731

fix: remove double quoting when initiating a transaction

fix: remove double quoting when initiating a transaction #731

Workflow file for this run

name: Test
on:
pull_request:
branches:
- development
schedule:
- cron: '0 0 * * 1-5' # Every weekday at midnight UTC
workflow_dispatch:
inputs:
base_url:
description: 'Base URL to run the tests against'
required: false
default: 'https://portalbridge.com'
jobs:
e2e:
runs-on: ubuntu-latest
environment: ci
permissions: read-all
defaults:
run:
working-directory: './'
container:
image: mcr.microsoft.com/playwright:v1.54.1-noble
options: --user 1001 # Default user ID in Ubuntu
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install dependencies
run: npm ci
- name: Run Playwright tests with wallet
if: ${{ startsWith(github.event.inputs.base_url, 'http://localhost') || github.event_name == 'schedule' }}
run: npm run test:e2e:with-wallet
env:
BASE_URL: ${{ github.event.inputs.base_url || 'http://localhost:5173' }}
REACT_APP_TEST_EVM_ADDR: ${{ secrets.REACT_APP_TEST_EVM_ADDR }}
REACT_APP_TEST_EVM_PK: ${{ secrets.REACT_APP_TEST_EVM_PK }}
- name: Run Playwright tests without wallet
if: ${{ !startsWith(github.event.inputs.base_url, 'http://localhost') || github.event_name == 'pull_request' }}
run: npm run test:e2e:without-wallet
env:
BASE_URL: ${{ github.event.inputs.base_url || 'http://localhost:5173' }}
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30