Skip to content

Commit

Permalink
remove Material tests since they are unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Jan 30, 2025
1 parent d1cd21e commit c1ce4d3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions packages/form-layout/test/visual/material/form-layout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,58 +246,4 @@ describe('form-layout', () => {
await visualDiff(element, 'required-indicator-labels-on-top');
});
});

['ltr', 'rtl'].forEach((dir) => {
describe(dir, () => {
before(() => {
document.documentElement.setAttribute('dir', dir);
});

after(() => {
document.documentElement.removeAttribute('dir');
});

describe('container overflow', () => {
beforeEach(() => {
element = fixtureSync(`
<div style="width: 300px; overflow: auto; border: 1px solid #8EA3A6;">
<style>
vaadin-form-layout > div {
padding: 0.5em;
box-sizing: border-box;
}
vaadin-form-layout > div:nth-child(even) {
background: #E6E9AF;
}
vaadin-form-layout > div:nth-child(odd) {
background: #605EA1;
}
</style>
<vaadin-form-layout responsive-steps='[{"columns": 3}]'>
<div>1/3</div>
<div>1/3</div>
<div>1/3</div>
<br>
<div style="display: none;">hidden</div>
<div colspan="2">2/3</div>
<div style="display: none;">hidden</div>
<br>
<div>1/3</div>
<div colspan="2">2/3</div>
<div colspan="2">2/3</div>
<div>1/3</div>
<div colspan="3">3/3</div>
</vaadin-form-layout>
</div>
`);
});

it('basic', async () => {
await visualDiff(element, `${dir}-container-overflow`);
});
});
});
});
});
Binary file not shown.
Binary file not shown.

0 comments on commit c1ce4d3

Please sign in to comment.