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

Feat: Fix Failed Test Table Sort, link Hook, and add Spec #3054

Merged
merged 8 commits into from
Jul 26, 2024

Conversation

ajay-sentry
Copy link
Contributor

@ajay-sentry ajay-sentry commented Jul 25, 2024

Description

This PR aims to finalize the failed test table stuff, mainly linking the hook, presenting the information correctly, and adding tests for the table.

We were able to test the infinite scroll works as expected, as well as sorting each column

There is an interesting bug that still needs to be fixed though related to scrolling on initial page load when commitsFailed descending order is the column being sorted on

Screenshots

Screen.Recording.2024-07-25.at.4.12.18.PM.mov

Link to Sample Entry

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@codecov-staging
Copy link

codecov-staging bot commented Jul 25, 2024

Bundle Report

Changes will increase total bundle size by 2.48kB ⬆️

Bundle name Size Change
gazebo-staging-array-push 5.88MB 2.48kB ⬆️

@codecov-qa
Copy link

codecov-qa bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.33%. Comparing base (37c2fd1) to head (26415ab).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3054      +/-   ##
==========================================
+ Coverage   98.04%   98.33%   +0.28%     
==========================================
  Files         924      924              
  Lines       13761    13784      +23     
  Branches     3659     3746      +87     
==========================================
+ Hits        13492    13554      +62     
+ Misses        265      226      -39     
  Partials        4        4              
Files Coverage Δ
...iledTestsTab/FailedTestsTable/FailedTestsTable.tsx 100.00% <100.00%> (+100.00%) ⬆️
...ge/FailedTestsTab/hooks/useInfiniteTestResults.tsx 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.84% <ø> (ø)
Layouts 97.71% <ø> (ø)
Pages 99.15% <100.00%> (+0.52%) ⬆️
Services 99.47% <ø> (ø)
Shared 99.69% <ø> (ø)
UI 93.99% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37c2fd1...26415ab. Read the comment docs.

Copy link

codecov bot commented Jul 25, 2024

Bundle Report

Changes will increase total bundle size by 2.48kB ⬆️

Bundle name Size Change
gazebo-production-array-push 5.88MB 2.48kB ⬆️

@codecov-notifications
Copy link

codecov-notifications bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3054      +/-   ##
==========================================
+ Coverage   98.04%   98.33%   +0.28%     
==========================================
  Files         924      924              
  Lines       13761    13784      +23     
  Branches     3734     3746      +12     
==========================================
+ Hits        13492    13554      +62     
+ Misses        265      226      -39     
  Partials        4        4              
Files Coverage Δ
...iledTestsTab/FailedTestsTable/FailedTestsTable.tsx 100.00% <100.00%> (+100.00%) ⬆️
...ge/FailedTestsTab/hooks/useInfiniteTestResults.tsx 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.84% <ø> (ø)
Layouts 97.71% <ø> (ø)
Pages 99.15% <100.00%> (+0.52%) ⬆️
Services 99.47% <ø> (ø)
Shared 99.69% <ø> (ø)
UI 93.99% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37c2fd1...26415ab. Read the comment docs.

Copy link

codecov-public-qa bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.33%. Comparing base (37c2fd1) to head (26415ab).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3054      +/-   ##
==========================================
+ Coverage   98.04%   98.33%   +0.28%     
==========================================
  Files         924      924              
  Lines       13761    13784      +23     
  Branches     3710     3741      +31     
==========================================
+ Hits        13492    13554      +62     
+ Misses        265      226      -39     
  Partials        4        4              
Files Coverage Δ
...iledTestsTab/FailedTestsTable/FailedTestsTable.tsx 100.00% <100.00%> (+100.00%) ⬆️
...ge/FailedTestsTab/hooks/useInfiniteTestResults.tsx 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.84% <ø> (ø)
Layouts 97.71% <ø> (ø)
Pages 99.15% <100.00%> (+0.52%) ⬆️
Services 99.47% <ø> (ø)
Shared 99.69% <ø> (ø)
UI 93.99% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37c2fd1...26415ab. Read the comment docs.

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.33%. Comparing base (37c2fd1) to head (26415ab).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##               main      #3054        +/-   ##
================================================
+ Coverage   98.04000   98.33000   +0.29000     
================================================
  Files           924        924                
  Lines         13761      13784        +23     
  Branches       3710       3664        -46     
================================================
+ Hits          13492      13554        +62     
+ Misses          265        226        -39     
  Partials          4          4                
Files Coverage Δ
...iledTestsTab/FailedTestsTable/FailedTestsTable.tsx 100.00% <100.00%> (+100.00%) ⬆️
...ge/FailedTestsTab/hooks/useInfiniteTestResults.tsx 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.84% <ø> (ø)
Layouts 97.71% <ø> (ø)
Pages 99.15% <100.00%> (+0.52%) ⬆️
Services 99.47% <ø> (ø)
Shared 99.69% <ø> (ø)
UI 93.99% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37c2fd1...26415ab. Read the comment docs.

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Jul 25, 2024

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
3e54733 Thu, 25 Jul 2024 00:07:56 GMT Expired Expired
4666ccd Thu, 25 Jul 2024 15:22:58 GMT Expired Expired
e094492 Thu, 25 Jul 2024 19:21:53 GMT Expired Expired
e094492 Thu, 25 Jul 2024 19:25:09 GMT Expired Expired
8bf4829 Thu, 25 Jul 2024 21:54:10 GMT Expired Expired
6d2cdc4 Thu, 25 Jul 2024 22:18:44 GMT Expired Expired
6d2cdc4 Thu, 25 Jul 2024 22:23:21 GMT Expired Expired
26415ab Thu, 25 Jul 2024 22:59:30 GMT Cloud Enterprise

@ajay-sentry ajay-sentry changed the title link up hook, table seems to work but is rough Feat: Fix Failed Test Table Sort, link Hook, and add Spec Jul 25, 2024
@ajay-sentry ajay-sentry marked this pull request as ready for review July 25, 2024 22:15
Copy link
Contributor

@spalmurray-codecov spalmurray-codecov left a comment

Choose a reason for hiding this comment

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

lgtm

@ajay-sentry ajay-sentry added this pull request to the merge queue Jul 26, 2024
Merged via the queue into main with commit 6de74a9 Jul 26, 2024
61 checks passed
@ajay-sentry ajay-sentry deleted the Ajay/2140-failed-tests-hook-link branch July 26, 2024 15:51
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.

4 participants