Skip to content

tests: fix failing header acceptance test - #20347

Merged
skjnldsv merged 1 commit into
nextcloud:masterfrom
azul:test/fix-failing-acceptance
Apr 8, 2020
Merged

tests: fix failing header acceptance test#20347
skjnldsv merged 1 commit into
nextcloud:masterfrom
azul:test/fix-failing-acceptance

Conversation

@azul

@azulazul commented Apr 7, 2020

Copy link
Copy Markdown
Contributor

The username is listed in a div with class fullname now.

The username is listed in a div with class `fullname` now.
Signed-off-by: Azul <azul@riseup.net>
@azul
azulforce-pushed the test/fix-failing-acceptance branch from 951ed57 to 62f7e6bCompareApril 7, 2020 12:57
@azul

azul commented Apr 7, 2020

Copy link
Copy Markdown
ContributorAuthor

Looks like there are acceptance tests in 3 files failing right now:

 /nextcloud/tests/acceptance/features/app-comments.feature:21
/nextcloud/tests/acceptance/features/app-comments.feature:233
/nextcloud/tests/acceptance/features/app-comments.feature:288
/nextcloud/tests/acceptance/features/app-comments.feature:308
/nextcloud/tests/acceptance/features/app-files-sharing-link.feature:26
/nextcloud/tests/acceptance/features/app-files-sharing-link.feature:135
/nextcloud/tests/acceptance/features/header.feature:24
/nextcloud/tests/acceptance/features/header.feature:31
/nextcloud/tests/acceptance/features/header.feature:44
/nextcloud/tests/acceptance/features/header.feature:65

This one fixes the last.

I'm happy to continue working on these to get a green CI.
Is there a way to get screenshots or html dumps of failing acceptance tests?
I'm currently running them with

tests/acceptance/run.sh features/app-comments.feature

Is there a faster way that keeps the docker containers up or runs them in the main system?

@gary-kim

gary-kim commented Apr 7, 2020

Copy link
Copy Markdown
Member

You're probably not going to get reliable green CI. There seem to be some agents on the CI system that are really slow for some reason so @nextcloud/infrastructure probably has to deal with that. Of course, nothing bad about trying to get the tests we have to be correct!

BTW, I also host drone instances so let me know if I can be of help with that?

Is there a faster way that keeps the docker containers up or runs them in the main system?

Take a look at the drone exec command in the Drone CLI

@gary-kimgary-kim added 3. to review Waiting for reviews bug labels Apr 7, 2020
@skjnldsv

Copy link
Copy Markdown
Member

You're probably not going to get reliable green CI.

We improved a lot lately on lowering the load on our CI infrastructure :)
We got some green before, no reason it should not again 🙈

Thanks a lot for the fix on header! Works nicely!!

@skjnldsv
skjnldsv requested a review from danxuliuApril 8, 2020 05:08
@gary-kim

gary-kim commented Apr 8, 2020

Copy link
Copy Markdown
Member

We got some green before, no reason it should not again see_no_evil

It's basically like a betting game. If you do it wrong, of course you lose. If you do it right, then maybe, just maybe, you'll get green ✔️ . :)

@skjnldsv
skjnldsv merged commit bb93799 into nextcloud:masterApr 8, 2020
@welcome

welcomeBot commented Apr 8, 2020

Copy link
Copy Markdown

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 8, 2020
@azul
azul deleted the test/fix-failing-acceptance branch April 8, 2020 07:50
@rullzerrullzer mentioned this pull request Apr 8, 2020
80 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@azul@gary-kim@skjnldsv