Skip to content

Commit d66081f

Browse files
authored
test: add missing visual tests for cookie-consent base styles (#9853)
1 parent 45f6c37 commit d66081f

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
2+
import { visualDiff } from '@web/test-runner-visual-regression';
3+
import '../../../src/vaadin-cookie-consent.js';
4+
5+
describe('cookie-consent', () => {
6+
let element;
7+
8+
beforeEach(() => {
9+
element = fixtureSync('<vaadin-cookie-consent></vaadin-cookie-consent>');
10+
});
11+
12+
it('basic', async () => {
13+
element._show();
14+
await visualDiff(document.body, 'basic');
15+
});
16+
});
6.73 KB
Loading

0 commit comments

Comments
 (0)