Testing mui5 branch #3792
Replies: 3 comments
-
A large number of the tests are also failing since there's an expectation of certain classes (horizontal, vertical, and small being the most obvious) that do not get added to elements anymore. Obviously, while removing them would fix the tests, I'm assuming it would be more helpful for someone who knows what the styling should expect to happen to add more meaningful tests. As an example of what I mean, horizontal had the expectation that the width would be set to 100% so a test like the following might work:
|
Beta Was this translation helpful? Give feedback.
-
PR #3798 addresses the failure of |
Beta Was this translation helpful? Give feedback.
-
Hi, Any idea what I might need to refactor? Or is this just because the branch is still in development? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Been taking a look at the mui5 branch and was pointed to the discussion section to clarify some things before making PRs.
mirador-
classname prefix had been removed. I do not know if the appropriate solution here would be to a) update the test and make a PR or b) open an issue in case the solution should have the prefix and the test should not be changed.OpenSeadragonViewer.test.js
were due to the lineOpenSeadragon.getViewer
. After some quick research, it seems like the functiongetViewer
did not exist back in[email protected]
even though the package.json says it's acceptable (and also this is what a cleannpm install
decided to install on my end). Once I did a manual upgrade to[email protected]
, all the tests passed for me. Similar to the first point above, should this be a discussion about a) removing support for[email protected]
or b) updating the tests (if possible) to have a way to be backwards compatible with older openseadragon since we are saying that 2.4.2 is acceptable to use.Hope this is all helpful to getting to React 18! will update with more finds/questions as they arise.
Beta Was this translation helpful? Give feedback.
All reactions