You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document provides step-by-step instructions for setting up test automation for Magento using testRigor. It covers creating an account, setting up a test suite, and running tests using the testRigor CLI.
4
+
5
+
## Table of Contents
6
+
7
+
-[Creating an Account on testRigor](#creating-an-account-on-testrigor)
8
+
-[Running Tests with the CLI](#running-tests-with-the-cli)
9
+
-[Additional Resources](#additional-resources)
10
+
11
+
## Creating an Account on testRigor
12
+
13
+
1.**Visit the testRigor website:**
14
+
15
+
- Go to [testRigor](https://www.testrigor.com/).
16
+
17
+
2.**Sign up for a new account:**
18
+
19
+
- Click on the "Sign Up" button on the top right corner.
20
+
- Select the "Public Open Source" version.
21
+
- Fill in the required details and follow the instructions to complete the registration.
22
+
23
+
3.**Verify your email and log in:**
24
+
25
+
- Check your email inbox for a verification email from testRigor.
26
+
- Click on the verification link to activate your account.
27
+
- Once your account is activated, log in.
28
+
29
+
4.**Create a test suite:**
30
+
- After logging into your account, create a test suite.
31
+
32
+
## Running Tests with the CLI
33
+
34
+
1.**Prerequisites:**
35
+
36
+
-**None!** MFTF will automatically download and install all required dependencies (Node.js and TestRigor CLI) on first run.
37
+
- Everything is installed locally within the project, requiring zero manual setup.
38
+
- The framework is fully self-contained and ready for CI/CD environments.
39
+
40
+
2.**Obtain Required Parameters:**
41
+
42
+
-**Test Suite ID:** You can obtain the Test Suite ID in the URL of your test suite. If the URL is `https://app.testrigor.com/test-suites/12345`, then `12345` is your Test Suite ID.
43
+
-**Auth Token:** You can obtain your token from the "CI/CD integration" section on testRigor. Look for "auth-token" and copy the value next to it, which will be in the format `########-####-####-####-############`.
44
+
45
+
3.**Set Parameters in `.env` file:**
46
+
47
+
- Before running the tests, create a .env file on the testRigor directory and set the following variables to the parameters you obtained:
48
+
-`MAGENTO_TEST_SUITE_ID`: Set this variable to your Test Suite ID.
49
+
-`MAGENTO_AUTH_TOKEN`: Set this variable to your auth token.
50
+
-`MAGENTO_BASE_URL`: Set this variable to the URL where Magento is running locally.
0 commit comments