Skip to main content

Catalog-related tests

This page explains how to replay manually the catalog-related automated tests.

Creating a product from scratch is covered in Product-related tests.

How to use this page

  • Run the shared setup before each scenario.
  • Keep the same section numbering as automation (§7, §8, §8b, §8c).
  • Use unique product names with a timestamp to avoid collisions.

Shared setup (run before each scenario)

  1. Sign in with a user that can manage products.
  2. Open a place with catalog permissions.
  3. Open the Products tab.
  4. Ensure the app is online and fully loaded.

§7 Show central catalog ("Show all")

Before you start: Shared setup completed.

User actions

  1. Open the products options menu.
  2. Enable Show all.
  3. Wait until loading finishes.
  4. Close the options menu.

Expected result: Central catalog items become available in the products view when data exists in the environment.


§8 Create a product from a catalog template

Before you start: §7 completed in the same session.

User actions

  1. In the catalog list, open one visible template product.
  2. If the product opens in read-only mode, switch to edit mode.
  3. Change product name to E2E-CAT-<timestamp>.
  4. Set price to 5.00.
  5. Save the product.
  6. Return to the list and find E2E-CAT-<timestamp>.

Expected result: A new local product is created from the catalog template and appears in the list.


§8b Create two catalog-based products in sequence

Before you start: §7 completed in the same session.

User actions

  1. Open a catalog template and create:
    • Name: E2E-CAT-A-<timestamp>
    • Price: 5.10
  2. Save and verify product A appears.
  3. Open another catalog template and create:
    • Name: E2E-CAT-B-<timestamp>
    • Price: 5.20
  4. Save and verify product B appears.

Expected result: Both products are created successfully one after another.


§8c Delete a catalog-based product and create again

Before you start: §7 completed in the same session.

User actions

  1. Open a catalog template and create:
    • Name: E2E-DEL-<timestamp>
    • Price: 6.00
  2. Save and verify it appears.
  3. Open E2E-DEL-<timestamp> and delete it.
  4. Confirm deletion and verify it disappears from the list.
  5. Open a catalog template again.
  6. Create:
    • Name: E2E-READD-<timestamp>
    • Price: 6.50
  7. Save and verify the new product appears.

Expected result: After deleting a local product created from template, catalog flow still allows creating a new one.


Tracking

Automated in e2e/tests/product-catalog.spec.ts: §7, §8, §8b, §8c. Setup matches other catalog specs via e2e/helpers/product-test-setup.ts.