Skip to content
Snippets Groups Projects
Commit 341aa5b1 authored by catch's avatar catch
Browse files

Issue #3350973 by Spokje, acbramley: [random failure] Curl error thrown for http in JSWebAssertTest

(cherry picked from commit 3eb1472b)
parent b7af923e
No related branches found
No related tags found
6 merge requests!8394[warning] array_flip(): Can only flip STRING and INTEGER values, when saving a non-revisionable custom content entity,!7780issue 3443822: fix for 'No route found for the specified format html. Supported formats: json, xml.',!4848Issue #1566662: Update module should send notifications on Thursdays,!4792Issue #2230689: Remove redundant "Italic" style,!4220Issue #3368223: Link field > Access to internal links is not checked on display.,!1459Issue #3087632: menu_name max length is too long
...@@ -116,10 +116,10 @@ public function testJsWebAssert() { ...@@ -116,10 +116,10 @@ public function testJsWebAssert() {
$this->assertEquals(TRUE, $result->isVisible()); $this->assertEquals(TRUE, $result->isVisible());
$this->drupalGet('js_webassert_test_page'); $this->drupalGet('js_webassert_test_page');
$result = $assert_session->waitForElementVisible('named', ['id', 'test_text']);
$this->assertSame('test_text', $result->getAttribute('id'));
// Ensure that the javascript has replaced the element 1100 times. // Ensure that the javascript has replaced the element 1100 times.
$assert_session->pageTextContains('New Text!! 1100'); $assert_session->waitForText('New Text!! 1100');
$result = $page->find('named', ['id', 'test_text']);
$this->assertSame('test_text', $result->getAttribute('id'));
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment