Skip to content
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

[master] Consistent sharing acceptance test failure #26314

Closed
PVince81 opened this issue Mar 26, 2021 · 12 comments · Fixed by nextcloud/notifications#902
Closed

[master] Consistent sharing acceptance test failure #26314

PVince81 opened this issue Mar 26, 2021 · 12 comments · Fixed by nextcloud/notifications#902
Assignees
Labels
1. to develop Accepted and waiting to be taken care of bug high regression
Milestone

Comments

@PVince81
Copy link
Member

Steps

  1. Send a PR with any kind of changes to master
  2. Wait for CI
  3. 💥

Expected

No 💥

Actual

💥

The test /drone/src/tests/acceptance/features/app-files-sharing.feature:23 always fails.

    And I accept the share for "/farewell.txt" in the notifications           # NotificationsContext::iAcceptTheShareForInTheNotifications()
      Notifications button in the header could not be found after 100 seconds (NoSuchElementException)
    And I open the Files app                                                  # FilesAppContext::iOpenTheFilesApp()
@PVince81 PVince81 added bug 1. to develop Accepted and waiting to be taken care of high regression labels Mar 26, 2021
@PVince81 PVince81 added this to the Nextcloud 22 milestone Mar 26, 2021
@PVince81 PVince81 self-assigned this Mar 26, 2021
@PVince81
Copy link
Member Author

Running the test locally makes it pass.

So could be either a timeout issue or something specific to the CI setup.

@PVince81
Copy link
Member Author

Last successful build on master: https://drone.nextcloud.com/nextcloud/server/3568

Then something about php8 didn't run at all: https://drone.nextcloud.com/nextcloud/server/3574

Then the first failure appeared here: https://drone.nextcloud.com/nextcloud/server/3598/61/4

@PVince81
Copy link
Member Author

PVince81 commented Mar 26, 2021

Reproducible locally now when running that single acceptance test on master a75f0e6 and notifications 3410e5ab517f8435ab2cfd80549d43fbbfb41b1f

@PVince81
Copy link
Member Author

okay, getting this with manual test:
image

very likely related to nextcloud/notifications#899

@PVince81
Copy link
Member Author

Fix is here: nextcloud/notifications#902

@PVince81
Copy link
Member Author

It's still happening on master, for example this recent merge PR https://drone.nextcloud.com/nextcloud/server/4104/61/4 and also existing (rebased) PR: #25320

@PVince81
Copy link
Member Author

A manual test on the master branch of server + master branch of notifications, clicking through the GUI works fine, the notification appears.

However, running ./run.sh features/app-files-sharing.feature:23 in the "tests/acceptance" folder fails.

@PVince81
Copy link
Member Author

as discussed with @danxuliu, the Firefox version in the dockers and selenium are outdated and unsupported.

the error is caused by a syntax error, probably due to Babel not transpiling for such old versions

this PR #25991 updates Selenium and should fix the problem

@danxuliu
Copy link
Member

this PR #25991 updates Selenium and should fix the problem

For the record, I actually checked it and it indeed works.

@skjnldsv
Copy link
Member

Rebased 25991, let's get this in as soon as we can :)

@skjnldsv
Copy link
Member

Thank you for all the hard work on upgrading selenium :)

@danxuliu
Copy link
Member

#25991 was merged, so the failure is gone :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug high regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants