Page MenuHomePhabricator

🔵[UI Dependabot experiment] Run tests for the Discovery page against a dockerized Platform API
Closed, ResolvedPublic

Description

Extend the previously created E2E tests for the Discovery page to run against a dockerized Platform API

  • Set up a way to run Platform API in the context of the existing E2E test setup (this is happening in the UI repo)
  • Set up a way to seed the Platform API with test data (this is happening in the API repo)
  • Create fixture data to test against (this is happening in the UI repo)

Ideally, this would not need to change anything in the E2E tests themselves.

Patches:

Event Timeline

Anton.Kokh renamed this task from [UI Dependabot experiment] Run tests for the Discovery page against a dockerized Platform API to 🔵[UI Dependabot experiment] Run tests for the Discovery page against a dockerized Platform API.May 22 2024, 11:51 AM
Anton.Kokh triaged this task as Medium priority.May 29 2024, 1:58 PM

@Fring Looking back to when this ticket was created I was wondering if you have a memory of the "why" for this ticket? Specifically: was there a reason that the mock API became insufficient for testing the discovery feature?

I was also wondering if we considered running these tests against a kubernetes (rather than docker compose) orchestrated version of the api

basically I'm trying to figure out how this might fit into the bigger picture task of the parent (Experiment with Dependabot self-merging updates)

The why is mostly to cover for extending the tests to also cover the "meat" of the application: wiki management. If we say main and discovery page are all we ever want to cover, it's probably not needed.

Dockerized and In-Kubernetes are probably interchangeable here.