Skip to content

Commit

Permalink
test: import files that register styles before custom elements (#8578)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Jan 28, 2025
1 parent 54a41ae commit 3eef437
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
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
Expand Up @@ -2,8 +2,8 @@ import { sendKeys, sendMouse } from '@vaadin/test-runner-commands';
import { fixtureSync, mousedown, nextFrame } from '@vaadin/testing-helpers';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../common.js';
import '../../../theme/lumo/vaadin-combo-box.js';
import '../../not-animated-styles.js';
import '../../../theme/lumo/vaadin-combo-box.js';

describe('combo-box', () => {
let div, element;
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
Expand Up @@ -2,8 +2,8 @@ import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../common.js';
import '../../../theme/material/vaadin-combo-box.js';
import '../../not-animated-styles.js';
import '../../../theme/material/vaadin-combo-box.js';

describe('combo-box', () => {
let div, element;
Expand Down
2 changes: 1 addition & 1 deletion packages/date-picker/test/visual/lumo/date-picker.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { sendKeys, sendMouse } from '@vaadin/test-runner-commands';
import { fixtureSync, mousedown } from '@vaadin/testing-helpers';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/lumo/vaadin-date-picker.js';
import '../../not-animated-styles.js';
import '../common.js';
import '../../../theme/lumo/vaadin-date-picker.js';

describe('date-picker', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/material/vaadin-date-picker.js';
import '../../not-animated-styles.js';
import '../common.js';
import '../../../theme/material/vaadin-date-picker.js';

describe('date-picker', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/lumo/vaadin-date-time-picker.js';
import '../common.js';
import '../../../theme/lumo/vaadin-date-time-picker.js';

describe('date-time-picker', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/material/vaadin-date-time-picker.js';
import '../common.js';
import '../../../theme/material/vaadin-date-time-picker.js';

describe('date-time-picker', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import '@vaadin/list-box/theme/lumo/vaadin-list-box.js';
import '@vaadin/radio-group/theme/lumo/vaadin-radio-group.js';
import '@vaadin/text-area/theme/lumo/vaadin-text-area.js';
import '@vaadin/text-field/theme/lumo/vaadin-text-field.js';
import '../../../theme/lumo/vaadin-field-highlighter.js';
import '../common.js';
import '../../../theme/lumo/vaadin-field-highlighter.js';
import { setUsers } from '../helpers.js';

describe('field-highlighter', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import '@vaadin/list-box/theme/material/vaadin-list-box.js';
import '@vaadin/radio-group/theme/material/vaadin-radio-group.js';
import '@vaadin/text-area/theme/material/vaadin-text-area.js';
import '@vaadin/text-field/theme/material/vaadin-text-field.js';
import '../../../theme/material/vaadin-field-highlighter.js';
import '../common.js';
import '../../../theme/material/vaadin-field-highlighter.js';
import { setUsers } from '../helpers.js';

describe('field-highlighter', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { sendKeys, sendMouse } from '@vaadin/test-runner-commands';
import { fixtureSync, mousedown } from '@vaadin/testing-helpers';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../common.js';
import '../../../theme/lumo/vaadin-multi-select-combo-box.js';
import '../../not-animated-styles.js';
import '../../../theme/lumo/vaadin-multi-select-combo-box.js';

describe('multi-select-combo-box', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { sendKeys } from '@vaadin/test-runner-commands';
import { fixtureSync, mousedown } from '@vaadin/testing-helpers';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../common.js';
import '../../../theme/material/vaadin-multi-select-combo-box.js';
import '../../not-animated-styles.js';
import '../../../theme/material/vaadin-multi-select-combo-box.js';

describe('multi-select-combo-box', () => {
let div, element;
Expand Down

0 comments on commit 3eef437

Please sign in to comment.