showcar-ui
Version:
Showcar-ui is the pattern library that is used to build the frontend of AutoScout24. It provides CSS classes, custom elements and components.
14 lines (12 loc) • 394 B
JavaScript
module.exports = (frame) => {
describe('Validation', () => {
it('error label positioned right', () => {
const input = frame.get('#validation .sc-input.error');
const label = frame.get('#validation .sc-font-error');
label.assert({
top: input.bottom.plus(4),
left: input.left
});
});
});
};