Skip to content

Added test case about not seeing own shares reshared with them - #27987

Merged
PVince81 merged 1 commit into
masterfrom
inttest-unsharing-something-reshared-with-you
May 24, 2017
Merged

PVince81 merged 1 commit into
masterfrom
inttest-unsharing-something-reshared-with-you

Conversation

@SergioBertolinSG

Copy link
Copy Markdown
Contributor

No description provided.

@SergioBertolinSG

SergioBertolinSG commented May 23, 2017 •

Copy link
Copy Markdown
Contributor Author

@phil-davis @individual-it there is a failure in travis when using firefox:

Problem of the test or actual bug?

   When I rename the folder "simple-folder" to one of these names # FilesContext::iRenameTheFileToOneOfThisNames()
      | simple/folder    |
      | .htaccess        |
      | simple\folder    |
      | \\simple/folder  |
      | ../simple-folder |
      Element is no longer attached to the DOM

@phil-davis

phil-davis commented May 23, 2017 •

Copy link
Copy Markdown
Contributor

There seem to be some timing conditions when the tests take some action and need to wait for the page to refresh/AJAX to respond... and if the sleep wakes up to check if the page is ready to progress but finds the page in some unfortunate transition state then this stale element reference http://www.seleniumhq.org/exceptions/stale_element_reference.jsp has been seen.
@individual-it has been looking today at how to make this more robust, as well as reducing the sleep times (to minimize wasted elapsed test time) - https://github.com/individual-it/owncloud-core/pull/20/files
I restarted the job that got the error.
I don't expect there is any problem with your code or any other recent commit to master. Probably the UI test will pass this time - we will see.

@phil-davis

phil-davis commented May 23, 2017 •

Copy link
Copy Markdown
Contributor

The Travis job worked this time. We will be working to find all the annoying timing conditions in this sort of testing!

@SergioBertolinSG
SergioBertolinSG requested a review from PVince81 May 24, 2017 07:04
@SergioBertolinSG

Copy link
Copy Markdown
Contributor Author

Great, thanks @phil-davis

@PVince81

Copy link
Copy Markdown
Contributor

👍

@PVince81
PVince81 merged commit cbc6a85 into master May 24, 2017
@PVince81
PVince81 deleted the inttest-unsharing-something-reshared-with-you branch May 24, 2017 08:52
@PVince81

Copy link
Copy Markdown
Contributor

please backport to 9.1 and 9.0

@PVince81 PVince81 mentioned this pull request May 24, 2017
4 of 9 tasks
@SergioBertolinSG

Copy link
Copy Markdown
Contributor Author

This Pr required a change: #27998

backports in:
stable9.1 #27997
stable9 #27999 cherry picked in #28000

@lock

lock Bot commented Aug 3, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants