You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/src/FunctionalJavascript/Form/AuthenticationFormJsTest.php
+8-7
Original file line number
Diff line number
Diff line change
@@ -372,14 +372,15 @@ protected function validateForm(callable $visitFormAsAdmin): void {
372
372
$this->assertSendRequestMessage('.messages--error', "Failed to connect to Apigee Edge. The organization username should be a valid email. Error message: ");
373
373
$page->fillField('Username', $this->username);
374
374
375
+
// TODO Re-add this assert later, if required.
376
+
// Irrespective of incorrect organization, username or password, an error stating "forbidden" will be displayed.
375
377
// Test invalid organization.
376
-
$random_org = $this->randomGenerator->word(16);
377
-
$page->fillField('Organization', $random_org);
378
-
$this->assertSendRequestMessage('.messages--error', "Failed to connect to Apigee Edge. The given organization name ({$random_org}) is incorrect. Error message: ");
379
-
$web_assert->elementContains('css', 'textarea[data-drupal-selector="edit-debug-text"]', 'HTTP/1.1 404 Not Found');
// $this->assertSendRequestMessage('.messages--error', "Failed to connect to Apigee Edge. The given organization name ({$random_org}) is incorrect. Error message: ");
381
+
// $web_assert->elementContains('css', 'textarea[data-drupal-selector="edit-debug-text"]', 'HTTP/1.1 404 Not Found');
0 commit comments