[MGNLTEST-268] Support to setup cucumber UI -tests Created: 20/Jun/22  Updated: 25/Jul/22  Resolved: 14/Jul/22

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

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 2d 6.5h
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: cucumber-and-selenide-support-by-test-fwk
Team: Foundation

 Description   

Reduced scope now

See comment on MGNLTEST-279 why scope has been reduced.
Now only adding support for

  • webdriver creation - using same code as in junit-5-UI-tests
    • This ensures having exact same selenium webdriver setup
    • reading the values from IntegrationTestSettings which is a central point of configuration for UI/INT tests
  • Support for VncRecorder

Totally skipping dependency management for cucumber - letting this to module where the real tests are.
We may add dependency management for cucumber once we split up the TF into separate modules including a TF BOM.


OLD DESCRIPTION

(Old summary: Cucumber support for test-fwk (incl. for UI tests)

General tasks

  • Manage dependencies for cucumber libs
  • Manage dependencies for JUnit-libs which are required to run cucumber tests
  • Enable dependency injection which is (often) required for step-definition-classes
  • Ensure the test-fkw can trigger cucumber style tests
  • Add self-tests

Regarding UI tests

UI-tests are the main use-case for cucumber-style tests. In this context, make sure that:

  • Handle webdriver life-cycle (initialize & destroy)
  • Handle VNCRecorder life-cycle / record&save video for failed tests


 Comments   
Comment by Christoph Meier [ 14/Jul/22 ]

Reviewed (by Mika) & integrated

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