-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Frontend testing using puppeteer #8357
Conversation
8a7e641
to
b2f5841
Compare
tests/ui-regression/config.js
Outdated
{title: 'mobile', w: 360, h: 480}, | ||
{title: 'narrow', w: 800, h: 600}, | ||
{title: 'normal', w: 1024, h: 768}, | ||
{title: 'wide', w: 1920, h: 1080} |
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.
qhd & uhd? :)
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'll have a look when I the tests are running fine in drone. 👍
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.
Also uwqhd! It starts to be more and more common nowadays (21/9 monitors) :)
1fb213b
to
9660ba5
Compare
Some input about how we should handle failing screenshot comparison would be nice. Ideally we would have the following:
@MorrisJobke If i remember this correctly, we can use secrets in drone securely and use them within pull requests, if the drone job doesn't run any script from the git repo. So I thought we can create a drone plugin that is separate from the main test run for publishing the screenshot files and commenting on github. Is there anything else that I need to be aware of here? |
Sounds good. Yes - should be fine. I would still like to have a new GitHub account for this and not use the Nextcloud-bot, because this one has push permissions to the repos. On the other hand the API token should also have quite limited scope if set up correctly. |
c6033c1
to
116197d
Compare
.drone.yml
Outdated
TESTS: ui-regression | ||
publish-s3: | ||
image: plugins/s3 | ||
endpoint: https://ci-assets.nextcloud.com.weasel.rocks |
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.
Just drop the .weasel.rocks
, as it is under the correct domain now.
bbc5974
to
13e2d7b
Compare
3e73735
to
ae70f07
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
…ore stable Signed-off-by: Julius Härtl <jus@bitgrid.net>
225983a
to
ffe590f
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net> Reincrement network idle to 3 s Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
009b5d7
to
e6d3b65
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
32fd185
to
4120029
Compare
As discussed with @rullzer Lets get this in and fix possible risky tests after. Failing UI regression tests will not cause blocking of pr merge as of right now. Tests that sometimes fail/existing issues:
|
Failing acceptance-app-files unrelated: https://drone.nextcloud.com/nextcloud/server/9324/234 Fails on master as well |
TODO:
uwqhdresolutionsResults are pushed to s3 right now: https://s3.eu-central-1.amazonaws.com/nextcloud-ui-regression/nextcloud/server/8357/index.html
Running tests locally
Tests
installation:
login:
files:
settings:
files_sharing: