-
Notifications
You must be signed in to change notification settings - Fork 159
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
Move create new button #3622
Move create new button #3622
Conversation
Hmm, not sure why tests are failing in CI. Locally are passing fine and there is no other change then different width of breadcrumbs 🤷 |
d4055ab
to
6e9fb3f
Compare
I tried rebasing the PR. Let's see. |
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.
👍
I haven't figured out what is happening with the tests. Locally cannot reproduce the errors because it all passes just fine. And I don't get that only changing width of an element can fail two separate tests. 🤷 |
6e9fb3f
to
98c3435
Compare
the tests don't really click on the "Upload File" button but click the "+ New" button, check that the "Upload File" button exists and then upload the file with "setValue" it happens that the dropdown overlays the modal dialog in https://github.com/owncloud/phoenix/blob/533e8cd9e1451a4d27778f1ef51ba7aa271d2dc4/tests/acceptance/pageObjects/filesPage.js#L261 the test click on the modal dialog to close the dropdown, but because of the overlay it clicks "New mark-down file..." and that app seems to be broken and redirects to an empty window So we could:
|
IMO we should close the dropdown by doing another click on the |
1242a4e
to
f2236da
Compare
I've moved the click to the actual dropdown. Since the dropdown has padding, we do not click on any link inside and are also safe in the future in case it would be growing in size. Pls, check if you're fine with this solution @individual-it @kulmann
I've tried this solution. Using |
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
We have moved the create new button from the right side of files app bar to the left directly next to breadcrumbs.
f2236da
to
3ca616c
Compare
Yes, awesome! |
Adjusted also a bit the spacing around table header.