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

1505 1475 [Transactions] Display test spec summary results for transaction test runs #1511

Conversation

xoscar
Copy link
Collaborator

@xoscar xoscar commented Nov 16, 2022

This PR has the changes to display the results summary for each of the execution steps on the transaction run page.
It allows users to see the passed and failed assertions.

Changes

  • Adds the assertions summary to execution steps
  • Adds logic to update the document title for tests and transactions

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

https://www.loom.com/share/812f1b3cb17d414f8b48ae55efca65bf

@xoscar xoscar self-assigned this Nov 16, 2022
@xoscar xoscar marked this pull request as ready for review November 16, 2022 18:47
@xoscar xoscar changed the title adding summary for transaction execution steps 1505 1475 [Transactions] Display test spec summary results for transaction test runs Nov 16, 2022
@@ -26,7 +27,7 @@ interface IProps {
const ExecutionStep = ({
index,
test: {name, trigger, id: testId},
testRun: {id: runId, state, testVersion} = TestRun({}),
testRun: {id: runId, state, testVersion, passedAssertionCount, failedAssertionCount} = TestRun({}),
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks great @xoscar I saw in your video that you needed to refresh the page to see the correct results. Is there a problem with the websocket data?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep, problem has been reported to the BE team they are working on it 😄

@xoscar xoscar merged commit c186f9d into main Nov 16, 2022
@xoscar xoscar deleted the 1505-transactions-display-test-spec-summary-results-for-transaction-test-runs branch November 16, 2022 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Transactions] Display test spec summary results for transaction test runs
2 participants