mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-16 04:29:31 +00:00
test(ui): query credential rows by role to stay under the no-node-access budget
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
98faff197a
commit
f856d002d9
1 changed files with 2 additions and 2 deletions
|
|
@ -67,10 +67,10 @@ describe("CredentialsTable", () => {
|
|||
];
|
||||
render(<CredentialsTable {...defaultProps} credentials={credentials} />);
|
||||
|
||||
const aliasedRow = screen.getByText("aliased").closest("tr")!;
|
||||
const aliasedRow = screen.getByRole("row", { name: /^aliased/ });
|
||||
expect(within(aliasedRow).getByText("Prod OpenAI")).toBeInTheDocument();
|
||||
|
||||
const unaliasedRow = screen.getByText("unaliased").closest("tr")!;
|
||||
const unaliasedRow = screen.getByRole("row", { name: /^unaliased/ });
|
||||
expect(within(unaliasedRow).getByText("-")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue