[MGNLTEST-89] pageobjects.Form#openTab does not work in security app Created: 21/Aug/20  Updated: 09/Nov/23  Resolved: 09/Nov/23

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Michael Duerig Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: QA&Testing, to-verify, ui-test-fwk
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLTEST-173 Fix timing issues on Form P.O. Selected
relation
is related to MGNLTEST-66 Page objects - Provide access to defa... Closed
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: core-TF-features-bugs-improvements
Story Points: 3
Team: Foundation

 Description   

Form#openTab does not work e.g. on "Add user" form of the "Security app": (other apps might be affected: investigation needed).

 

@Test
void detectSecurityForm(PageObjects expect){
    // GIVEN
    expect.findBar().openApp("Security");
    ContentApp app = expect.contentApp("User");
    app.hitAction("Add user");

    // THEN
    expect.form(Form.detectTab("User info"))
        .setTextField("User name", "Urs")
        .openTab("Groups");
} 

Fails with an exception:

org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element <div class="v-captiontext">...</div> is not clickable at point (339, 94). Other element would receive the click: <div class="v-window-header" id="gwt-uid-55">...</div>
  (Session info: chrome=84.0.4147.105)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'Michaels-MBP.fritz.box', ip: 'fe80:0:0:0:4d6:7d82:1ef3:750f%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.14.6', java.version: '12.0.2'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 84.0.4147.105, chrome: {chromedriverVersion: 84.0.4147.30 (48b3e868b4cc0..., userDataDir: /tmp/.com.google.Chrome.PetQ3r}, goog:chromeOptions: {debuggerAddress: localhost:35547}, 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:virtualAuthenticators: true, webdriver.remote.sessionid: cc4177b188924b84e65a4d7b0da...}
Session ID: cc4177b188924b84e65a4d7b0dacccda	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285)
	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:84)
	at info.magnolia.test.selenium.pageobjects.Form.openTab(Form.java:81)
 


 Comments   
Comment by Christoph Meier [ 09/Nov/23 ]

Since admin.x / efochr currently creates a new version of the security-app - I close this one.

Once the new version of the app is present - we can check again - and likely write a couple of tests

Generated at Mon Feb 12 07:45:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.