Problem/Motivation
drupal-check output:
drupal-check web/modules/contrib/paragraphs_features
10/10 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] No errors
deprecations after running tests:
Remaining deprecation notices (7)
7x: Drupal\Tests\BrowserTestBase::$defaultTheme is required in drupal:9.0.0 when using an install profile that does not set a default theme. See https://www.drupal.org/node/3083055, which includes recommendations on which theme to use.
1x in ParagraphsFeaturesAddInBetweenTest::testAddInBetweenFeature from Drupal\Tests\paragraphs_features\FunctionalJavascript
1x in ParagraphsFeaturesDeleteConfirmationTest::testDeleteConfirmation from Drupal\Tests\paragraphs_features\FunctionalJavascript
1x in ParagraphsFeaturesDeleteConfirmationTest::testCkEditorAfterCancel from Drupal\Tests\paragraphs_features\FunctionalJavascript
1x in ParagraphsFeaturesExtendedParagraphsWidgetTest::testAddInBetweenFeature from Drupal\Tests\paragraphs_features\FunctionalJavascript
1x in ParagraphsFeaturesSingleActionTest::testSingleActionOption from Drupal\Tests\paragraphs_features\FunctionalJavascript
1x in ParagraphsFeaturesSingleActionTest::testAddAboveSupport from Drupal\Tests\paragraphs_features\FunctionalJavascript
1x in ParagraphsFeaturesSplitTextTest::testSplitTextFeature from Drupal\Tests\paragraphs_features\FunctionalJavascript
Remaining tasks
- Add core_version_requirement to paragraphs_features.info.yml.
- Add defaultTheme to the tests.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | interdiff_10-13.txt | 755 bytes | tdnshah |
| #13 | 3120474-13.patch | 2.4 KB | tdnshah |
Comments
Comment #2
suresh prabhu parkala commentedPlease review!
Comment #3
jeroent$defaultTheme is missing from the tests.
Comment #4
suresh prabhu parkala commentedPlease review!
Comment #6
jeroentIt seems the test ParagraphsFeaturesSplitTextTest is failing because some css classes are missing.
I would suggest add
protected $defaultTheme = 'stark';to ParagraphsFeaturesJavascriptTestBase since all other tests are extending that class and overriding $defaultTheme with 'classy' for ParagraphsFeaturesSplitTextTest.Comment #7
suresh prabhu parkala commentedPlease review the updated patch. Thank you.
Comment #8
jeroentPatch looks good to me. and is passing on Drupal 8.8 and Drupal 8.9.
Comment #9
jeroentah, I missed this one. The module is still not installable on Drupal 9 because of this line in composer.json:
Comment #10
suresh prabhu parkala commentedPlease review the patch.
Comment #11
jeroentLooks good to me.
Comment #12
jeroentPatch is failing since #2753889: Convert ParagraphsTestBase and the easy-to-convert tests extending it to BrowserTestBase was committed to paragraphs.
The trait used in
Drupal\Tests\paragraphs_features\FunctionalJavascript\ParagraphsFeaturesJavascriptTestBaseshould be updated fromDrupal\paragraphs\Tests\Classic\ParagraphsCoreVersionUiTestTraittoDrupal\Tests\paragraphs\Traits\ParagraphsCoreVersionUiTestTrait.Comment #13
tdnshah commentedUpdating as per suggestion in #12
attaching patch for the same
Comment #14
tdnshah commentedComment #15
jeroentComment #16
manav commented1. Upgrade status:
Paragraphs Features No known errors2. drupal-check:
#13 patch working fine.
RTBC
Comment #17
manav commentedComment #19
chr.fritsch@volkerk approved https://github.com/thunder/paragraphs_features/pull/28
Comment #21
chr.fritschDone
Comment #22
manav commented