Skip to content
Snippets Groups Projects
Commit 2060389d authored by Eric Bremner's avatar Eric Bremner Committed by Chris Wells
Browse files

Issue #3365404 by ebremner, sakthi_dev, chrisfromredfin, jonycp, fjgarlin,...

Issue #3365404 by ebremner, sakthi_dev, chrisfromredfin, jonycp, fjgarlin, iStryker: Change "Show projects" Label to "Modules per page"
parent e4461c28
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -39,7 +39,7 @@
role="navigation"
>
<label for="num-projects">
{Drupal.t('Show projects')}
{Drupal.t('Modules per page')}
</label>
<select
class="pagination__num-projects"
......
......@@ -301,9 +301,9 @@ class ProjectBrowserUiTest extends WebDriverTestBase {
$this->drupalGet('admin/modules/browse');
$this->svelteInitHelper('css', '.project.project--grid');
$this->pressWithWait('Clear filters');
$assert_session->waitForText('Show projects');
$assert_session->waitForText('Modules per page');
$assert_session->elementsCount('css', '#project-browser .project.project--grid', 12);
$assert_session->waitForText('Show projects');
$assert_session->waitForText('Modules per page');
$page->selectFieldOption('num-projects', 24);
$assert_session->waitForElementVisible('css', '#project-browser .project.project--grid');
$assert_session->elementsCount('css', '#project-browser .project.project--grid', 24);
......
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