Closed (fixed)
Project:
Drupal core
Version:
8.4.x-dev
Component:
responsive_image.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Mar 2017 at 13:58 UTC
Updated:
10 May 2017 at 09:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
goz commentedComment #3
dawehnerIt feels like we should maybe have some JS test coverage for these forms, just wondering ...
Comment #4
dawehnerDo you mind actually converting it to a JS test?
Comment #5
dawehnerI guess its the same kind of case as #2780063: Convert web tests to browser tests for datetime and datetime_range modules
Comment #6
goz commented@dawehner are you sure about duplicate with #2780063: Convert web tests to browser tests for datetime and datetime_range modules ?
this seems to have nothing to do with datetime module.
Comment #7
michielnugter commentedI don't think it's a duplicate either. There are some tests that should be Browser tests. I have postponed this one on the JavascriptTestBase conversion though: #2809513: Convert AJAX part of \Drupal\responsive_image\Tests\ResponsiveImageFieldUiTest to JavascriptTestBase and the rest to BrowserTestBase. We need to get that in first and then finish up this issue.
Comment #8
dawehnerI have no idea what I was thinking :P
Comment #9
goz commented@dawehner there is some days like that.
As other postponed WTB to BTB issues, may be we could create an issue for the postponed JavascriptTestBase and at least convert what can be converted right now ?
Comment #10
michielnugter commentedI looked again at the module and there are 3 tests in the module:
- 1 can be converted directly without dependencies (ResponsiveImageAdminUITest)
- 1 has at least a partial conversion to JTB (ResponsiveImageFieldUiTest)
- 1 has a dependency on image (ResponsiveImageFieldDisplayTest).
I changed the scope for this issue to only the AdminUITest, increased the scope for the JavascriptTestBase conversion and moved ResponsiveImageFieldUiTest out of this scope and into the follow-up for image (yet to be created).
Can you reroll the patch with only the ResponsiveImageAdminUITest test?
Comment #11
dawehnerI'm wondering whether we should make it clear in the title how much of the tests are gonna be converted?
Comment #12
michielnugter commentedComment #13
jofitzRerolled the patch with only the ResponsiveImageAdminUITest test, as requested in #10.
Comment #14
michielnugter commentedThanks, looks good to me!
Comment #15
dawehnerNice. One step towards it!
Comment #17
catchCommitted/pushed to 8.4.x, thanks!