Skip to content

Commit

Permalink
test(tab-title): unskip test (#11060)
Browse files Browse the repository at this point in the history
**Related Issue:** #5493 

## Summary

✨🧪✨
  • Loading branch information
jcfranco authored Dec 16, 2024
1 parent 7113265 commit bca96cd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ describe("calcite-tab-title", () => {
});
});

it.skip("emits active event on user interaction only", async () => {
it("emits active event on user interaction only", async () => {
const page = await newE2EPage();
await page.setContent(`<calcite-tab-title>Title</calcite-tab-title>`);
const activeEventSpy = await page.spyOnEvent("calciteTabsActivate");
Expand All @@ -339,9 +339,11 @@ describe("calcite-tab-title", () => {
expect(activeEventSpy).toHaveReceivedEventTimes(0);

await title.click();
await page.waitForChanges();
expect(activeEventSpy).toHaveReceivedEventTimes(1);

await page.keyboard.press("Enter");
await page.waitForChanges();
expect(activeEventSpy).toHaveReceivedEventTimes(2);
});

Expand Down

0 comments on commit bca96cd

Please sign in to comment.