Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Mar 2022 at 07:11 UTC
Updated:
5 Feb 2024 at 10:59 UTC
Jump to comment: Most recent
Comments
Comment #2
smustgrave commentedRemoved https://www.drupal.org/project/rdf/issues/2254191 as it's being removed from core
Are there still sub tickets needed to be created?
Comment #3
smustgrave commentedComment #4
smustgrave commentedNot sure
core/profiles/standard/tests/src/FunctionalJavascript/StandardJavascriptTest.php
core/profiles/standard/tests/src/Functional/StandardTest.php
Should be changed
Comment #5
smustgrave commentedAdding core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
to the list of not sure
Comment #6
smustgrave commentedComment #7
smustgrave commentedComment #8
smustgrave commentedComment #9
smustgrave commented@quietone opened tickets and marked those tests in italics in the IS that I wonder should remain with standard.
Comment #10
longwaveFWIW I am not sure that adding dependencies on
olivero_testto non-Olivero related tests is a good idea, it just means that we are coupling the tests to Olivero - it seems better to set up the test config that we need manually, or (perhaps) have a more generic module that can do it for us.Comment #11
smustgrave commentedI thought about that. Reason I like olivero_test is because it contains article with comment, body, entity reference and everything you need for a majority of the tests
Comment #12
smustgrave commentedSince I needed olivero_test for https://www.drupal.org/project/drupal/issues/2254189 I added a test module there. But can't figure out the error.
Comment #13
smustgrave commentedDo any of these need to get in for D10?
Comment #14
quietone commentedGrouped the remaining issues in the IS.
Comment #15
quietone commentedComment #16
smustgrave commentedThanks for bringing this back up. Some of these were my first core contribution attempts so glad to be able to circle back
Comment #17
quietone commentedMoved two tests that are testing the Standard profile to the list of the one not to be converted.
Comment #18
quietone commentedComment #19
smustgrave commented@quietone can help on these but want to get one reviewed before moving on to the next. Been having trouble with that part.
Comment #20
quietone commentedConverted another one and updated the IS.
Comment #21
quietone commentedComment #22
quietone commentedComment #23
quietone commentedJust 3 more to do.
Comment #24
smustgrave commentedWith regards to MediaStandardProfileTest it appears to only be testing the media bundles that ship with standard. We could move those config to a test module but then we are testing regular bundles and not the bundles that standard ship with, which not sure is correct thoughts?
Comment #25
quietone commentedThe remaining test is core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php. I asked in Slack #media if this needs to use the standard profile. marcoscano, a maintainer, replied that it does, stating "In principle that's testing the config that ships with the standard profile, so I'd say yes, I think so". It is good I asked because when I first looked at the file I didn't think it needed to use the standard profile.
I did some digging and found the comment where the test was added. In that comment seanB states,
I spent a few minutes comparing the two tests and I found that MediaDisplayTest is testing the standard profile configuration. So, this needs a followup up issue to remove that overlap.
Comment #26
quietone commentedMade a follow up to look at the overlap mentioned in #25, #3413884: Remove overlap in StandardTest and MediaDisplayTest.
All the children are done and the followup is made. I am setting this to Fixed
Thanks to everyone who worked in the child issues to speed up the tests.
Woohoo!
Comment #27
quietone commentedThe follow up was made, see previous comment