Skip to content

chore: dev to main merge#863

Merged
Roopan-Microsoft merged 4 commits into
mainfrom
dev
Jun 2, 2026
Merged

chore: dev to main merge#863
Roopan-Microsoft merged 4 commits into
mainfrom
dev

Conversation

@Ragini-Microsoft
Copy link
Copy Markdown
Collaborator

Purpose

This pull request makes several updates to the end-to-end tests to improve reliability and clarity, particularly around the "Start Over" functionality. The main changes include increasing the timeout for the start over button, updating test step descriptions and timing, and standardizing environment variable naming.

Test reliability improvements:

  • Increased the timeout for the START_OVER_BUTTON to become visible from 10 seconds to 30 seconds in HomePage.py, reducing test flakiness in slower environments.

Test clarity and maintenance:

  • Simplified the test steps in test_validate_start_over by removing unnecessary steps and updating the step description to focus only on clicking "Start over" and validating the displayed text.
  • Renamed timing variables and log entries in test_validate_start_over to match the updated step numbering, improving test log clarity.

Configuration consistency:

  • Renamed the environment variable in sample_dotenv_file.txt from MACAE_WEB_URL to url for consistency and simplicity.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates e2e test configuration and the Start Over validation flow to improve reliability and align the sample environment file with the test constants.

Changes:

  • Increased the Start Over button visibility timeout.
  • Simplified and renumbered the Start Over e2e test flow.
  • Updated the sample .env variable name to match test configuration usage.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tests/e2e-test/tests/test_content_gen_gp_tc.py Simplifies Start Over test steps and timing labels.
tests/e2e-test/sample_dotenv_file.txt Updates the sample URL environment variable to url.
tests/e2e-test/pages/HomePage.py Extends the Start Over button wait timeout to reduce flakiness.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/e2e-test/tests/test_content_gen_gp_tc.py
@Roopan-Microsoft Roopan-Microsoft merged commit 972ded5 into main Jun 2, 2026
15 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.

5 participants