Skip to content

fix: e2e background steps adjustments - #47

Merged
toddbaert merged 2 commits into
mainfrom
fix/e2e-background-steps-adjustment
Nov 24, 2026
Merged

toddbaert merged 2 commits into
mainfrom
fix/e2e-background-steps-adjustment

Conversation

@leakonvalinka

Copy link
Copy Markdown
Contributor

see Dynatrace/fm-provider-test-harness#31

merge once the test-harness PR has been merged as well

leakonvalinka and others added 2 commits November 23, 2026 15:36
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
@toddbaert
toddbaert marked this pull request as ready for review November 24, 2026 20:48
Copilot AI balanced review requested due to automatic review settings November 24, 2026 20:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The harness submodule remains pinned to a revision that uses the removed SSE step definition, leaving SSE scenarios undefined when poe e2e checks out that revision.

1 open issue
What changed in this PR

This PR aligns the end-to-end test background steps with the changes in test-harness PR #31.

Changes:

  • Enables server-sent events (SSE) in the shared mock-server background step.
  • Removes the separate SSE-enabled mock-server step definition.
File Description
tests/​e2e/​test_e2e.py Consolidates mock-server background steps to match the updated harness scenarios.

Review effort: Balanced

Comment thread tests/e2e/test_e2e.py

@step("a mock server with SSE enabled is running")
def _a_mock_server_with_sse_enabled_is_running(scenario: Scenario) -> None:
scenario.sse_enabled = True

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No - this is wrong, it's been updated.

@toddbaert
toddbaert self-requested a review November 24, 2026 21:41
@toddbaert
toddbaert merged commit e220147 into main Nov 24, 2026
19 checks passed
@toddbaert
toddbaert deleted the fix/e2e-background-steps-adjustment branch November 24, 2026 21:41
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.

3 participants