Skip to content

Commit

Permalink
test: add visual tests for the new theme
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoCardoso committed Nov 8, 2024
1 parent e39a2df commit 4791a2d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,10 @@ describe('horizontal-layout', () => {
element.setAttribute('theme', 'spacing-xl');
await visualDiff(div, 'theme-spacing-xl');
});

it('theme-wrap', async () => {
element.setAttribute('theme', 'wrap');
element.style.width = '100px';
await visualDiff(div, 'theme-wrap');
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,10 @@ describe('horizontal-layout', () => {
element.setAttribute('theme', 'margin padding spacing');
await visualDiff(div, 'theme-margin-padding-spacing');
});

it('theme-wrap', async () => {
element.setAttribute('theme', 'wrap');
element.style.width = '100px';
await visualDiff(div, 'theme-wrap');
});
});
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 4791a2d

Please sign in to comment.