Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TestRun] Fix filter check, fix delete expandedExecutionIds #3339

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

somenewacc
Copy link
Contributor

There are cases when test run is filtered with query param (?status_id=).

And because there are no checks for that, if you change statuses, stop date will also change even if TEs from other statuses aren't done yet.

And, btw, changed delete expandedExecutionIds to expandedExecutionIds.splice because SonarLint wasn't happy:
https://rules.sonarsource.com/typescript/RSPEC-2870/

when a TestRun is filtered via query param (?status_id=) if you change
statuses then `stop_date` field will also change once all of the
filtered TestExecution rows become non-neutral.

This is a bug because the page isn't checking all TEs outside of the currently
filtered selection!
@atodorov atodorov merged commit e7ff187 into kiwitcms:master Oct 2, 2023
29 of 39 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