[meta] Implement Javascript testing for Views and the Views UI

Created on 21 June 2016, over 8 years ago
Updated 22 January 2023, almost 2 years ago

Currently ajax Views and the Views UI have minimal to no javascript testing. In order to start changing that we need to start adding test that cover working functionality. This might also have the added benefit of getting more working tests into core that other can use as examples.

Steps:

  • Identify functionality that needs testing
  • Open an issue for testing that functionality
  • Add a reference here to keep track of what is going on

Things to test (link to issue once an issue exists):
#2753791: Add javascript testing for the Views listing page.
#2753905: Add javascript testing for the Views creation wizard
Adding a field handler (covered by #2648956: Editing a view leaves old keys hanging, results in invalid schema )
Searching the list of handlers and expose a filter ( #2754985: [backport] Add JavaScript test coverage for adding an exposed filter in Views UI )
Rearranging handlers
View with ajax: filter (covered by #2700495: Method removing expired drupalSettings.ajax tries to remove settings when there is no ajax defined )
#2770817: Add javascript testing for sorting AJAX enabled views
#2771187: Add javascript testing for pagination on AJAX enabled views
#2754171: Create a Views and ViewsUI FunctionalJavascriptTestBase class
Adding a contextual filter (covered by #2647916: Views ajax modals stop working in certain scenarios: due to JS settings caching, AJAX responses may set wrong ajaxPageState.libraries, causing problems for subsequent AJAX requests/responses )

🌱 Plan
Status

Fixed

Version

9.5

Component
Views UI 

Last updated 21 days ago

Created by

🇳🇱Netherlands Lendude Amsterdam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand quietone

    Javascript testing now exists for Views and the Views UI. There is one child issue left, which is a refactoring of the existing tests and not implementing a new test. We also have a practice of closing Meta issues when only one child is left. For those reasons, I am closing this as fixed.

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

Production build 0.71.5 2024