Comment 1 for bug 1860941

Revision history for this message
Rebecca Blundell (rjb-dev) wrote : Re: Behat: can't target property

At the time we are looking for the text "Note page1 block1 original title" in the modal title, the value of the title field, #instconf_title is "Placeholder", so Behat is unable to 'see' the title.

In the page source there are 6 instances of the title we are looking for, but none of those 6 are the one we want to target.

Once the modal has been saved and the data written back, it exists in the field and can be found be Behat if the configure modal is opened up again.

The question this raises is, if we can see it on the page, shouldn't the value of the field reflect what is displayed at the time?

As functionality is not affected, maybe we just label this "won't fix" and do the tests after the "Save" has happened.