Skip to content

Commit

Permalink
test: disable animations in visual tests (#284) (#285)
Browse files Browse the repository at this point in the history
Co-authored-by: Sascha Ißbrücker <[email protected]>
  • Loading branch information
vaadin-bot and sissbruecker authored Apr 29, 2021
1 parent 2667e72 commit 187d73b
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/lumo/vaadin-combo-box.js';
import '../../not-animated-styles.js';

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

describe('combo-box', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
import { visualDiff } from '@web/test-runner-visual-regression';
import '../../../theme/lumo/vaadin-confirm-dialog.js';
import '../../not-animated-styles.js';

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

describe('confirm-dialog', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { visualDiff } from '@web/test-runner-visual-regression';
import { openSubMenus } from '../common.js';
import '../../../theme/lumo/vaadin-context-menu.js';
import '../../not-animated-styles.js';

describe('context-menu', () => {
let element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { fixtureSync, nextRender } from '@vaadin/testing-helpers';
import { visualDiff } from '@web/test-runner-visual-regression';
import { openSubMenus } from '../common.js';
import '../../../theme/material/vaadin-context-menu.js';
import '../../not-animated-styles.js';

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

describe('date-picker', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
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';

describe('date-picker', () => {
let div, element;
Expand Down
1 change: 1 addition & 0 deletions packages/vaadin-grid-pro/test/visual/lumo/grid-pro.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { getContainerCell } from '../../helpers.js';
import { users } from '../users.js';
import '../../../theme/lumo/vaadin-grid-pro.js';
import '../../../theme/lumo/vaadin-grid-pro-edit-column.js';
import '../../not-animated-styles.js';

describe('grid-pro', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { getContainerCell } from '../../helpers.js';
import { users } from '../users.js';
import '../../../theme/material/vaadin-grid-pro.js';
import '../../../theme/material/vaadin-grid-pro-edit-column.js';
import '../../not-animated-styles.js';

describe('grid-pro', () => {
let div, element;
Expand Down
1 change: 1 addition & 0 deletions packages/vaadin-menu-bar/test/visual/lumo/menu-bar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/vaadin-lumo-styles/icons.js';
import '@polymer/iron-icon/iron-icon.js';
import '../../../theme/lumo/vaadin-menu-bar.js';
import '../../not-animated-styles.js';

describe('menu-bar', () => {
let div, element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { visualDiff } from '@web/test-runner-visual-regression';
import '@vaadin/vaadin-lumo-styles/icons.js';
import '@polymer/iron-icon/iron-icon.js';
import '../../../theme/material/vaadin-menu-bar.js';
import '../../not-animated-styles.js';

describe('menu-bar', () => {
let div, element;
Expand Down

0 comments on commit 187d73b

Please sign in to comment.