EverShop Testing: How to Test Your Online Store with testRigor
|
|

EverShop is an open-source e-commerce platform built with TypeScript, React, Node.js, and GraphQL. Its modular architecture allows businesses to build and customize online stores, from the storefront customers browse to the administration panel where staff manage products, inventory, promotions, and orders. EverShop testing helps ensure that these administrative workflows and the shopping experience continue to work together.
Imagine updating a product’s price in the admin panel before launching a sale. The new price appears to have been saved, but customers still see the old one. Or consider a product that has sold out but can still be added to a shopping cart. Neither problem necessarily prevents the home page from loading, yet both can affect sales and customer trust.
End-to-end tests help you catch these problems by checking how administrative changes affect the customer experience. In particular, this becomes important when you customize the theme, extend the platform, or change the rules that govern checkout.
Each layer provides a different kind of confidence. For the people responsible for running an online store, the ultimate question is whether customers and staff can still complete the tasks they depend on every day.
What Should EverShop Testing Cover?
- Product search, category navigation, and attribute filters
- Product details, prices, and available options
- Stock availability and cart quantity limits
- Cart persistence across customer sessions
- Guest checkout, shipping, payment selection, and order confirmation
- Coupon creation and redemption
- Customer registration, login, and account details
- Administrator access
- Product creation and price updates from the admin panel
- Order history, fulfillment, and payment integrations relevant to your business
You do not have to automate everything at once. First, prioritize the purchase journey and the administrative actions that can directly change it. Then expand coverage as your store introduces new products, promotions, and integrations.
What EverShop Already Checks, and What It Does Not
EverShop’s source repository contains automated tests for the platform itself. The build and test workflow on the development branch compiles the project, prepares PostgreSQL databases for tests that require them, and runs the automated test suite on Node.js 20 and 22.
In addition, the repository uses Jest and contains unit tests for areas such as product sorting, cart synchronization, checkout contact information, and address validation. It also has a separate Playwright workflow for CSV import that starts a store and exercises the admin interface in a browser.
These checks are valuable, but passing the platform’s tests does not guarantee that your own theme, catalog, extensions, and store settings work together. A customized storefront can introduce problems that are not present in the core project. Similarly, your shipping zones and payment integrations may behave differently from those used by the platform’s developers.
A store-specific EverShop testing strategy complements the existing coverage by checking the actual journeys your customers and staff use.
Unit Testing in EverShop
Unit tests focus on small pieces of functionality. Developers can use them to verify a custom price calculation, a product sorting rule, or address validation without going through the complete storefront.
For example, if you implement a custom discount rule, a unit test can confirm that it calculates the expected amount for an eligible order. It can also check that an ineligible order receives no discount. However, it does not establish that customers can enter a coupon through your theme or see the correct total at checkout.
Integration Testing in EverShop
Integration tests check how different parts of the application work together. In EverShop, important boundaries include PostgreSQL, GraphQL APIs, inventory updates, shipping providers, and payment services.
For example, an integration test can verify that updating a product persists the new price in the database and makes it available through the API. Another can confirm that a shipping provider returns the expected rate for an eligible destination.
Even when those interactions work, the storefront may still display outdated information or fail to present a shipping option. This is why EverShop testing should also cover the browser experience.
End-to-End EverShop Testing
End-to-end testing follows a complete workflow through the application from the user’s perspective. In an online store, one of the most important journeys is:
Find a product → add it to the cart → enter delivery details → choose shipping and payment → place an order.
EverShop’s admin panel offers another useful starting point. An administrator can create a product, change its price or inventory, and then verify the result on the storefront. This type of test crosses the boundary between the two interfaces instead of checking them independently.
testRigor
With testRigor, teams can describe browser interactions and expected results in plain English. Store managers, business analysts, and QA professionals can review a scenario without having to understand the underlying automation code.
For a customizable platform such as EverShop, user-visible labels and relative element references are particularly useful. A test can describe a product name, a button, or the location of a control relative to a field. This reduces dependence on implementation-specific selectors, although changes to the actual business flow or visible labels may still require updates to the tests.
Reusable Rules also let teams share common actions such as creating a product or logging in. See how testRigor works for more information.
Selenium
Selenium is an open-source browser automation framework with support for several programming languages. It gives technical teams flexibility over how they implement and organize their tests. However, teams need to maintain the test code and its element-identification strategy as their storefront evolves.
Playwright
Playwright supports Chromium, Firefox, and WebKit and offers features such as automatic waiting, browser isolation, and tracing. It is a suitable option for developers who prefer coded automation, and EverShop already uses it for the CSV import workflow mentioned earlier. By contrast, teams that want business users to author and maintain tests directly may prefer testRigor’s plain-English approach.
EverShop Testing with testRigor: How to Perform End-to-End Tests
Let’s build a test for a guest purchase. The example comes from the testRigor cases proposed in EverShop pull request #844. It starts in the administration panel, prepares a product and checkout settings, and continues as a shopper who places an order without creating an account.
Important: Use a disposable test store or staging environment. This example changes payment settings, creates a shipping zone and product, and places an order. Do not use it unchanged against a live store or an environment shared with customers.
Step 1: Log in to your testRigor account.
Step 2: Create a new test suite and configure it:

- Test Suite Name: Enter a descriptive name, such as EverShop Store Regression.
- Type of testing: Choose web desktop testing, for example WebDesktopChrome.
- URL to run test on: Use your staging admin URL, such as
https://staging.example.com/admin. The proposed suite starts in the admin panel and navigates to the storefront during its tests. - Testing credentials: Configure the test administrator’s credentials for the built-in login action.
- OS and Browser: Select the environment you want to validate.
- App Description: Optionally describe the store if you want testRigor’s generative AI to suggest scenarios.
Step 3: Click Create Test Suite. For this walkthrough, choose not to generate tests automatically so you can add the existing example yourself.
Step 4: Select Add Test Case.

Step 5: Enter a description and the test steps. Once the required reusable rules and test data are configured, select Add and Run.
Setting Up a Safe Environment for EverShop Testing
Keep the test store representative of production without exposing real customer data or triggering real fulfillment and payment activity. Include the theme, relevant extensions, products with suitable attributes, and realistic store settings.
The proposed checkout case assumes an English-language interface, demo catalog attributes including Black and SM, an authorized administrator, guest checkout availability, and the ability to configure Cash on Delivery. It creates an Express shipping method for Alaska in the United States, with a shipping cost of 10 in the store’s currency.
These are the conditions of the example, not universal EverShop defaults. However, the platform’s interface and checkout behavior can change between versions. In particular, newer releases have revised shipping and address handling. Consult the release notes and adapt the address fields and shipping configuration to your version.
If you need a fresh installation, the official installation guide describes Docker and demo-data setup. Demo seeding is for development and testing, not production.
Test Data for EverShop Testing
Store environment-specific values in testRigor Test Data. The proposed cases reference the following shared values; configure them before importing the corresponding rules or cases.
| Key | Purpose | Example value |
|---|---|---|
homePrefix |
Storefront base URL without a trailing slash | https://staging.example.com |
userEmail |
Existing test customer for the cart persistence scenario | Email of a dedicated test account |
userPass |
Password of that test customer | Stored securely in Test Data |
The administrator uses the suite’s configured login credentials through the admin-login rule. For customer login, the rule maps userEmail and userPass to username and password before invoking the login action. Keep the two identities separate.
Other values, including productName, productSku, productPrice, and generatedEmail, are generated within the relevant scenarios. Parameterized product rules receive their quantity, category, or color from the calling case. Generating product names and SKUs helps avoid collisions during repeated executions.
For a persistent staging environment, also plan how to reset or clean up generated records. However, unique values alone do not prevent orders, coupons, products, and shipping zones from accumulating.
Test Case: Complete a Guest Checkout with Cash on Delivery
The following walkthrough expands the reusable rules called by TC-CHECKOUT-CRIT-010 in the proposed suite. In practice, the exported execution from December 5, 2025, passed, and its admin screenshots identify the tested store as EverShop 2.1.0. The commands are an example for the interface targeted by that contribution rather than a guarantee of compatibility with every version of EverShop.
Step 1: Create a Product in the Admin Panel
Start from the admin URL, sign in, and open the product creation form. The generated name will later be used to find exactly this product in the storefront.

log in check that page contains "Dashboard" check that page contains "Lifetime Sales" click "New Product" below "Dashboard" generate unique name, then enter into "Name" and save as "productName" generate from template "********", then enter into "SKU" and save as "productSku" generate from template "1#.##", then enter into "Price" and save as "productPrice" enter "1" into "Weight" enter "50" into "Quantity" select "Black" from dropdown on right of "Color" select "SM" from dropdown on right of "Size" enter stored value "productName" into "Url key" enter stored value "productName" into "Meta title" click "Save" until page contains "Product updated successfully" click "close"

The success message indicates that the admin action completed. Later steps check whether the newly created product is actually available to customers.
Step 2: Enable Cash on Delivery
The example uses an offline payment method, so it does not need to submit a real card payment. If your staging store already has the correct payment method enabled, you can prepare that setting outside the checkout case.

click "Setting" click "Payment Setting" click button below "Cash On Delivery Payment" and on the left of "No" click "Save" check that page contains "Payment setting saved"
The relative reference helps identify the intended switch. When reusing a persistent test store, make the setup conditional or verify its starting state first: blindly toggling an already-enabled payment method could disable it.
Step 3: Create a Shipping Zone and Method
Shipping availability depends on the customer’s destination. The source example creates a zone for Alaska and adds an Express delivery option.


click "Shipping Setting" click "Create New Zone" enter "test zone" into "Enter Zone name" click "Select" type "United" click "United States" using OCR click "Select" click "Alaska" using OCR click "Save" click "Add method" enter "Express" into "Select..." type enter click button on the left of "No" enter "10" into "Shipping cost" click "Save" check that page contains "Shipping method saved successfully" click "close"
Here OCR is used to select visible country and province options. The zone name is fixed in the source. Therefore, use a clean environment or an idempotent setup if you plan to run this scenario repeatedly.
Step 4: Find the New Product on the Storefront
Leave the administration panel and open the store as a guest. Search for the generated product name rather than relying on a product that might have been left by an earlier test.

click button on the right of "Search" click "Logout" open url stored value "homePrefix" click "Search" enter stored value "productName" into "Search" type enter check that page contains stored value "productName" click stored value "productName" click "Add to cart" click "View Cart" click "checkout"


This step connects product management to the customer-facing catalog. After all, a product that exists only in the administration panel is not enough for a successful purchase.
Step 5: Enter Guest Contact and Shipping Information
Use a generated email address to identify the guest order. Select the destination that matches the shipping zone created earlier.

generate unique email, then enter into "Email" and save as "generatedEmail" enter "Test" into "Full Name" enter "1234567890" into "Telephone" enter "Test123" into "Address" enter "testtown" into "City" select "United States" from "Country" select "Alaska" from "Province" enter "123456" into "Postcode"
The six-digit postcode is reproduced from the source case, not a valid standard US ZIP code. If your version enforces country-specific address validation or queries a carrier, use valid test address data for Alaska instead. Select the country before the province because the available regions depend on it.
Step 6: Select Shipping and Payment, Then Place the Order
At this point, the customer should be able to select the configured shipping and payment options. To confirm that checkout succeeded, the final assertion checks whether the storefront displays the expected personalized confirmation.


click "Express" click "Cash on Delivery" click "Place order" check that page contains "Thank you Test!"

The thank-you message is the confirmation checked by this case. The recorded confirmation screen also displays order #10001, a $10.89 subtotal, $10.00 Express shipping, and a $20.89 total with Cash on Delivery. For stronger order validation, extend the test to verify an order identifier, the amount due, and the corresponding order record in the admin panel. This example does not check those details, a payment capture, or fulfillment.
Complete Test Case
Reusable Rules keep the product and checkout preparation separate from the shopper’s actions. Import or create the four rules shown in the walkthrough before running this shorter version. The complete source case is available in the proposed test files.
admin-login product-create-new payment-enable-mode shipping-create-new-method click button on the right of "Search" click "Logout" open url stored value "homePrefix" click "Search" enter stored value "productName" into "Search" type enter check that page contains stored value "productName" click stored value "productName" click "Add to cart" click "View Cart" click "checkout" generate unique email, then enter into "Email" and save as "generatedEmail" enter "Test" into "Full Name" enter "1234567890" into "Telephone" enter "Test123" into "Address" enter "testtown" into "City" select "United States" from "Country" select "Alaska" from "Province" enter "123456" into "Postcode" click "Express" click "Cash on Delivery" click "Place order" check that page contains "Thank you Test!"
Execution Results
After running the case, inspect the execution status and individual steps in testRigor. Screenshots and error details can help you distinguish between an unavailable product, a missing shipping option, a failed payment selection, and an unexpected confirmation page. The View Execution option also lets you export execution details in PDF or Word format.

The execution reports for the ten numbered cases from pull request #844 show ten passing results on December 5, 2025, under run YysTujLCNcKEtm8CA. They used Chrome on Ubuntu against a local store at http://localhost:3000/admin. The administration screenshots identify EverShop 2.1.0. The example suite and the guest checkout execution provide references to the recorded cases. Access may require testRigor permissions. In other words, these results cover the ten exported cases, not every file in the contribution or every EverShop configuration.
testRigor’s Capabilities for E-commerce Testing
- Reusable Rules: Share product creation, login, and shipping setup across scenarios.
- Test Data: Centralize environment values and generate unique data for customer and catalog records.
- API testing: Complement UI checks by validating responses from store APIs when appropriate. See the API testing documentation.
- Email testing: Extend the purchase journey to check order confirmation or password recovery messages in a controlled mailbox. See email testing.
- Mobile web testing: Check the shopping experience on mobile browser configurations as well as desktop browsers.
Additional Resources
High-Value EverShop Testing Scenarios
Guest checkout is a priority for EverShop testing, but customers can encounter problems long before they reach checkout. The following examples are drawn from the other cases in pull request #844. Additional assertions and negative cases are identified as recommendations rather than existing coverage.
1. Verify Product Search and Category Filters
When a catalog grows, customers rely on filters to narrow their choices. A product may appear in a search but disappear when its category or color is selected. The proposed catalog case creates an Accessories product with the Black color attribute and then checks the corresponding filtered storefront results.
admin-login product-create-new-with-category-"Accessories"-color-"Black" click button on the right of "Search" click "Logout" open url stored value "homePrefix" hover over "shop" click stored value "productCategory" click stored value "productColor" check that page contains stored value "productName"

This checks the presence of the expected product. To strengthen filter coverage, add a product with a different color and confirm it is excluded. In addition, a search for an unknown product should return the appropriate empty-results state for your theme.
2. Verify Product Details for Guest Shoppers
A visitor should be able to view the price and product attributes before deciding to purchase. After creating a temporary product in the admin panel and signing out, the source product-details case uses these storefront checks:
open url stored value "homePrefix" click "Search" enter stored value "productName" into "Search" type enter click stored value "productName" check that page contains stored value "productPrice" check that page contains "Size" check that page contains "Color" check that page contains "Add to cart"

These assertions confirm that the expected text is present. Extend them to verify the actual selected attribute values and enabled purchase controls where your products require specific options.
3. Verify That Admin Price Changes Reach the Storefront
Incorrect prices can create customer disputes or cause a business to sell products at unintended prices. The proposed product-update case first creates a product and checks that shoppers can find it. It then returns to the admin panel to change the price.
open URL from string with parameters "${homePrefix}/admin"
admin-login
click "Products"
click stored value "productName"
enter "40.29" into "Price"
scroll down until page contains "Save"
click "Save" until page contains "Product updated successfully"
click "close"
grab value from input "Price" and save as "updatedPrice"
open url stored value "homePrefix" click "Search" enter stored value "productName" into "Search" type enter click stored value "productName" check that page does not contain stored value "productPrice" check that page contains stored value "updatedPrice"

The key is to check the storefront, not just the admin success message. For stores with recommendations, multiple products, or several price displays, scope these assertions to the intended product’s price rather than the entire page.
4. Verify Stock Availability and Cart Quantity Limits
The proposed suite covers two complementary inventory risks. One case creates a product, opens it on the storefront, and saves its URL before changing its stock to zero in the admin panel.
check that page contains "Add to cart" grab url and save it as "productUrl"
enter "0" into "Quantity" scroll down until page contains "Save" click "Save" until page contains "Product updated successfully" click "close"
open url stored value "productUrl" check that page contains "Sold out"

The second case creates a product with only one unit in stock, adds it to the cart, and attempts to increase the quantity.
click "Add to cart" click "View Cart" check that page contains "Shopping cart" click button below "Quantity" and to the left of "Enter Coupon Code" check that page contains "We do not have enough stock"

The first test checks the product page’s sold-out state; the second checks that an insufficient-stock warning appears. In the recorded execution, the cart still displayed two units and a total of $32.46, even though only one unit was in stock. The case passed because the warning was present. However, it does not prove that the quantity increase was rejected or that checkout was blocked. Add a separate test to verify how the cart and checkout handle an invalid quantity.
5. Verify Cart Persistence Across Customer Sessions
Customers may leave a store and return later to complete a purchase. Losing their cart after they sign back in creates unnecessary friction. The proposed test creates a product, signs in as an existing test customer, adds the product, and checks whether it is still present after logout and login.
open url stored value "homePrefix" click "Account" account-login click "Search" enter stored value "productName" into "Search" type enter click stored value "productName" click "Add to cart" click "View cart" check that page contains stored value "productName" account-logout account-login click "Cart" check that page contains stored value "productName"

Use a dedicated customer with known credentials and an isolated cart. This case verifies persistence across login sessions; it does not establish guest-to-account cart merging. Therefore, test that separately if your store supports it.
6. Verify Customer Registration and Account Details
Registration should create a usable account and preserve the customer’s information. The source account case calls account-create-new, which generates a name and email and registers the customer. It then opens the account page and checks both values.
account-create-new click "Account" check that page contains "My Account" check that page contains stored value "userName" check that page contains stored value "userEmail"

For a more complete account lifecycle test, log out and sign in again using the newly created customer’s credentials. In addition, test invalid passwords and password recovery. A separate test for the configured existing customer is not a substitute for verifying that a newly registered account can log in.
7. Verify Administrator Access and Product Creation
The proposed admin-login rule checks that the administrator can access the dashboard. A separate case verifies that a newly saved product appears in the admin product list.
admin-login product-create-new click "Products" below "New Coupon" check that page contains stored value "productName"

This covers the authorized path. However, you should add separate negative tests to ensure invalid credentials and ordinary customer accounts cannot reach administrative functionality. Do not treat successful administrator login as evidence that authorization is correctly enforced for every user.
8. Verify Coupons and Promotions
A coupon can appear valid in the admin panel but fail when a shopper applies it. In the proposed coupon case, an administrator creates a product and a fixed discount using the generated product price as the discount amount.
scroll down on "Promotion" click "Coupons" click "New Coupon" generate unique name, then enter into "Enter Coupon Code" and save as "couponCode" enter "discount coupon for all products" into "Enter description" enter stored value "productPrice" into "Discount Amount" click "Fixed discount to entire order" click "Save" until page contains "Saved successfully!" click "close"
check that page contains "Shopping cart" enter stored value "couponCode" into "Enter coupon code" click "Apply" check that page contains "Coupon applied successfully!" check that page contains "Discount"

Although the source file’s name refers to a product detail page, its commands apply the coupon in the shopping cart. In this case, the assertions establish the presence of a success message and discount label, not the exact discount amount. Add checks for the numerical discount and final total, plus invalid or expired coupons, before relying on this case to protect a promotion.
Reusable Rules for EverShop Testing
When automating EverShop testing, product creation is a common prerequisite for several scenarios. Rather than repeating the form interactions every time, the proposed suite defines a product-create-new rule. It generates the product values and saves them so later steps can find the same record.
admin-login product-create-new
The complete implementation of the rule is shown in the first step of the checkout walkthrough. In addition, the suite includes parameterized variants for tests that need specific product attributes or stock levels.
product-create-new-with-quantity-"1"
The rule receives the quantity through productQuantity. Its product form includes this step:
enter stored value "productQuantity" into "Quantity"
When creating your own rules, define the parameterized name as it appears in the source file, product-create-new-with-quantity-"productQuantity". As a result, the same procedure can serve tests for different inventory levels. See the Reusable Rules documentation for more details.
Keep shared actions small enough that each rule has a clear purpose. For instance, you can reuse product creation for catalog, cart, and coupon cases while keeping the specific business assertions inside each test case.
EverShop Testing Tips for Reliable Automation
- Separate administrator and customer sessions. The cases explicitly leave the admin session before checking the storefront. Begin each test with the correct identity and browser state.
- Use generated product identifiers. Names and SKUs generated during each run make it easier to find the intended product rather than a demo item or a record created by another test.
- Check the customer-facing result. A saved price or inventory quantity is not the end of the test. Instead, revisit the storefront and verify the actual change.
- Prepare payment and shipping settings carefully. The source checkout rule uses a fixed zone name and a payment switch. Prefer a fresh database, or make these setup actions safe to repeat in a shared environment.
- Adapt labels and address data to your version. The examples target specific English-language forms and sample attributes. New versions, themes, locales, or providers can require different steps.
- Isolate stateful tests. Cart scenarios should use separate customer accounts when running in parallel, and tests that modify shared settings should not compete with one another.
- Assert more than success messages. Check actual prices, accepted quantities, shipping charges, discounts, and order details when those outcomes matter.
- Reset or clean up test records. The proposed cases do not include a general cleanup procedure. Therefore, plan one before running them repeatedly in persistent staging.
When to Run Your EverShop Testing Suite
- Before and after an EverShop upgrade
- After changing a theme or installing an extension
- After modifying shipping zones, payment methods, or checkout configuration
- Before launching a promotion or a major catalog update
- After changes to inventory, customer account, or order-management integrations
For a quick smoke suite, start with a product search, a cart action, and a purchase in an isolated test store. Run the longer admin-to-storefront regression cases when you deploy relevant changes, or on a schedule suited to your environment.
EverShop Testing for Development Teams and Agencies: Git, Docker, and CI/CD
Store owners do not need a Git repository or a CI/CD pipeline to use the approach described above. A staging store reachable by testRigor is sufficient. However, technical teams can also keep the scenarios in version control and execute them against temporary installations.
Pull request #844 proposes 11 test-case files, nine reusable-rule files, a README, and a GitHub Actions workflow. The pull request is an example contribution; the testRigor workflow is not part of the standard EverShop distribution.
| Path | Purpose |
|---|---|
packages/evershop/src/Tests/e2e-testcases/testcases/ |
Plain-English test cases |
packages/evershop/src/Tests/e2e-testcases/reusable-rules/ |
Shared test actions |
packages/evershop/src/Tests/e2e-testcases/README.md |
Setup and usage instructions |
.github/workflows/evershop-testrigor.yml |
Proposed CI integration |
Running EverShop Tests Locally
Prepare a local test installation with demo data and a dedicated administrator. The contribution describes using Docker Compose and starting the store at http://localhost:3000. Follow the official installation guide for your version and ensure the sample data is available before starting the suite.
Use a checkout containing the proposed test files and a dedicated testRigor suite. Configure the administrator credentials and Test Data in testRigor, including homePrefix set to http://localhost:3000 for this local environment. The --url flag changes the starting URL but does not replace a stored base URL referenced by test commands.
npm install -g @testrigor/testrigor-cli testrigor test-suite run "$TESTRIGOR_SUITE_ID" \ --token "$TESTRIGOR_CICD_TOKEN" \ --localhost \ --test-cases-path "packages/evershop/src/Tests/e2e-testcases/testcases/**/*.txt" \ --rules-path "packages/evershop/src/Tests/e2e-testcases/reusable-rules/**/*.txt" \ --url "http://localhost:3000/admin"
The original contribution uses the unscoped testrigor-cli package. Instead, the example above follows the current testRigor CLI documentation, which uses @testrigor/testrigor-cli. The localhost option provides access to the local store, and the path options load the test cases and rules from the working checkout. Confirm the CLI and EverShop versions together before adopting the older test files.
Setting Up GitHub CI/CD Integration
The proposed workflow checks out the repository, starts an EverShop installation using the official Docker Compose file, attempts to seed demo data, creates an administrator, checks the storefront and admin endpoints, and invokes the testRigor CLI. Its triggers cover pushes and pull requests targeting any branch.
To adapt the integration, configure the following repository settings under Settings → Secrets and variables → Actions. The admin credentials must match those configured for the testRigor login action.
| Setting | Type | Purpose |
|---|---|---|
TESTRIGOR_CICD_TOKEN |
Secret | Authenticates the testRigor execution |
TESTRIGOR_SUITE_ID |
Variable | Identifies the dedicated test suite |
ADMIN_EMAIL |
Secret | Email for the temporary administrator |
ADMIN_PASS |
Secret | Password for the temporary administrator |
- name: Run testRigor suite via CLI
env:
TESTRIGOR_CICD_TOKEN: ${{ secrets.TESTRIGOR_CICD_TOKEN }}
TESTRIGOR_SUITE_ID: ${{ vars.TESTRIGOR_SUITE_ID }}
run: |
testrigor test-suite run "$TESTRIGOR_SUITE_ID" \
--token "$TESTRIGOR_CICD_TOKEN" \
--localhost \
--test-cases-path "packages/evershop/src/Tests/e2e-testcases/testcases/**/*.txt" \
--rules-path "packages/evershop/src/Tests/e2e-testcases/reusable-rules/**/*.txt" \
--url "http://localhost:3000/admin"
This is a run-step excerpt, not a complete workflow. See the proposed workflow for the surrounding setup.
Making the CI/CD Workflow Reliable
- Test the intended application build. The proposed workflow downloads the upstream Compose file from main instead of building the application from the checked-out changes. Use a pinned image for release regression or build the actual branch when validating pull requests.
- Make setup failures explicit. The example continues if demo seeding fails. Fail early when required catalog attributes or test records are missing, and use readiness checks before attempting setup.
- Handle missing credentials safely. GitHub normally withholds repository secrets from fork pull requests. Skip the credential-dependent job when the required values are unavailable; never expose secrets to untrusted code.
- Preserve diagnostic evidence. Save a JUnit report and relevant application logs. Use an isolated test suite and avoid concurrent changes to shared store settings.
For store operators who run tests directly in testRigor, the staging-based setup remains the simpler option.
Conclusion
EverShop makes it possible to customize both the shopping experience and the tools that manage it. A useful EverShop testing strategy should therefore verify the connection between the two: a product created by an administrator should be discoverable, a price update should reach the customer, stock limits should be respected, and an eligible shopper should be able to complete an order.
Unit and integration tests protect the logic and services behind these actions. Meanwhile, end-to-end tests add the evidence that those pieces work together in the browser. With testRigor, business and technical teams can express those journeys in plain English and reuse the steps that several scenarios share.
Start EverShop testing with a safe test store and a few high-value cases, particularly product discovery, inventory, cart, and checkout. Then expand the suite to reflect the payment, shipping, account, and promotion flows your own business depends on.
| Achieve More Than 90% Test Automation | |
| Step by Step Walkthroughs and Help | |
| 14 Day Free Trial, Cancel Anytime |




