Skip to content

[QA] Auto test fixes for 4.0.3#4304

Merged
mishautkin merged 6 commits into
dev/developfrom
dev/qa/fix-for-4.0.3
Apr 30, 2026
Merged

[QA] Auto test fixes for 4.0.3#4304
mishautkin merged 6 commits into
dev/developfrom
dev/qa/fix-for-4.0.3

Conversation

@mishautkin

Copy link
Copy Markdown
Collaborator

Description

  • Remove deleteAllOrders from preconditions
    Due to frequent reset of test env and on account that wp-env in CI is created clean - there's no need in additional requests. The deleteAllOrders kept orders clean but also removed orders from previous test set preventing analysis. In case of many orders the precondition might timeout because of long-taking request.
  • Fix refund.scenario
    • Move methods from utils to refund.scenario
    • Fix precondition orders to refund because they failed on expected order status not set within 5 sec
  • Fix assertion for "Payment via" on order-edit page

Due to frequent reset of test env and on account that wp-env in CI is created clean - there's no need in additional requests. The deleteAllOrders kept orders clean but also removed orders from previous test set preventing analysis. In case of many orders the precondition might timeout because of long-taking request.
- Move methods from utils to refund.scenario
- Fix precondition orders to refund because they failed on expected order status not set within 5 sec
@mishautkin mishautkin changed the title [QA] Auto test fixex for 4.0.3 [QA] Auto test fixes for 4.0.3 Apr 28, 2026
Comment thread tests/qa/resources/pcp-gateways.ts
Comment thread tests/qa/resources/pcp-gateways.ts

@syde-piotr-ostrowski syde-piotr-ostrowski left a comment

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.

Looks good to me. Ready to be merged

@mishautkin
mishautkin merged commit 860ca3c into dev/develop Apr 30, 2026
11 checks passed
@mishautkin
mishautkin deleted the dev/qa/fix-for-4.0.3 branch April 30, 2026 06:25
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