Skip to content

Commit

Permalink
test(popover): try to deflake tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Dec 10, 2023
1 parent df15792 commit 65af03b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions elements/pf-popover/test/pf-popover.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ describe('<pf-popover>', function() {
});

describe('with a slotted trigger; and with heading, body, and footer attributes', function() {
// these tests are flaky, soo...
beforeEach(resetElement);
beforeEach(nextFrame);
beforeEach(resetElement);
beforeEach(nextFrame);
beforeEach(resetElement);
beforeEach(nextFrame);

/** create a test fixture with slotted trigger and content attrs */
beforeEach(async function setupPopoverWithSlottedTriggerAndContentAttrs() {
element = await fixture<PfPopover>(html`
Expand Down

0 comments on commit 65af03b

Please sign in to comment.