-
Notifications
You must be signed in to change notification settings - Fork 4
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,10 @@ | ||
--- | ||
2-reviewers: | ||
- '.github/**/*' | ||
- './*' | ||
- changed-files: | ||
- any-glob-to-any-file: ./** | ||
|
||
M-ci: | ||
- any: ['.github/**/*'] | ||
E2E-Test: | ||
- changed-files: | ||
- any-glob-to-any-file: ./e2e-tests/** | ||
|
||
M-l2geth: | ||
- any: ['l2geth/**/*'] | ||
|
||
M-integration: | ||
- any: ['integration-tests/**/*'] | ||
|
||
M-batch-submitter: | ||
- any: ['packages/batch-submitter/**/*'] | ||
|
||
M-contracts: | ||
- any: ['packages/contracts/**/*'] | ||
|
||
M-core-utils: | ||
- any: ['packages/core-utils/**/*'] | ||
|
||
M-dtl: | ||
- any: ['packages/data-transport-layer/**/*'] | ||
|
||
M-ops: | ||
- any: ['ops/**/*'] | ||
release: | ||
- base-branch: 'master' |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,74 @@ | ||
name: End2End test (non-headless) | ||
permissions: read-all | ||
name: Integration Test | ||
|
||
on: | ||
on: | ||
push: | ||
branches: ['main', 'master'] | ||
pull_request: | ||
|
||
jobs: | ||
End-to-End-Test: | ||
name: Integration Test | ||
e2e-test: | ||
name: Playwright Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Node | ||
uses: actions/checkout@v4 | ||
- name: Setup Node 16 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16.17.0 | ||
cache: 'yarn' | ||
- name: Setup Cache Node Modules, Cypress | ||
id: cache-node-modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
node_modules | ||
/home/runner/.cache/Cypress | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
# Install NPM dependencies, cache them correctly | ||
# and run all Cypress tests | ||
- name: Install dependencies | ||
run: yarn | ||
- uses: actions/cache/save@v3 | ||
if: ${{steps.cache-node-modules.outputs.cache-hit != 'true'}} | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
- name: Install linux deps | ||
- name: Install linux deps (xvfb / fluxbox) | ||
run: | | ||
sudo apt-get install --no-install-recommends -y \ | ||
fluxbox \ | ||
xvfb | ||
- name: Run E2E Test (non-headless) | ||
- name: Install yarn dependencies | ||
run: yarn | ||
- name: Build Gateway Project | ||
working-directory: ./ | ||
run: | | ||
Xvfb :0 -screen 0 1024x768x24 -listen tcp -ac & | ||
fluxbox & yarn test:integration | ||
yarn && yarn build:prod | ||
env: | ||
REACT_APP_POLL_INTERVAL: 15000 | ||
REACT_APP_GAS_POLL_INTERVAL: 30000 | ||
SKIP_PREFLIGHT_CHECK: true | ||
REACT_APP_WALLET_VERSION: 0.14.8 | ||
REACT_APP_ENV: prod | ||
REACT_APP_STATUS: normal | ||
CYPRESS_REMOTE_DEBUGGING_PORT: 9222 | ||
NETWORK_NAME: 'sepolia' | ||
REACT_APP_WALLET_VERSION: 0.14.9 | ||
REACT_APP_ENV: local | ||
REACT_APP_ENABLE_ANCHORAGE: true | ||
REACT_APP_WC_PROJECT_ID: ${{secrets.WC_PROJECT_ID}} | ||
REACT_APP_GA4_MEASUREMENT_ID: ${{secrets.GA4_MEASUREMENT_ID}} | ||
REACT_APP_SENTRY_DSN: ${{secrets.SENTRY_DSN}} | ||
- name: Setup Node 18 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
- name: Install PNPM deps e2e-tests | ||
working-directory: ./e2e-tests | ||
run: | | ||
npm install -g pnpm && pnpm install --frozen-lockfile && npx playwright install | ||
- name: Install Playwright Browsers | ||
run: npx playwright install --with-deps chromium | ||
- name: Run e2e test (headful) | ||
working-directory: ./e2e-tests | ||
run: | | ||
Xvfb :0 -screen 0 1024x768x24 -listen tcp -ac & | ||
fluxbox & | ||
pnpm start:server & | ||
pnpm test | ||
env: | ||
PASSWORD: ${{secrets.PASSWORD}} | ||
NETWORK: 'sepolia' | ||
SECRET_WORDS: ${{secrets.SECRET_WORDS}} | ||
METAMASK_VERSION: 10.25.0 | ||
DISPLAY: :0.0 | ||
CYPRESS_ENABLE_VIDEO: true | ||
- name: Upload Archive e2e artifacts | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
if: ${{ !cancelled() }} | ||
with: | ||
name: e2e-archive | ||
name: e2e-reports | ||
retention-days: 3 | ||
path: | | ||
./cypress/videos/ | ||
./cypress/screenshots/ | ||
./e2e-tests/videos/ | ||
./e2e-tests/playwright-report/ | ||
./e2e-tests/test-results/ | ||
continue-on-error: true |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
/cypress/videos | ||
/cypress/screenshots | ||
|
||
.DS_Store | ||
node_modules | ||
results | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Gateway: Integration Playwright Test Stability. #555
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
Uh oh!
There was an error while loading. Please reload this page.
Gateway: Integration Playwright Test Stability. #555
Changes from all commits
b2c89b2
4888a31
63b24e8
5fdca79
32b0242
7610db9
1e2d350
0004d89
b9028cf
32beef1
eefb264
91fdeab
0d59b25
44891a3
750bbc6
975ebd4
4c8a0ef
90c892b
9ba163a
4cb3432
6f158dc
9feff6d
153625b
224c474
ecbd3d7
8210a62
f873503
28d498b
4796eb5
6675384
054ce0c
fdb46d9
c1fb4c6
a78658d
3bbff14
517ffa0
f69d99b
2e3fc1c
bdabaaa
2464e52
05c144d
7669172
9356c62
fb17e48
2dbebe6
f2dd3f8
274eb14
ea3645e
e926530
c03d783
e38dc99
bdd6f09
1b26294
9bfd4cf
2fa2ac6
302c3ed
7487b2e
aeb5a14
8cbaac2
1493fcc
100f2b8
6f586d1
3a91a88
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.