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

Simplify checking for custom error pages

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0.2
    • None

      Checking for the presence of a custom error page needs to be explicitly coded currently:

      expect.renderedPage("").hasText("Custom 404 Page");
      

       

      Devise and implement an API that allows to check for custom error pages on a higher, more semantic level. Something along the lines of

      expect.renderedPage().isErrorPage(); 

       

        Acceptance criteria

              mduerig Michael Duerig
              mduerig Michael Duerig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD