Skip to content

Fix libwebkit2gtk no such file #2500

Fix libwebkit2gtk no such file

Fix libwebkit2gtk no such file #2500

Workflow file for this run

name: e2e Tests
on:
push:
branches: [main]
pull_request:
jobs:
test-mode:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install
- name: build
run: go build -tags desktop,production -ldflags "-w -s" -o build/test_wallet main.go
- name: Run app
run: WALLET_PASSWORD=bonjour STANDALONE=1 xvfb-run ./build/test_wallet &
- name: Move account file
run: |
mkdir -p ~/.config/massa-station-wallet
cp tests/wallet_bonjour.yaml ~/.config/massa-station-wallet/wallet_bonjour.yaml
- name: test wallet loaded
run: |
sleep 5
NBWALLET=$(curl http://localhost:8080/api/accounts/ | jq '. | length')
if [[ "$NBWALLET" != "1" ]]; then
echo "wallet not loaded"
exit 1
fi
- name: Delete Wallet
run: |
curl -X DELETE http://localhost:8080/api/accounts/bonjour
- name: test wallet delete
run: |
sleep 1
NBWALLET=$(curl http://localhost:8080/api/accounts/ | jq '. | length')
if [[ "$NBWALLET" != "0" ]]; then
echo "wallet not deleted"
exit 1
fi