Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: create @vaadin/test-runner-commands #8534

Merged
merged 2 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"groups": [
[
// Testing tools group
"^(@web|@vaadin/chai-plugins|@vaadin/testing-helpers|sinon)",
"^(@web|@vaadin/chai-plugins|@vaadin/test-runner-commands|@vaadin/testing-helpers|sinon)",
// Side-effects group
"^\\u0000",
// External group
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
"@types/mocha": "^10.0.7",
"@types/sinon": "^17.0.3",
"@vaadin/testing-helpers": "^1.1.0",
"@vaadin/test-runner-commands": "24.7.0-alpha7",
"@web/dev-server": "^0.4.3",
"@web/dev-server-esbuild": "^1.0.2",
"@web/rollup-plugin-html": "^2.0.0",
"@web/test-runner": "^0.19.0",
"@web/test-runner-commands": "^0.9.0",
"@web/test-runner": "^0.19.0" ,
"@web/test-runner-playwright": "^0.11.0",
"@web/test-runner-puppeteer": "^0.17.0",
"@web/test-runner-saucelabs": "^0.11.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/a11y-base/test/active-mixin.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, isIOS, mousedown, mouseup, touchend, touchstart } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
import { ActiveMixin } from '../src/active-mixin.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/a11y-base/test/focus-trap-controller.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/a11y-base/test/keyboard-mixin.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
import { KeyboardMixin } from '../src/keyboard-mixin.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/accordion/test/accordion-panel.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { click, fixtureSync, nextRender, nextUpdate } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';

describe('vaadin-accordion-panel', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/app-layout/test/dom/app-layout.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { setViewport } from '@vaadin/test-runner-commands';
import { fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { setViewport } from '@web/test-runner-commands';
import '../../src/vaadin-app-layout.js';
import '../../vaadin-drawer-toggle.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/app-layout/test/helpers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { sendKeys } from '@web/test-runner-commands';
import { sendKeys } from '@vaadin/test-runner-commands';

export async function esc() {
await sendKeys({ press: 'Escape' });
Expand Down
2 changes: 1 addition & 1 deletion packages/app-layout/test/keyboard-desktop.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { setViewport } from '@vaadin/test-runner-commands';
import { fixtureSync, nextFrame, nextRender } from '@vaadin/testing-helpers';
import { setViewport } from '@web/test-runner-commands';
import { tab } from './helpers.js';

describe('desktop navigation', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/app-layout/test/keyboard-mobile.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { setViewport } from '@vaadin/test-runner-commands';
import { fixtureSync, nextFrame, nextRender } from '@vaadin/testing-helpers';
import { setViewport } from '@web/test-runner-commands';
import { esc, shiftTab, tab } from './helpers.js';

describe('mobile navigation', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/app-layout/test/visual/lumo/app-layout.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { executeServerCommand } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { executeServerCommand } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/lumo/vaadin-app-layout.js';
import '../../../theme/lumo/vaadin-drawer-toggle.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { executeServerCommand } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { executeServerCommand } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/material/vaadin-app-layout.js';
import '../../../theme/material/vaadin-drawer-toggle.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/avatar/test/visual/lumo/avatar.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { sendKeys } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/tooltip/test/not-animated-styles.js';
import '../../../theme/lumo/vaadin-avatar.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/button/test/button.common.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { resetMouse, sendKeys, sendMouse } from '@vaadin/test-runner-commands';
import { fire, fixtureSync, middleOfNode, nextRender, nextUpdate } from '@vaadin/testing-helpers';
import { resetMouse, sendKeys, sendMouse } from '@web/test-runner-commands';
import sinon from 'sinon';
import type { Button } from '../vaadin-button.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/button/test/dom/button.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, mousedown } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import '../../src/vaadin-button.js';

describe('vaadin-button', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/button/test/visual/helpers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { resetMouse, sendMouse } from '@web/test-runner-commands';
import { resetMouse, sendMouse } from '@vaadin/test-runner-commands';

export async function hover(element) {
const rect = element.getBoundingClientRect();
Expand Down
4 changes: 2 additions & 2 deletions packages/button/test/visual/lumo/button.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, mousedown } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/icon/theme/lumo/vaadin-icon.js';
import '@vaadin/vaadin-lumo-styles/vaadin-iconset.js';
Expand Down Expand Up @@ -46,7 +46,7 @@ describe('button', () => {
const wrapper = fixtureSync(`
<div style="display: flex; align-items: baseline; gap: 20px; width: 400px">
<vaadin-button>This is a button</vaadin-button>

<span style="flex-basis: 100%; background-color: #eee;">Sibling</span>
</div>
`);
Expand Down
4 changes: 2 additions & 2 deletions packages/button/test/visual/material/button.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { sendKeys } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/icon/theme/material/vaadin-icon.js';
import '@vaadin/vaadin-lumo-styles/vaadin-iconset.js';
Expand Down Expand Up @@ -41,7 +41,7 @@ describe('button', () => {
const wrapper = fixtureSync(`
<div style="display: flex; align-items: baseline; gap: 20px; width: 400px">
<vaadin-button>This is a button</vaadin-button>
<span style="flex-basis: 100%; background-color: #eee;">Sibling</span>
</div>
`);
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox-group/test/checkbox-group.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, nextFrame } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';

describe('vaadin-checkbox-group', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox-group/test/validation.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, nextFrame, nextRender, nextUpdate } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';

describe('validation', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { sendKeys } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../common.js';
import '../../../theme/lumo/vaadin-checkbox-group.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { sendKeys } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../common.js';
import '../../../theme/material/vaadin-checkbox-group.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox/test/checkbox.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { resetMouse, sendKeys, sendMouse } from '@vaadin/test-runner-commands';
import { fixtureSync, mousedown, mouseup, nextFrame, nextRender, nextUpdate } from '@vaadin/testing-helpers';
import { resetMouse, sendKeys, sendMouse } from '@web/test-runner-commands';
import sinon from 'sinon';

describe('checkbox', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox/test/validation.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, nextFrame, nextRender } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';

describe('validation', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox/test/visual/lumo/checkbox.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/vaadin-lumo-styles/test/autoload.js';
import '../common.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox/test/visual/material/checkbox.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../common.js';
import '../../../theme/material/vaadin-checkbox.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';

describe('vaadin-combo-box-light - validation', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/combo-box/test/combo-box-light.common.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import {
arrowDownKeyDown,
click,
Expand All @@ -12,7 +13,6 @@ import {
touchend,
touchstart,
} from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';
import '@vaadin/text-field/vaadin-text-field.js';
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/combo-box/test/interactions.common.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { expect } from '@vaadin/chai-plugins';
import { resetMouse, sendKeys, sendMouse } from '@vaadin/test-runner-commands';
import {
aTimeout,
click,
Expand All @@ -13,7 +14,6 @@ import {
tap,
touchstart,
} from '@vaadin/testing-helpers';
import { resetMouse, sendKeys, sendMouse } from '@web/test-runner-commands';
import sinon from 'sinon';
import { isTouch } from '@vaadin/component-base/src/browser-utils.js';
import { getFirstItem, setInputValue } from './helpers.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/combo-box/test/keyboard.common.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import {
arrowDownKeyDown,
arrowUpKeyDown,
Expand All @@ -10,7 +11,6 @@ import {
nextFrame,
nextRender,
} from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';
import { getViewportItems, getVisibleItemsCount, scrollToIndex, setInputValue } from './helpers.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/combo-box/test/validation.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, nextRender, nextUpdate, outsideClick } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';

describe('validation', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/combo-box/test/visual/lumo/combo-box.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sendKeys, sendMouse } from '@vaadin/test-runner-commands';
import { fixtureSync, mousedown, nextFrame } from '@vaadin/testing-helpers';
import { sendKeys, sendMouse } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../common.js';
import '../../../theme/lumo/vaadin-combo-box.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/combo-box/test/visual/material/combo-box.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { sendKeys } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../common.js';
import '../../../theme/material/vaadin-combo-box.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, mousedown, mouseup, nextFrame } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import sinon from 'sinon';
import { Virtualizer } from '../src/virtualizer.js';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { executeServerCommand } from '@vaadin/test-runner-commands';
import { fixtureSync, oneEvent } from '@vaadin/testing-helpers';
import { executeServerCommand } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/vaadin-lumo-styles/test/autoload.js';
import '../../../theme/lumo/vaadin-confirm-dialog.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { executeServerCommand } from '@vaadin/test-runner-commands';
import { fixtureSync, oneEvent } from '@vaadin/testing-helpers';
import { executeServerCommand } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/vaadin-material-styles/test/autoload.js';
import '../../../theme/material/vaadin-confirm-dialog.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/context-menu/test/a11y.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, nextRender, outsideClick } from '@vaadin/testing-helpers';
import { sendKeys } from '@web/test-runner-commands';
import { getDeepActiveElement } from '@vaadin/a11y-base/src/focus-utils.js';
import { getMenuItems } from './helpers.js';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { executeServerCommand } from '@vaadin/test-runner-commands';
import { fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { executeServerCommand } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/item/theme/lumo/vaadin-item.js';
import '@vaadin/list-box/theme/lumo/vaadin-list-box.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { executeServerCommand } from '@vaadin/test-runner-commands';
import { fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { executeServerCommand } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/item/theme/material/vaadin-item.js';
import '@vaadin/list-box/theme/material/vaadin-list-box.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { executeServerCommand } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { executeServerCommand } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/lumo/vaadin-cookie-consent.js';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { executeServerCommand } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { executeServerCommand } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/material/vaadin-cookie-consent.js';

Expand Down
4 changes: 2 additions & 2 deletions packages/crud/test/a11y.common.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from '@vaadin/chai-plugins';
import { setViewport } from '@vaadin/test-runner-commands';
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { setViewport } from '@web/test-runner-commands';
import { sendKeys } from '@web/test-runner-commands';
import { getDeepActiveElement } from '@vaadin/a11y-base/src/focus-utils.js';
import { getVisibleRows } from './helpers.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/crud/test/crud-buttons.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { setViewport } from '@vaadin/test-runner-commands';
import { aTimeout, change, click, fire, fixtureSync, listenOnce, nextRender, oneEvent } from '@vaadin/testing-helpers';
import { setViewport } from '@web/test-runner-commands';
import sinon from 'sinon';
import { flushGrid } from './helpers.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/crud/test/crud-editor.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { setViewport } from '@vaadin/test-runner-commands';
import { aTimeout, fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { setViewport } from '@web/test-runner-commands';
import { flushGrid } from './helpers.js';

describe('crud editor', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/crud/test/crud.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { setViewport } from '@vaadin/test-runner-commands';
import { aTimeout, change, fire, fixtureSync, nextRender, oneEvent } from '@vaadin/testing-helpers';
import { setViewport } from '@web/test-runner-commands';
import sinon from 'sinon';
import { capitalize, getProperty, setProperty } from '../src/vaadin-crud-helpers.js';
import { flushGrid, getBodyCellContent } from './helpers.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/crud/test/dom/crud.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from '@vaadin/chai-plugins';
import { setViewport } from '@vaadin/test-runner-commands';
import { fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { setViewport } from '@web/test-runner-commands';
import '../../vaadin-crud.js';
import { resetUniqueId } from '@vaadin/component-base/src/unique-id-utils.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/crud/test/visual/lumo/crud.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { executeServerCommand } from '@vaadin/test-runner-commands';
import { fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { executeServerCommand } from '@web/test-runner-commands';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../not-animated-styles.js';
import '../../../theme/lumo/vaadin-crud.js';
Expand Down
Loading