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

Consolidate framework for PagesCoreFunctionalTests

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 1.0.2
    • None
    • None

    Description

      Placeholder for various timing and design issues:

      Some symptoms:

      • PCFT#addPage would fail to hit the Add page action
        —hitting actions was recently based off mouse-position clicks; however captured position may be unreliable if a CSS transition is ongoing. 
      • PCFT#editPage would silently fail to select a row, consequently failing on unexpected action availability
        —presumably a vaadin-wait would be in order, tentatively abstracting the mechanism away behind WebDriver|Element interaction.
      • ContentAppTest#publish would fail to assert "not published" status, due to discrepancy in labeling this status between M5 (Not published) vs. M6 (Unpublished), and overlapping presence of both Pages apps, undistinguished, in the test-webapp.

      Some design issues:

      • ContentApp holding selectors for two Grid-related locators (activation status, marked-as-deleted indicators)
      • Button usage passing WebElement references around, instead of encapsulating #click

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mgeljic Mikaël Geljić
                mgeljic Mikaël Geljić
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR