Title
Viewing merchandising items that are tagged depending on their insights and anomalies.
Scenario 1 : Background
When: I visit the merchandising page
Then: I should see the Merchandising table
Scenario 2 : Prioritising tag (Happy)
When:I filter for the “Anomalous: Low” tag using the tag filter bar,
Then: I should see products with the “Anomalous: Low” tag on top of the table on page 1.
Scenario 3: Prioritising tag (Sad)
Given: I filter for the “Anomalous: Low” tag using the tag filter bar,
When: I expand another row
Then: I should be moved to the first page,
And:I should see products with the “Anomalous: Low” tag on top of the table on page 1.
Scenario 4: Sorting under tag priorities (Sad):
Given: I have filtered for the “Anomalous: Low” tag using the tag filter bar,
When: I filter by “stocks,”
Then: I should see the products with the “Anomalous: Low” tag sorted,
And: I should see every other product under it sorted separately in the same order