Commit e4149f9a 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 8cfcdef4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -116,10 +116,10 @@ public function testJsWebAssert() {
    $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'));
  }

}