Skip to content

Commit 374a5a0

Browse files
committed
test(popover): fix util import
1 parent 57b7dba commit 374a5a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

elements/pf-popover/test/pf-popover.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect, html, fixture, fixtureCleanup } from '@open-wc/testing';
22
import { a11ySnapshot, type A11yTreeSnapshot } from '@patternfly/pfe-tools/test/a11y-snapshot.js';
3-
import { clickElementCenter } from '@patternfly/pfe-tools/test/utils.js';
3+
import { clickElementAtCenter } from '@patternfly/pfe-tools/test/utils.js';
44
import { sendKeys, resetMouse } from '@web/test-runner-commands';
55
import { PfPopover } from '@patternfly/elements/pf-popover/pf-popover.js';
66
import { PfButton } from '@patternfly/elements/pf-button/pf-button.js';
@@ -196,12 +196,12 @@ describe('<pf-popover>', function() {
196196
};
197197

198198
async function clickButton1() {
199-
await clickElementCenter(btn1);
199+
await clickElementAtCenter(btn1);
200200
await resetMouse();
201201
}
202202

203203
async function clickButton2() {
204-
await clickElementCenter(btn2);
204+
await clickElementAtCenter(btn2);
205205
await resetMouse();
206206
}
207207

0 commit comments

Comments
 (0)