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

Form#setTextField does not reliably clear existing text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Resolved
    • Icon: Neutral Neutral
    • None
    • 1.0.2
    • Yes

      Repeat the test mentioned above specifically and try to figure out what's wrong in the context of the test. Form#setTextField is stable nowadays. If not reproducible, close the ticket.

      Form#setTextField sometimes fails to clear the existing text in the text field, which results in the new text being appended to the existing one.

      Observed behaviour

      Calling Form#setTextField("bynder230.png") on the Asset name text field sets the text to bynder.pngbynder230.png.

      Expected behaviour

      The text should be set to bynder230.png

      Steps to reproduce

      Run DamBynderUITest#uploadDownloadEditDeleteBynderAsset multiple times until this happens. Doesn't always reproduce.

      Initial analysis

      The problem seems to be specific to the asset upload dialogue for Bynder assets: it automatically sets an asset name upon upload whereas uploading Magnolia assets leaves the asset name field blank.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: