Skip to content

Commit

Permalink
test: update login screenshots to use 610px height
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Dec 30, 2024
1 parent b5859f9 commit 4eb52bb
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/login/test/visual/lumo/login-overlay.test.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
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 '../common.js';
import '../../../theme/lumo/vaadin-login-overlay.js';

describe('login-overlay', () => {
let div, element;

before(async () => {
await executeServerCommand('set-window-height', { height: 610 });
});

beforeEach(() => {
div = document.createElement('div');
div.style.height = '100%';
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/login/test/visual/material/login-overlay.test.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
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 '../common.js';
import '../../../theme/material/vaadin-login-overlay.js';

describe('login-overlay', () => {
let div, element;

before(async () => {
await executeServerCommand('set-window-height', { height: 610 });
});

beforeEach(() => {
div = document.createElement('div');
div.style.height = '100%';
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4eb52bb

Please sign in to comment.