test(popover): add missing screenshot function (#27399)

Issue number: N/A

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

A skipped popover test was missing a screenshot function

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- Added missing screenshot function

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
This commit is contained in:
Liam DeBeasi
2023-05-04 16:47:23 -04:00
committed by GitHub
parent a9d920f738
commit 154aa1dbf6

View File

@ -27,7 +27,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
await expect(page).toHaveScreenshot(screenshot(`popover-size`)); await expect(page).toHaveScreenshot(screenshot(`popover-size`));
// test this one separately since it would overlap others // test this one separately since it would overlap others
await screenshotPopover(page, 'no-event-trigger', 'size'); await screenshotPopover(page, screenshot, 'no-event-trigger', 'size');
}); });
}); });
}); });