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

fix: Fixes another StaleElementReferenceException in lobby tests. #310

Merged
merged 1 commit into from
Sep 2, 2020

Conversation

damencho
Copy link
Member

@damencho damencho commented Sep 2, 2020

When participant leaves we can be checking the dialog in the moment it is about to hide.
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
....
org.openqa.selenium.remote.RemoteWebElement.findElementById(RemoteWebElement.java:221)
org.openqa.selenium.By$ById.findElement(By.java:188)
org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:181)
org.jitsi.meet.test.pageobjects.web.KnockingParticipantList.lambda$getParticipants$0(KnockingParticipantList.java:94)
java.util.ArrayList.forEach(ArrayList.java:1257)
org.jitsi.meet.test.pageobjects.web.KnockingParticipantList.getParticipants(KnockingParticipantList.java:88)
org.jitsi.meet.test.LobbyTest.testLobbyUserLeaves(LobbyTest.java:284)
...

When participant leaves we can be checking the dialog in the moment it is about to hide.
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
....
org.openqa.selenium.remote.RemoteWebElement.findElementById(RemoteWebElement.java:221)
  org.openqa.selenium.By$ById.findElement(By.java:188)
  org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:181)
  org.jitsi.meet.test.pageobjects.web.KnockingParticipantList.lambda$getParticipants$0(KnockingParticipantList.java:94)
  java.util.ArrayList.forEach(ArrayList.java:1257)
  org.jitsi.meet.test.pageobjects.web.KnockingParticipantList.getParticipants(KnockingParticipantList.java:88)
  org.jitsi.meet.test.LobbyTest.testLobbyUserLeaves(LobbyTest.java:284)
  ...
@damencho damencho merged commit 0cd5caa into master Sep 2, 2020
@damencho damencho deleted the fix-another-stale branch September 2, 2020 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants