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

#setTextField on Form works for "all" kind of text fields

    XMLWordPrintable

Details

    Description

      New description:


      Currently we have the method

       public Form setTextField(String caption, String text) 

      on info.magnolia.testframework.Form.

      The method works if the text field is has "one row" only. As soon as it it has more rows rendered as TextArea, the setter fails.

      Proposed Task:
      Adapt implementation of setTextField(String caption, String text) to make sure it can handle text fields wit one or many rows and that it even works for RichText field.

      imho currently I see no need to support RichText specifically for UI tests. All "additional features" of the RichTextField so far will not be tested.


      OLD description:

      Provide a page object for the RichTextField, also extend the Form to to use this new object via form.

      Required functions on the rich text field page object:

      • Enter text

      So far I see no need to support the "more sophisticated" features of the rich text field. A
      Adding text seems sufficient.


      Main use case: Pages app

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mduerig Michael Duerig
                cmeier Christoph Meier
                Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR