Skip to content

Commit 52b2165

Browse files
committed
Flaky test fix
1 parent 6620888 commit 52b2165

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/component-tests/integration-tests/urgent-letter-priority.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
} from "tests/helpers/urgent-letter-priority-helper";
1212
import { createValidRequestHeaders } from "tests/constants/request-headers";
1313
import { SUPPLIER_LETTERS } from "tests/constants/api-constants";
14+
import { supplierDataSetup } from "tests/helpers/suppliers-setup-helper";
1415
import {
1516
GetLettersResponse,
1617
GetLettersResponseSchema,
@@ -20,6 +21,7 @@ let baseUrl: string;
2021

2122
test.beforeAll(async () => {
2223
baseUrl = await getRestApiGatewayBaseUrl();
24+
await supplierDataSetup(supplier);
2325
});
2426

2527
test.describe("Urgent Letter Priority Tests", () => {

0 commit comments

Comments
 (0)