[MGNLTEST-386] Override pageLoadTimeout. implicitWait, explicitWait in saas-TF Created: 27/Dec/22  Updated: 09/Jan/23  Resolved: 03/Jan/23

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

Type: Improvement Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Resolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 5.5h
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLTEST-288 Set defaults for explicit waits (and ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Epic Link: cucumber-and-selenide-support-by-test-fwk
Work Started:

 Description   

Requesting an URL like https://subscription-service-ui.beta.de.magnolia-cloud.com?subscriptionId=$id may take a couple of minutes until it gets redirected to the OKTA-login-page.

Selenium has a pageLoadTimeout - which we do not set yet neither in test-framework nor in saas-TF. Default apparently is 30''.

For e2e-tests it must be increased.


Developer notes

In a first attempt I hardcoded pageLoadTimeout inĀ info.magnolia.test.saas.SaasWebdriverConfiguration

NOTE:
IntegrationTestSettings already provides #pageLoadTimeoutInSeconds - and it is even called / set in info.magnolia.test.selenium.Selenium in core-TF.

Default now can be overridden in SaasWebdriverConfiguration - by overridding the system.property - before Selenium#createWebDriver is called.


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