Anticipate Timeout-Exceptions on UI tests (MGNLTEST-208)

[MGNLTEST-210] Abort vaadinIsDone Created: 01/Apr/22  Updated: 18/May/22  Resolved: 12/Apr/22

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

Type: Sub-task Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: VN-Testing
Remaining Estimate: Not Specified
Time Spent: 1d 7h
Original Estimate: Not Specified

Template:

 Description   

Abort / stop vaadinIsDone after a certain time in:

  • at least VaadinWebElementWrapper
  • maybe also in VaadinWebDriverWrapper

Hopefully applicable in ExpectedCondition#apply

Developer note:

Check → com.vaadin.client.ApplicationConnection#initializeTestbenchHooks
(Our JS was +/- copy/paste from vaadin. )

Refine info.magnolia.test.selenium.VaadinWebElementWrapper, ExpectedCondition#apply as done in: https://github.com/vaadin/testbench/blob/06dcf3d589af98349a06752579394e8fc2164fd7/vaadin-testbench-core/src/main/java/com/vaadin/testbench/commands/TestBenchCommandExecutor.java#L109



 Comments   
Comment by Christoph Meier [ 12/Apr/22 ]

Since the PR build were failing soooooo often - I have disabled 2 tests  
But there are tickets to re-enable these tests again:

Comment by Christoph Meier [ 12/Apr/22 ]

Reviewed and integrated (to main and release/1.2)

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