Use Spree Starter to run e2e tests
tniezg opened this issue · 3 comments
Is your feature request related to a problem? Please describe.
The latest version of Spree, 4.2.1, removes the Docker configuration from its repository in favour of https://github.com/spree/spree_starter. The e2e tests in the Spree SDK rely on the old Docker configuration included with Spree. In order to test the Spree SDK reliably, we should switch to Spree Starter as well.
Describe the solution you'd like.
Integrate Spree Starter with the Docker Compose configuration used to run e2e tests in the Spree SDK.
Describe alternatives you've considered.
Copy the old Docker configuration from old Spree versions and run the newest Spree version using it. Would require more maintenance than relying on Spree Starter which already contains what's needed. Also, switching to PostgreSQL from SQLite, which Spree Starter does, creates a more production-like environment during testing. SQLite doesn't have the exact same features as PostgreSQL and is less reliable.
Additional context
-
The temporary sparksolutionstom/spree-storefront-api-v2-js-sdk
is no longer used and will be removed from Docker Hub Sept 10th 2021.