-
Notifications
You must be signed in to change notification settings - Fork 37
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
fix: publish image from snapshot created in a project that is not the default project #825
fix: publish image from snapshot created in a project that is not the default project #825
Conversation
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.
As this was a bug might be good to add a test case for this, wdyt?
Yes indeed, will add the test shortly. |
e11c557
to
0e6bd94
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.
Thanks for adding the test! Some ideas to improve on the test code below.
whilst trying to fix the failing CI test on firefox, I picked up an issue. The "select all" checkbox is shifted higher usual (see screenshot below) This is caused by this style which I believe was a fix put in previously for safari. Removing it fixes the issue. This is the cause for tests to fail on firefox, since we need to click the input element associated with the checkbox label span. With the span shifted higher, it overlays the input element which causes the click event to fail. To make the test pass, we can add the styling below:
This would shift the hidden input element up so that the label span no longer overlays the input. But I don't see this being a solution, @edlerd not sure if you have any ideas? Edit: so adjusting the safari fix by negating the style on firefox works.
|
… default project Signed-off-by: Mason Hu <[email protected]>
0e6bd94
to
9dca514
Compare
@edlerd ready for another pass thanks 🙂 |
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, thanks for the fix and adding a test for it.
Done
Fixes #824
QA