[MGNLTEST-139] page objects tends to fail initialization on PublicationWorkflowFunctionalTests#setUp Created: 14/Jan/21 Updated: 18/Jun/21 Resolved: 04/Jun/21 |
|
| Status: | Closed |
| Project: | Magnolia Test Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Adam Siska | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | shaky-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1d 3h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Epic Link: | Fn tests spike 2 | ||||||||||||||||
| Story Points: | 5 | ||||||||||||||||
| Description |
|
Since MGNLEE-168 there is shakines in passing functional tests here: Stacktrace org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document (Session info: chrome=88.0.4324.96) For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/stale_element_reference.html Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'ip-172-30-100-76', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-1052-aws', java.version: '1.8.0_152' Driver info: org.openqa.selenium.remote.RemoteWebDriver Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 88.0.4324.96, chrome: {chromedriverVersion: 88.0.4324.96 (68dba2d8a0b14..., userDataDir: /tmp/.com.google.Chrome.kouzz4}, goog:chromeOptions: {debuggerAddress: localhost:40377}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true, webdriver.remote.sessionid: 96d5b97aaefdde0a5cebe5e3d5d...} Session ID: 96d5b97aaefdde0a5cebe5e3d5ddd5a6 at info.magnolia.functionaltests.PublicationWorkflowFunctionalTests.setUp(PublicationWorkflowFunctionalTests.java:62) Notes:
To reproduce:
@Test
void loginLogin(PageObjects expect){
expect.loginPage().login(Personas.ARMIN);
expect.loginPage().login(Personas.ERIC);
}
Note that the 2nd expect.loginPage().login should logout first. The code is valid to swap the user. |
| Comments |
| Comment by Christoph Meier [ 01/Mar/21 ] |
|
Doesn't seem to be a blocker anymore. We fix first |
| Comment by Christoph Meier [ 01/Mar/21 ] |
|
Most recent observed failures happen on |
| Comment by Christoph Meier [ 04/Jun/21 ] |
|
|