Page MenuHomeSoftware Heritage

Add frontend test for metadata search
Open, NormalPublic

Description

Currently, the "search in metadata (instead of URL)" option of the archive search is not tested by frontend tests.

To fix this, we need to:

  1. Fill the indexer storage with some test metadata; either by inserting it directly or by calling a Metadata Indexer, see swh-web/swh/web/tests/data.py
  2. Write the test itself in cypress/integration/origin-search.spec.js that checks there's a result when searching for a subset of this metadata

Related Objects

Event Timeline

vlorentz triaged this task as Normal priority.Feb 14 2020, 3:57 PM
vlorentz created this task.