Skip to content

Commit

Permalink
Merge branch 'main' into LFOSS-492
Browse files Browse the repository at this point in the history
  • Loading branch information
erichare authored Feb 14, 2025
2 parents 3460fd9 + d4c04c8 commit 36842e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/frontend/tests/extended/features/filterEdge-shard-1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,9 @@ test(
];

const elementTestIds = [
"inputsChat Input",
"outputsChat Output",
"dataAPI Request",
"modelsAmazon Bedrock",
"helpersMessage History",
"vectorstoresAstra DB",
"embeddingsAmazon Bedrock Embeddings",
"langchain_utilitiesTool Calling Agent",
Expand All @@ -94,9 +92,11 @@ test(
);

await Promise.all(
elementTestIds.map((id) =>
expect(page.getByTestId(id).first()).toBeVisible(),
),
elementTestIds.map((id) => {
if (!expect(page.getByTestId(id).first()).toBeVisible()) {
console.error(`${id} is not visible`);
}
}),
);

await page.getByTestId("sidebar-search-input").click();
Expand Down

0 comments on commit 36842e0

Please sign in to comment.