Skip to content
Snippets Groups Projects
Commit 1142f471 authored by Srishti Bankar's avatar Srishti Bankar Committed by Tim Plunkett
Browse files

Issue #3273634 by srishti.bankar, tim.plunkett, narendraR:...

Issue #3273634 by srishti.bankar, tim.plunkett, narendraR: ProjectBrowserUITest assertion for UI loading is failing due to speedup in page loading
parent 8c0b1e57
Branches 1.0.x
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class ProjectBrowserUiTest extends WebDriverTestBase {
parent::setUp();
$this->drupalLogin($this->drupalCreateUser([
'administer modules'
'administer modules',
]));
}
......@@ -41,8 +41,9 @@ class ProjectBrowserUiTest extends WebDriverTestBase {
$assert_session = $this->assertSession();
$this->drupalGet('admin/modules/browse');
$assert_session->pageTextContains('Loading...');
$assert_session->waitForElement('css', '#project-browser .grid');
$grid_text = $this->getSession()->getPage()->find('css', '#project-browser .toggle-buttons .grid-button')->getText();
$this->assertEquals('Grid', $grid_text);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment