Skip to content

ci: integrate frontend and backend tests with organization-related test suites#2423

Draft
yasenltd wants to merge 79 commits intohashgraph:mainfrom
yasenltd:2031_FE_BE_CI_tests
Draft

ci: integrate frontend and backend tests with organization-related test suites#2423
yasenltd wants to merge 79 commits intohashgraph:mainfrom
yasenltd:2031_FE_BE_CI_tests

Conversation

@yasenltd
Copy link
Collaborator

@yasenltd yasenltd commented Mar 4, 2026

Description:

ci: integrate frontend and backend tests with organization-related test suites

  • Add backend deployment step to the frontend test workflow to enable full integration testing.
  • Integrate organization-specific test suites (settings, contact lists, and transactions) into the CI pipeline.
  • Refactor BasePage, TransactionPage, and OrganizationPage to improve test reliability and maintainability.
  • Enhance CI logging and debugging by adding container logs, video recording for failed tests, and improved health checks for backend services.
  • Optimize backend startup in CI by adjusting Docker Compose configurations and wait timeouts.
  • Explicitly pass payer private keys during organization user setup to ensure consistent transaction environment.

Notes for reviewer:

  • CI/CD Improvements: Significant updates to .github/workflows/test-frontend.yaml to include backend deployment, Docker optimizations, and better reporting (Playwright reporters, video artifacts).
  • Test Suite Expansion: Added and enabled several organization-level test files in the CI environment.
  • Refactoring: Standardized how pages and utilities handle application state and credentials, specifically focusing on the organization and transaction workflows.
  • Stability: Added timeouts, improved wait logic for backend readiness, and fixed various selector/logic issues in page objects.

@yasenltd yasenltd requested review from a team as code owners March 4, 2026 17:57
@steven-sheehy
Copy link
Member

steven-sheehy commented Mar 4, 2026

Please keep in draft and request reviewers only once complete and all checks passing. Need to fix DCO, GPG signing, and workflow problems

@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.94%. Comparing base (e539e37) to head (0f7f106).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2423   +/-   ##
=======================================
  Coverage   99.94%   99.94%           
=======================================
  Files         180      180           
  Lines        7017     7017           
  Branches     1420     1408   -12     
=======================================
  Hits         7013     7013           
  Misses          4        4           

see 1 file with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yasenltd yasenltd marked this pull request as draft March 4, 2026 20:31
@yasenltd yasenltd changed the title 2031_FE_BE_CI_tests ci: added organization group tests Mar 6, 2026
@yasenltd yasenltd requested a review from jbair06 March 6, 2026 07:59
yasenltd added 16 commits March 9, 2026 08:47
- Update `.github/workflows/test-frontend.yaml` to exclusively run `OrganizationGroupTests`.
- Mark 'Verify user can execute group transaction in organization' as `test.only` for targeted execution.
- Refactor `BasePage.ts` logic for `isCssSelector` to handle explicit Playwright engines (e.g., `css=`, `xpath=`).
- Improve `waitForValidStart` in `util.ts` to support more date formats and add better logging.
- Enhance `electronAppLauncher.ts` with launch timing logs.
- Apply general code style improvements and type safety across automation page objects.

Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
yasenltd added 30 commits March 9, 2026 14:17
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
…bridge proxies

Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
Signed-off-by: yasenltd <yasenltd@gmail.com>
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