Problem/Motivation

#3508631: Load project data from a new QueryManager class that implements a centralized, static cache added the critical front-end infrastructure needed to display multiple project browsers on a single page.
In #3509184: Add a test of multiple project browsers on a page tests were written to validate this feature. Testing pagination for multiple instances on single page still needs to be done.

Steps to reproduce

Proposed resolution

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

narendrar created an issue. See original summary.

phenaproxima’s picture

Title: Add pagination test for multiple project browsers on a page » [PP-1] Add pagination test for multiple project browsers on a page
Status: Active » Postponed
Related issues: +#3509406: Add more projects to ProjectBrowserTestMock's fixture
narendrar’s picture

Title: [PP-1] Add pagination test for multiple project browsers on a page » Add pagination test for multiple project browsers on a page
Status: Postponed » Needs work

I think we can click 'Clear filters' as done in ProjectBrowserUiTest::testPaging() to test this.

narendrar’s picture

Title: Add pagination test for multiple project browsers on a page » [PP-1] Add pagination test for multiple project browsers on a page
phenaproxima’s picture

Status: Needs work » Postponed
narendrar’s picture

Title: [PP-1] Add pagination test for multiple project browsers on a page » Add pagination test for multiple project browsers on a page
Status: Postponed » Needs work

narendrar’s picture

Status: Needs work » Needs review
phenaproxima’s picture

Status: Needs review » Reviewed & tested by the community

I ❤️ this. It's essential coverage that we'll need in the wake of #3510506: Allow the project browser render element to take a customized pagination and predefined sort, and force max_selections to be global, which shows that pagination is the main thing that allows project browsers to be minified in the first place.

I made some relatively minor changes and factored out some helper methods, but the structure of the test remains in place. It's great work. Since we've got a shortage of reviewers at the moment, I'm calling this one RTBC and will go over it with Tim.

tim.plunkett made their first commit to this issue’s fork.

tim.plunkett’s picture

Status: Reviewed & tested by the community » Fixed

This is so clean, love to see it.

Merged !773 🎉

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.