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

chore: centralize e2e test setup and env config #497

Closed
wants to merge 1 commit into from

Conversation

qvkare
Copy link

@qvkare qvkare commented Jan 24, 2025

Refactored E2E test configuration to improve maintainability:

  • Centralized common beforeEach setup code in test-helpers.ts
  • Moved DEV URL to TEST_ENV environment variable
  • Updated all test files to use the centralized configuration

Changes

  • Added: e2e/conf/test-helpers.ts
  • Modified: e2e/.env.example (added TEST_ENV)
  • Updated: All E2E test files to use centralized configuration

- Add test-helpers.ts for common test setup code
- Move DEV URL to TEST_ENV environment variable
- Update all test files to use centralized configuration
@qvkare qvkare requested a review from a team as a code owner January 24, 2025 14:05
@qvkare qvkare requested review from Akaryatrh and jonesho and removed request for a team January 24, 2025 14:05
@stanleyyconsensys
Copy link
Collaborator

thx for contribution, e2e will be re-structure soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants