Remove cypress suppression of uncaught exceptions - #3063
Conversation
|
@manaswinidas it looks like we're still getting the exception - I think we need to upgrade PatternFly to pull in the fix. According to this PR comment it was released in |
|
Oops should have checked that. The tests are passing locally for me. Also, why is |
|
good question... looking into it. also I'm not sure why tests are passing for you locally... do you have the newer PF installed somehow? |
|
I'm confused by the test failing on |
|
The tests are passing for me locally too... I think maybe there's a rendering race condition and the exception isn't necessarily always thrown. Maybe we can just upgrade PF and make sure it passes and that's sufficient. |
|
@mturley |
|
/hold |
|
Once PF releases and we unblock this, let's make sure to also remove the newly introduced instance of this in https://github.com/opendatahub-io/odh-dashboard/pull/3116/files#diff-cfd373dd2cc4bd02bbf6aa15837b2b82aed88e0ef783079334d738c8b22d6ceaR206-R208 |
f254913 to
064c673
Compare
beefd7f to
eb2d80d
Compare
mturley
left a comment
There was a problem hiding this comment.
Thanks @manaswinidas ! This was a fun one huh
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mturley The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/unhold |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3063 +/- ##
==========================================
+ Coverage 80.84% 85.22% +4.38%
==========================================
Files 1243 1244 +1
Lines 27099 27117 +18
Branches 7144 7152 +8
==========================================
+ Hits 21907 23111 +1204
+ Misses 5192 4006 -1186
... and 595 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
* Update @odh-dashboard/model-registry: refactor(ui): extract shared catalog settings foundation (#3063) (resolved conflicts) Upstream commit: 85aa6a9042f8aaca8cd3dc39b5d39b09013e51d8 * Update @odh-dashboard/model-registry: feat(catalog): add logo image endpoint for MCP servers (#3056) (resolved conflicts) Upstream commit: 3940df0d981f6d1ba4feead11a65e54f9e21b739 * Update @odh-dashboard/model-registry tracking to dc2aadf5cadb9c54c238c33b12ca64bf17200525 (no file changes) * Update @odh-dashboard/model-registry: Update model catalog validated arguments microcopy (#3076) Upstream commit: fca5d6986d9109cc1cf822250af1f9b064b91509 * Update @odh-dashboard/model-registry: Refactor catalog settings context and routes (#3074) Upstream commit: 9de5a360da4b14a07231960ceb76ef28d458b91b * Update @odh-dashboard/model-registry: chore(deps): bump dompurify from 3.4.12 to 3.4.13 in /clients/ui/frontend (#3067) (resolved conflicts) Upstream commit: eb5ba42c3e8c336648bdf648347d6ac8e1a7b48c * fix: update model-serving cypress mock imports after #9144 Point modelServingModelCapabilities and preconfigureValidatedArguments specs at k8s-core, model-serving, and plugin-core mock exports instead of removed @odh-dashboard/internal/__mocks__ paths. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Manaswini Das <dasmanaswini10@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
* Update @odh-dashboard/model-registry: refactor(ui): extract shared catalog settings foundation (opendatahub-io#3063) (resolved conflicts) Upstream commit: 85aa6a9042f8aaca8cd3dc39b5d39b09013e51d8 * Update @odh-dashboard/model-registry: feat(catalog): add logo image endpoint for MCP servers (opendatahub-io#3056) (resolved conflicts) Upstream commit: 3940df0d981f6d1ba4feead11a65e54f9e21b739 * Update @odh-dashboard/model-registry tracking to dc2aadf5cadb9c54c238c33b12ca64bf17200525 (no file changes) * Update @odh-dashboard/model-registry: Update model catalog validated arguments microcopy (opendatahub-io#3076) Upstream commit: fca5d6986d9109cc1cf822250af1f9b064b91509 * Update @odh-dashboard/model-registry: Refactor catalog settings context and routes (opendatahub-io#3074) Upstream commit: 9de5a360da4b14a07231960ceb76ef28d458b91b * Update @odh-dashboard/model-registry: chore(deps): bump dompurify from 3.4.12 to 3.4.13 in /clients/ui/frontend (opendatahub-io#3067) (resolved conflicts) Upstream commit: eb5ba42c3e8c336648bdf648347d6ac8e1a7b48c * fix: update model-serving cypress mock imports after opendatahub-io#9144 Point modelServingModelCapabilities and preconfigureValidatedArguments specs at k8s-core, model-serving, and plugin-core mock exports instead of removed @odh-dashboard/internal/__mocks__ paths. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Manaswini Das <dasmanaswini10@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Closes: https://issues.redhat.com/browse/RHOAIENG-10715
Closes: https://issues.redhat.com/browse/RHOAIENG-7565
Closes: https://issues.redhat.com/browse/RHOAIENG-11444
Closes: https://issues.redhat.com/browse/RHOAIENG-11847
Description
These snippets had been introduced to work around a Patternfly bug with
ExpandableSectionpatternfly/patternfly-react#10410 This has been fixed - removing these suppressions because they can hide other uncaught exceptions.How Has This Been Tested?
modelVersionArchive.cy.tsandregisteredModelArchive.cy.tsand check whether they run fine.Test Impact
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main