Skip to content

Commit

Permalink
test: fix base label test
Browse files Browse the repository at this point in the history
  • Loading branch information
fhenrich33 committed Nov 15, 2024
1 parent caa1b3c commit 1583acd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ it("4.3.1 - Initial load of Page", async () => {
const title = await screen.findByRole("heading", { name: "New Shipment" });
expect(title).toBeInTheDocument();
// Test case 4.3.1.1 - Content: Displays Source Base Label
expect(screen.getAllByText(/boxaid - lesvos/i)[0]).toBeInTheDocument();
expect(await screen.findByText(/boxaid/i)).toBeInTheDocument();
expect(await screen.findByText(/lesvos/i)).toBeInTheDocument();
// Test case 4.3.1.2 - Content: Displays Partner Orgs Select Options
await assertOptionsInSelectField(user, /organisation/i, [/boxcare/i], title);
await selectOptionInSelectField(user, /organisation/i, "BoxCare");
Expand Down

0 comments on commit 1583acd

Please sign in to comment.