Skip to content

Commit

Permalink
test(demo-integrations): removed old tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanslav Zaytsev committed Mar 7, 2024
1 parent 7f284a8 commit 3fe2d57
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,26 +313,6 @@ describe('Number | Prefix & Postfix', () => {
});
});

describe('multi-character prefix "EUR " (no initial value & no caret guard)', () => {
beforeEach(() => {
cy.visit(DemoPath.Cypress);
cy.get('#multi-character-prefix input')
.focus()
.should('have.value', '')
.as('input');
});

['E', 'U', 'R'].forEach(char => {
it(`Empty input => Type "${char} => Textfield's value is "EUR "`, () => {
cy.get('@input')
.type(char)
.should('have.value', 'EUR ')
.should('have.prop', 'selectionStart', 'EUR '.length)
.should('have.prop', 'selectionEnd', 'EUR '.length);
});
});
});

describe('prefix ends with the same character as postfix starts', () => {
const prefix = 'lbs.​'; // padded with zero-width space

Expand Down

0 comments on commit 3fe2d57

Please sign in to comment.