Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: trigger newly typed e2e tests #42

Merged
merged 6 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ jobs:
workflow_file_name: frontend:erc20-messaging.yml
ref: main
wait_interval: 60
client_payload: '{ "dapp-frontend-erc20-messaging-ref": "${{ github.head_ref }}" }'
client_payload: '{ "dapp-frontend-erc20-messaging-ref": "${{ github.head_ref }}", "e2e-test-type": "full" }'
2 changes: 1 addition & 1 deletion docker-compose.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
entrypoint: []
working_dir: /app
command: >
bash -c 'echo -n "======> local noVNC URL: http://localhost:8080/vnc.html?autoconnect=true " && echo -n "======> remote noVNC URL: " && npm run test:e2e'
bash -c 'echo -n "======> local noVNC URL: http://localhost:8080/vnc.html?autoconnect=true " && echo -n "======> remote noVNC URL: " && npm run test:e2e:${E2E_TEST_TYPE}'
depends_on:
- display
- video
Expand Down
264 changes: 131 additions & 133 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
"frontend:start": "npm run start --workspace=frontend",
"frontend:test": "npm run test --workspace=frontend",
"frontend:test:coverage": "npm run test:coverage --workspace=frontend",
"frontend:test:e2e": "npm run test:e2e --workspace=frontend",
"test:e2e": "start-server-and-test 'npm run backend:start' http-get://localhost:3001 'npm run frontend:test:e2e'"
"frontend:test:e2e:full": "npm run test:e2e:full --workspace=frontend",
"frontend:test:e2e:light": "npm run test:e2e:light --workspace=frontend",
"test:e2e:full": "start-server-and-test 'npm run backend:start' http-get://localhost:3001 'npm run frontend:test:e2e:full'",
"test:e2e:light": "start-server-and-test 'npm run backend:start' http-get://localhost:3001 'npm run frontend:test:e2e:light'"
},
"workspaces": [
"packages/*"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ERROR, INFO } from '../../src/constants/wordings'
import { ERROR, INFO } from '../../../src/constants/wordings'

describe('Multistep form step-0 without MetaMask connect', () => {
beforeEach(() => {
Expand Down
Loading