Skip to content

e2e: add locators, env tweaks and stability logs#414

Merged
SteveChurchillSWO merged 2 commits into
mainfrom
fix/MPT-20927-test-fixes
May 11, 2026
Merged

e2e: add locators, env tweaks and stability logs#414
SteveChurchillSWO merged 2 commits into
mainfrom
fix/MPT-20927-test-fixes

Conversation

@SteveChurchillSWO
Copy link
Copy Markdown

Description

Various e2e test improvements and stability fixes:

  • recommendations: added savings/table locators and no-recommendations locator; updated mocks to include table savings and placeholder modalColumnLocator; added debug logging in getCurrencyValue.
  • auth.setup: improved wait logic for initialization message using LARGE_DATA_TIMEOUT, added debug/error logging and a short presence check to avoid hanging.
  • tests: made several tests environment-aware (use env to pick regions/tags/data sources), added conditional skips when no recommendations or low numeric values, and added additional debug logs to reduce flakiness.
  • policies & tagging-policy tests: replaced hardcoded region/tag values with env-based choices and updated assertions accordingly.

These changes aim to make tests more robust across environments, handle cases with no or zero recommendations, and improve observability when waiting for slow/large-data initializations.

Related issue number

https://softwareone.atlassian.net/browse/MPT-20927

Various e2e test improvements and stability fixes:

- recommendations: added savings/table locators and no-recommendations locator; updated mocks to include table savings and placeholder modalColumnLocator; added debug logging in getCurrencyValue.
- auth.setup: improved wait logic for initialization message using LARGE_DATA_TIMEOUT, added debug/error logging and a short presence check to avoid hanging.
- tests: made several tests environment-aware (use env to pick regions/tags/data sources), added conditional skips when no recommendations or low numeric values, and added additional debug logs to reduce flakiness.
- policies & tagging-policy tests: replaced hardcoded region/tag values with env-based choices and updated assertions accordingly.

These changes aim to make tests more robust across environments, handle cases with no or zero recommendations, and improve observability when waiting for slow/large-data initializations.
Remove a leftover inline comment after the debugLog call in RecommendationsPage.getCurrencyValue. This is a non-functional cleanup to tidy the code and avoid unnecessary noise in the source.
@SteveChurchillSWO SteveChurchillSWO merged commit 7c946cf into main May 11, 2026
43 checks passed
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