Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The automated tests are failing, see https://www.drupal.org/node/632214/qa
Proposed resolution
- Fix the schema errors reported in Drupal\Tests\colorbox\FunctionalJavascript\ColorboxJavascriptTest
- NodeCreationTrait was moved from namespace Drupal\simpletest to Drupal\Tests\node\Traits.
reference in \Drupal\Tests\colorbox\FunctionalJavascript\ColorboxJavascriptTest should be updated. - Switch to \Drupal\FunctionalJavascriptTests\WebDriverTestBase, since JavaScriptTestBase is deprecated.
Remaining tasks
Write a patchReview- Commit
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#4 | colorbox-fix_automated_test-3023262-4.patch | 3.03 KB | idebr |
#4 | interdiff-3-4.txt | 2.52 KB | idebr |
Comments
Comment #2
oknateComment #3
oknateComment #4
idebr CreditAttribution: idebr at iO commentedAttached patch fixes the ColorboxJavascriptTest by fixing the schema errors. It also updates traits and its base class to non-deprecated versions.
Comment #5
oknateLooks good to me, marking RTBC.
Comment #6
Neslee Canil PintoMuch needed patch. Thanks
Comment #8
Neslee Canil Pinto@idebr and @oknate #4 didn't solve that issue yet. https://www.drupal.org/node/632214/qa is still failing for 8.x-1.x.
Comment #9
Neslee Canil PintoThanks, Tests got pass.