-
Notifications
You must be signed in to change notification settings - Fork 28
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
add TestResultsHeaders GQL model #816
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #816 +/- ##
==========================================
- Coverage 96.26% 96.25% -0.02%
==========================================
Files 814 816 +2
Lines 18689 18741 +52
==========================================
+ Hits 17991 18039 +48
- Misses 698 702 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -26,5 +26,10 @@ def resolve_failure_rate(test, info) -> float | None: | |||
|
|||
|
|||
@test_result_bindable.field("avgDuration") | |||
def resolve_last_duration(test, info) -> float | None: | |||
def resolve_avg_duration(test, info) -> float | None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can we type these?
@@ -0,0 +1,11 @@ | |||
from shared.license import get_current_license |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this license stuff? think I wrote this on your other PR but lets clean it up here
|
||
|
||
@test_results_headers_bindable.field("totalRunTime") | ||
def resolve_name(obj, _) -> float: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we type these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Nice work
91d88da
to
73ff989
Compare
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
📢 Thoughts on this report? Let us know! |
- TestResultsHeaders represents the information displayed in the Test Analytics UI that is related to test results, total duration of tests, accumulated duration of the 5% slowest tests, total number of failures, and total number of skips - a field of type TestResultsHeaders was added to the Repository model
73ff989
to
023d1fb
Compare
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time. ❌ Failed Test Results:Completed 2334 tests with View the full list of failed testspytest
|
TestResultsHeaders represents the information displayed in the Test
Analytics UI that is related to test results, total duration of tests,
accumulated duration of the 5% slowest tests, total number of failures,
and total number of skips
a field of type TestResultsHeaders was added to the Repository model
depends on: #813