Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-105

Consolidate initial existence check for PageObjects

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.2.2
    • None

      Currently assertExists contract is vague and slightly inconvenient (void return type, throws Selenium exception)

      • we foresee evolving the PageObject interface by replacing or complementing #assertExists with and #exists method (facilitates assertions too)
      • should return boolean and/or Optional<WebElement> (if the latter, must be package-private not to expose Selenium API)
      • PageObjects provider facility should be able to perform additional visibility checks when instantiating POs, so that all individual POs don't have to write custom checks.

        Acceptance criteria

              mduerig Michael Duerig
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 0.5h
                    0.5h