mirror of
https://github.com/penpot/penpot.git
synced 2026-05-31 04:38:08 +00:00
🎉 Add combobox test (#9864)
This commit is contained in:
parent
40b1757c6e
commit
10074bc700
@ -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"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user