Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
field system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Sep 2016 at 16:26 UTC
Updated:
5 Aug 2018 at 12:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
michielnugter commentedComment #5
ApacheEx commentedHere is a patch. Only
testNumberFormatterhas ajax part.Comment #6
dawehnerThank you for starting to work on those issues! Highly appreciated
As in the other issue, let's not use
assertWaitOnAjaxRequestbut rather wait till a certain dom element appears.Comment #7
ApacheEx commentedI didn't know, but now I know, will update all my patches.
p.s thank you for reviewing.
Comment #8
dawehner@ApacheEx
I'm happy to review every JS test patch you ever post :)
Comment #9
ApacheEx commentedHere is updated patch :)
Comment #10
ApacheEx commentedWhole
NumberFieldTestcan be converted toBrowserTestBasewith minimal changes.So, why not to prefer this patch.
Comment #13
lendudeNot convinced just converting to BrowserTestBase is the best option here, it's really nice to have the widget covered by a real javascript test I think. So for me, I'd say lets update #9 to use WebDriverTestBase and go with that, but open to be persuaded otherwise :)
Comment #14
ApacheEx commentedyes, I agree 100%.
So, I moved NumberFieldTest::testNumberFormatter to WebDriverTestBase and rest of NumberFieldTest to BTB.
Comment #15
lendude@ApacheEx nice! looking great. Just some really really minor nits:
nittiest of nit picks: these need to be alphabetical
Comment needs an update for the new test I think: 'Tests the numeric field widget.' Or something like that?
Comment #16
ApacheEx commentedThanks for your feedback. All things make sense for me :)
Comment #17
lendude@ApacheEx thanks!
Comment #18
alexpottCommitted and pushed a15fd23c6c to 8.7.x and 51402a7051 to 8.6.x. Thanks!