- 🇮🇳India santosh_verma Faridabad
reviewed the patch on comment #48, patch applied successfully on D10 and there is no functionality break in the website, can we merge now
- Status changed to Needs work
over 2 years ago 7:02pm 12 March 2023 - 🇬🇧United Kingdom longwave UK
+++ b/core/modules/system/tests/src/FunctionalJavascript/CopyFieldValueTest.php @@ -0,0 +1,54 @@ + $assert_session->assertWaitOnAjaxRequest(); ... + $assert_session->assertWaitOnAjaxRequest();
There's no AJAX going on here so waiting for AJAX is pointless.
- Status changed to Needs review
over 2 years ago 6:42am 13 March 2023 - 🇮🇳India mrinalini9 New Delhi
Updated patch #48 by addressing #50, please review it.
Thanks!
- Status changed to RTBC
over 2 years ago 2:33pm 13 March 2023 - 🇺🇸United States smustgrave
Even though I worked on the ticket, this was previously marked RTBC and the update was removing 2 lines so think I can still move it back to RTBC.
The last submitted patch, 51: 2944089-51.patch, failed testing. View results →
- Status changed to Needs work
over 2 years ago 10:34am 17 March 2023 - 🇫🇮Finland lauriii Finland
-
+++ b/core/modules/system/tests/modules/system_test/src/Form/CopyFieldValueTestForm.php @@ -0,0 +1,53 @@ + // We are only testing the javascript part of form. We are not submitting +++ b/core/modules/system/tests/src/FunctionalJavascript/CopyFieldValueTest.php @@ -0,0 +1,52 @@ + * Tests copy field value javascript functionality works fine. ... + * Tests copy field value javascript functionality.
Nit: javascript should be replaced with JavaScript.
-
+++ b/core/modules/system/tests/modules/system_test/system_test.routing.yml --- /dev/null +++ b/core/modules/system/tests/src/FunctionalJavascript/CopyFieldValueTest.php +++ b/core/modules/system/tests/src/FunctionalJavascript/CopyFieldValueTest.php @@ -0,0 +1,52 @@ + $assert_session = $this->assertSession();
Unused variable.
-
+++ b/core/modules/system/tests/src/FunctionalJavascript/CopyFieldValueTest.php @@ -0,0 +1,52 @@ + // Now focus target field. ... + // Now focus target field.
This comment is redundant because that's exactly how the following line would read..
-
+++ b/core/modules/system/tests/src/FunctionalJavascript/CopyFieldValueTest.php @@ -0,0 +1,52 @@ + $this->assertTrue($target_field->getValue() == $random_string); ... + $this->assertTrue($target_field->getValue() == $random_string);
You can use
$this->assertEquals()
here 😇 -
+++ b/core/modules/system/tests/src/FunctionalJavascript/CopyFieldValueTest.php @@ -0,0 +1,52 @@ + // After filling the field the JS will run async. Just to ensure the JS
I'm not sure I understand this comment. Isn't the expectation that nothing happens to the target at this point? Why is this comment explaining that the JavaScript will run async?
-
- Status changed to Needs review
over 2 years ago 5:09am 20 March 2023 - 🇮🇳India Abhisheksingh27
Uploading updated #51 patch with suggested 1,2 and 3 changes in comment #55.
- 🇮🇳India TanujJain-TJ
#56 doesn't fix issues 1,4,5 mentioned in #55, re-uploading patch to fix all the mentioned issues, please review.
- Status changed to RTBC
over 2 years ago 2:23pm 20 March 2023 The last submitted patch, 59: 2944089-59.patch, failed testing. View results →
- Status changed to Fixed
over 2 years ago 12:35pm 27 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.