Open k80bowman opened 2 years ago
expect(await accordionItemToggled).toHaveReceivedEventTimes(1);
we need to await the expect to help prevent test completing prior to event firing properly
I left a comment in a Stencil ticket describing our problem and asking about steps to resolve it.
@Andrew565 is this still an issue? Can we close this?
This is still needed.
Closing the PR since it's almost 2 years old at this point, but dropping a link to reference it for future work - https://github.com/department-of-veterans-affairs/component-library/pull/246
Description
The "fires a custom event when the location hash matches the accordion id" test for the va-accordion-item component has started to fail intermittently. You can see details about what is going on and what fixes have been tried in this Slack thread.
Notes
It seems to fail on CI but not locally (or at least it has not failed locally yet). You can see it failed on this run.
Acceptance Criteria