Skip to content
Snippets Groups Projects
Commit dd7b98b6 authored by Tim Plunkett's avatar Tim Plunkett
Browse files

Add test coverage since the number of categories is fixed

parent ace905e1
No related branches found
Tags 7.x-4.0-rc1
No related merge requests found
......@@ -46,4 +46,15 @@ class ProjectBrowserUiTest extends WebDriverTestBase {
$this->assertEquals('Grid', $grid_text);
}
/**
* Tests the available categories.
*/
public function testCategories(): void {
$assert_session = $this->assertSession();
$this->drupalGet('admin/modules/browse');
$assert_session->waitForElement('css', '.views-exposed-form__item input[type="checkbox"]');
$assert_session->elementsCount('css', '.views-exposed-form__item input[type="checkbox"]', 54);
}
}
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