Skip to content

Maps: Add screenshot tests for complex map states #696

Description

@conradarcturus

After #683 we will have complex map states where people can pin items, filter items and color items. Can you create screenshot test similar to preview-screenshots.ts?

A good edge test case is this URL:

  • TerritoryFilter is Africa
  • Coloring by the # of languages
  • A subset of countries are pinned -- including ones that pass the filter and ones that do not pass the filter

You can capture just the map box. You don't need to add every possible test but you should consider if there are other combinations of parameters that would be good to capture automatically in a test. This will help us make sure how the complex combination of parameters appears and keep track of changes when we add later features (eg. auto-zoom).

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions