Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
system.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Sep 2016 at 16:34 UTC
Updated:
29 Nov 2018 at 08:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
michielnugter commentedComment #6
martin107 commentedThe solution to this issue, is contained as a sub issue in this unreviable issue
https://www.drupal.org/project/drupal/issues/2862510
My solution is to cut out the relevant fraction. and paste it here.
There is one fly in the ointment, things need to be coordinated with other sub issues.
This issue which need review, builds up the ajaxTestBase class which this patch then extends.
#2809521: Convert AJAX part of \Drupal\system\Tests\Ajax\AjaxInGroupTest to WebDriverTestBase
Comment #8
lendudeNo AjaxTestBase, no need to wait anymore.
Comment #9
lendudeNeeded a reroll so no interdiff.
We can't test for response code in WebDriverTests, let alone the response code of the AJAX call. So bit of a workaround for that.
Comment #10
jibranThis is ready.
I like this change.
Comment #12
larowlanCouple of coding standards issues here
Comment #13
lendudeFeedback addressed.
Comment #14
lendudeSniff missed one, fixed here.
Comment #16
lendudeSigh, now with the actual change....
Comment #18
jibranBack to RTBC.
Comment #20
lendudeNightwatch test failure, back to RTBC
Comment #21
alexpottI'm not sure why we're doing an additional drupalGet() here. Is it necessary?
Comment #22
lendude@alexpott yup, because the AJAX calls throw errors they never properly finish, so we need to reset the page to avoid:
Unfinished AJAX requests while tearing down a testAdded a comment to the call, because yeah, that isn't really clear.
Comment #23
borisson_Back to rtbc now that the comment is added.
Comment #24
alexpottCommitted and pushed 752dd39303 to 8.7.x and 8f2862aaa6 to 8.6.x. Thanks!