🎉 Add combobox test (#9864)

This commit is contained in:
Eva Marco 2026-05-26 10:52:09 +02:00 committed by GitHub
parent 40b1757c6e
commit 10074bc700
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,6 +94,8 @@ test.describe("Tokens - creation", () => {
await toggleDropdownButton.click(); await toggleDropdownButton.click();
const option = page.getByRole("option", { name: "my-token" }); const option = page.getByRole("option", { name: "my-token" });
await expect(option).toBeVisible(); await expect(option).toBeVisible();
const resolvedValue = option.getByText('3');
await expect(resolvedValue).toBeVisible();
await option.click(); await option.click();
await expect( await expect(
tokensUpdateCreateModal.getByText("Resolved value: 3"), tokensUpdateCreateModal.getByText("Resolved value: 3"),