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
- The magento store, once it has completed start up, will be available at https://local.dev.rvvuptech.com/
This plugin comes with Playwright tests to ensure it's functionality. The tests rely on sample data provided by magento.
npm i
npx playwright install
This will spin up a docker container with magento installation + rvvup plugin installed and run the test against this container.
./run-e2e-tests.sh
ENV TEST_BASE_URL=https://magento.test npx playwright test --ui # change your base url to point to the right domain