Problem/Motivation
From another issue's testbot output, Drupal\diff\Tests\ViewModeTest::testViewMode()
is failing (not related to the fix of the other issue).
The first problem is because from a core commit (962eddec66f5542b4de206b0f2837a148ff686a1
) they've added 'region'
to kinda behave like the 'type'
core.entity_view_display.*.*.*
field (whether to display the field or not).
Another problem is probably that by assertNoText($value)
in a page that compares two revisions where in the first one it has that $value
, it doesn't work (?)
Not sure how it passed before that core commit or if it actually affect this test much that it breaks it...
Proposed resolution
- research
- discussion
- fix it
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#4 | fix_viewmodetest-2822368-4.patch | 495 bytes | tduong |
Comments
Comment #2
tduong CreditAttribution: tduong at MD Systems GmbH commentedBased on the current head test, I've tried a git bisect setting the good core commit on one of the commits at 24th of October 2016, but I keep getting a failing test.
So I checked when was the last time that Drupal\diff\Tests\ViewModeTest::testViewMode() has been edited and as its testbot results on the 13th of October 2016 are all fine, I've checked out to the last core commit the day before
But it still fails to check that
'Body'
,'Foo'
and'Fighters'
... now I guess it is something in the Diff scope.Comment #3
tduong CreditAttribution: tduong at MD Systems GmbH commentedHmm just checked out to the
in the Diff scope and ran the test but it fails (temporary fixing that
'fields[body][type]'
toregion
), anayway...Not sure what is the problem now..
Comment #4
tduong CreditAttribution: tduong at MD Systems GmbH commentedThis just fix part of the test fail.
Comment #5
tduong CreditAttribution: tduong at MD Systems GmbH commentedComment #6
BerdirThis should be enough to fix this test, go testbot.
Comment #8
miro_dietikerCommitted. :-)