-
Notifications
You must be signed in to change notification settings - Fork 159
chore: restore e2e tests #6751
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
Merged
alfetopito
merged 22 commits into
cowprotocol:develop
from
crutch12:chore/restore-e2e-tests
Jan 7, 2026
Merged
chore: restore e2e tests #6751
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
c40e3ee
chore: updated README e2e tests setup guide
crutch12 aee0688
test: fix cypress page loading
crutch12 a2ca023
chore: check serviceWorker is available
crutch12 1f2747c
test: enable search tests
crutch12 5257323
test: enable fiat-amounts tests
crutch12 74a51a0
test: enable fee tests
crutch12 54f6bc9
test: enable limit-orders tests
crutch12 ad8f218
test: remove send tests
crutch12 13e318c
test: enable lists tests
crutch12 45ab62a
chore: tests - allow @cowprotocol imports
crutch12 5aa363a
test: enable swap tests
crutch12 b08fe4f
test: enable swapMod tests
crutch12 65df41b
test: enable token tests
crutch12 970d12e
test: cy.unlockCrossChainSwap
crutch12 95c3484
test: fix requests intercepttion
crutch12 23a5f30
chore: pr fixes
crutch12 2dc3f00
test: hard cache static files
crutch12 0b2b1ac
test: decrease delays
crutch12 b0d3e65
chore: update readme
kernelwhisperer 019fa93
chore: change from infura to alchemy for e2e tests
kernelwhisperer 2762c92
Merge branch 'develop' into chore/restore-e2e-tests
alfetopito c0c9e05
Merge branch 'develop' into chore/restore-e2e-tests
alfetopito File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| ####################################### | ||
| # End To End Test | ||
| ####################################### | ||
| # ⚠️ Required for E2E tests to run | ||
|
|
||
| # Cypress Integration Tests | ||
| CYPRESS_INTEGRATION_TEST_PRIVATE_KEY= | ||
| CYPRESS_INTEGRATION_TESTS_ALCHEMY_KEY= |
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
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,16 +1,36 @@ | ||
| import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset' | ||
| import { defineConfig } from 'cypress' | ||
| import macrosPlugin from 'vite-plugin-babel-macros' | ||
| import { nodePolyfills } from 'vite-plugin-node-polyfills' | ||
| import viteTsConfigPaths from 'vite-tsconfig-paths' | ||
|
|
||
| export default defineConfig({ | ||
| e2e: { | ||
| ...nxE2EPreset(__dirname, { | ||
| bundler: 'vite', | ||
| viteConfigOverrides: { | ||
| plugins: [ | ||
| nodePolyfills({ | ||
| globals: { | ||
| Buffer: true, | ||
| global: true, | ||
| process: true, | ||
| }, | ||
| protocolImports: true, | ||
| }), | ||
| viteTsConfigPaths({ | ||
| root: '../../', | ||
| }), | ||
| macrosPlugin(), | ||
| ], | ||
| }, | ||
| }), | ||
| specPattern: ['src/**/*.test.{js,jsx,ts,tsx}'], | ||
| baseUrl: 'http://localhost:3000', | ||
| supportFile: 'src/support/index.ts', | ||
| video: false, | ||
| screenshotOnRunFailure: false, | ||
| defaultCommandTimeout: 15_000 | ||
| defaultCommandTimeout: 5_000, | ||
| pageLoadTimeout: 15_000, | ||
| }, | ||
| }) |
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
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why move this to the root of the project?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried moving it back, but to run cypress locally you need it at the root, or perhaps in
apps/cowswap-frontend-e2e.