Skip to content

033 — should send emails to both suppliers in same segment

Description

Two suppliers assigned to Segment 1: verify both receive inquiry emails and appear in the Segment 1 inquiry section with SharePoint links.

Preconditions

  • Clean database (TestControl.cleanDb())
  • User logged in with ADMIN and ACCOUNTING roles
  • Three segments (Seg1, Seg2, Seg3) created
  • Suppliers assigned to segments per scenario
  • Two suppliers assigned to Segment 1

Steps

  1. Create inquiry for Segment 1 with both suppliers — Expected: Inquiry shows state V procesu; both supplier rows visible
  2. Send emails — Expected: Both suppliers receive exactly one email each with correct subject and SharePoint links
  • Spec: tests/e2e/tests/documentations.spec.ts