-
Notifications
You must be signed in to change notification settings - Fork 63
Split homepage VR tests into old and new #2076
Conversation
Storybook and Tailwind configuration previews: Ready Storybook: https://wordpress.github.io/openverse-frontend/_preview/2076 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. |
Size Change: -3.65 kB (0%) Total Size: 867 kB
ℹ️ View Unchanged
|
10c9aed
to
f468b9a
Compare
f468b9a
to
762ff9c
Compare
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.
The spec changes make sense, thanks for splitting it out into a more easily reviewable PR.
) => { | ||
const pageWidth = page.viewportSize()?.width | ||
// TODO: replace when the search types can only be selected using the popover/modal | ||
console.log("Selecting homepage search type in header mode", headerMode) |
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.
console.log("Selecting homepage search type in header mode", headerMode) | |
// console.log("Selecting homepage search type in header mode", headerMode) |
Any reason to keep this?
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.
It's removed back in the further PRs :)
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.
Nice! LGTM.
Fixes
Related to #1433 by @panchovm
Description
This PR was created to make the #2075 easier to review by removing the changes to the homepage snapshots that are unrelated to the new layout changes.
Testing Instructions
This PR is failing an e2e test in the CI because on smaller screens on the new homepage, it expects to see the search type popover, but there's still a row of button from the old design.- I've commented out the new tests, so now the tests here pass.I think it's better not to add any changes, because we'd need to revert those changes in #2075 later. It's easier to just merge this PR as part of #2075.
Checklist
Update index.md
).main
) ora parent feature branch.
errors.
Developer Certificate of Origin
Developer Certificate of Origin