mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-02 05:03:12 +00:00
test(work-orders): drop Jira keys from advanced filter test names
Keep ticket identity on the branch and PR, not in Playwright or Vitest titles.
This commit is contained in:
parent
93ab14abf3
commit
1d9f3c3637
2 changed files with 6 additions and 4 deletions
|
|
@ -79,7 +79,7 @@ async function applyAdvancedFilters(page: Page) {
|
|||
return sheet;
|
||||
}
|
||||
|
||||
test.describe("Work Orders advanced filters (SH-244)", () => {
|
||||
test.describe("Work Orders advanced filters", () => {
|
||||
test("sends carriedOver on board/search and shows empty copy", async ({ page }) => {
|
||||
const searchUrls: string[] = [];
|
||||
await signInAndOpenWorkOrders(page);
|
||||
|
|
@ -99,7 +99,9 @@ test.describe("Work Orders advanced filters (SH-244)", () => {
|
|||
await expect(page.getByText("No work orders match these filters")).toBeVisible();
|
||||
});
|
||||
|
||||
test("sends combined SH-244 facets on the same board/search request", async ({ page }) => {
|
||||
test("sends combined advanced-filter facets on the same board/search request", async ({
|
||||
page,
|
||||
}) => {
|
||||
const searchUrls: string[] = [];
|
||||
await signInAndOpenWorkOrders(page);
|
||||
await mockWorkOrderApis(page, searchUrls);
|
||||
|
|
@ -183,7 +183,7 @@ describe("toBoardSearchQueryParams", () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it("maps each SH-244 facet alone onto board search params (AND-ready query)", () => {
|
||||
it("maps each extra advanced-filter facet alone onto board search params", () => {
|
||||
const severity = toBoardSearchQueryParams({
|
||||
filters: { ...EMPTY_ADVANCED_FILTERS, severities: new Set([4]) },
|
||||
});
|
||||
|
|
@ -216,7 +216,7 @@ describe("toBoardSearchQueryParams", () => {
|
|||
expect(docs.docStatuses).toEqual([DOC_STATUS_API.NotNeeded]);
|
||||
});
|
||||
|
||||
it("combines SH-244 facets with a SH-121 status facet on the same request", () => {
|
||||
it("combines extra advanced-filter facets with a status facet on the same request", () => {
|
||||
const params = toBoardSearchQueryParams({
|
||||
filters: {
|
||||
...EMPTY_ADVANCED_FILTERS,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue