Fix SimpleTests errors for testFormatterManageDisplaySettings

Created on 31 May 2016, almost 9 years ago
Updated 29 March 2025, 21 days ago

Following up with the commit 0247266 at Add initial simpletests with a base class Closed: won't fix , SimpleTests failed some of the tests .
This is a very annoying situation, which I've encountered many times while working on SimpleTests for drupal.org:
Running tests on a local server and on QA leads to different results....

Among some of the errors reported:

testFormatterManageDisplaySettings
fail: [Other] Line 313 of sites/all/modules/image_link_formatter/image_link_formatter.test:
Failed to set field fields[nwdlsk72][type] to image_link_formatter

fail: [Other] Line 313 of sites/all/modules/image_link_formatter/image_link_formatter.test:
Failed to set field refresh_rows to nwdlsk72

fail: [Other] Line 313 of sites/all/modules/image_link_formatter/image_link_formatter.test:
Found the requested form fields at 

fail: [Other] Line 313 of sites/all/modules/image_link_formatter/image_link_formatter.test:
Ajax response header found.

fail: [Browser] Line 315 of sites/all/modules/image_link_formatter/image_link_formatter.test:
The Image Link Formatter is selected.

fail: [Other] Line 318 of sites/all/modules/image_link_formatter/image_link_formatter.test:
Found the requested form fields at 

fail: [Other] Line 318 of sites/all/modules/image_link_formatter/image_link_formatter.test:
Ajax response header found.

fail: [Browser] Line 322 of sites/all/modules/image_link_formatter/image_link_formatter.test:
Formatter "Link image to" is not yet configured.

fail: [Other] Line 328 of sites/all/modules/image_link_formatter/image_link_formatter.test:
Failed to set field fields[nwdlsk72][settings_edit_form][settings][image_link] to h26nbuuk

fail: [Other] Line 328 of sites/all/modules/image_link_formatter/image_link_formatter.test:
Found the requested form fields at 

Therefore, I'm thinking the only choice right now would be a trial and error approach, with as much debugging information we could get on QA.

Submitting patch for test on QA shortly.

📌 Task
Status

Closed: won't fix

Version

1.0

Component

Automated testing

Created by

🇫🇷France dydave

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024