Skip to content
Snippets Groups Projects
  1. Mar 17, 2022
  2. Mar 16, 2022
  3. Mar 15, 2022
    • Antoine Lambert's avatar
      cypress: Generate tests data once and get them through a task · 627ba79a
      Antoine Lambert authored
      Some cypress tests use input data generated before each test suite.
      
      Some of these data are retrieved by sending HTTP requests to the
      Software Heritage Web API, which can take some times, especially
      when repeating that processing before each test suite.
      
      So instead of sending those HTTP requests before each test suite,
      prefer to do it once and put the test data in global cache. Those
      data will then be set to test suite scope through the use of a
      custom cypress task.
      627ba79a
Loading