rvvup/module-magento-payments

Rvvup payment gateway for Magento 2

Installs: 11 450

Dependents: 1

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 3

Type:magento2-module

1.7.0 2024-12-16 18:02 UTC

README

Dockerized Setup of Test Store

If you would like to have a quick local installation of the plugin on a magento store (for testing), you can follow these steps:

  • Copy .env.sample to .env and update the values as needed.
  • Run the following command to start the docker containers:
docker-compose up -d --build

End to End Testing

This plugin comes with Playwright tests to ensure it's functionality. The tests rely on sample data provided by magento.

Get Started (install dependencies):

npm i
npx playwright install

(Recommended), Running the E2E tests against a dockerized store installation

This will spin up a docker container with magento installation + rvvup plugin installed and run the test against this container.

./run-e2e-tests.sh

If you have an existing store, to run the tests, use the following command:

ENV TEST_BASE_URL=https://magento.test npx playwright test --ui # change your base url to point to the right domain