Issue #3350973 by Spokje, acbramley: [random failure] Curl error thrown for http in JSWebAssertTest
(cherry picked from commit 3eb1472ba0
)
merge-requests/4220/head
parent
b7af923ed8
commit
341aa5b16e
|
@ -116,10 +116,10 @@ class JSWebAssertTest extends WebDriverTestBase {
|
|||
$this->assertEquals(TRUE, $result->isVisible());
|
||||
|
||||
$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.
|
||||
$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'));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue