-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #560 from appuio/556-trim-user-input
🦺 trim text inputs by user
- Loading branch information
Showing
12 changed files
with
53 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -202,17 +202,17 @@ describe('Test billing entity create', () => { | |
cy.visit('/billingentities/$new?edit=y'); | ||
cy.get('#title').should('contain.text', 'New Billing'); | ||
|
||
cy.get('#displayName').type('➡️ Engineering GmbH'); | ||
|
||
cy.get('#companyEmail').find('input').type('[email protected],'); | ||
cy.get('#phone').type('☎️'); | ||
cy.get('#line1').type('📃'); | ||
cy.get('#line2').type('📋'); | ||
cy.get('#postal').type('🏤'); | ||
cy.get('#city').type('🏙️'); | ||
cy.get('#displayName').type('➡️ Engineering GmbH '); | ||
|
||
cy.get('#companyEmail').find('input').type(' [email protected],'); | ||
cy.get('#phone').type('☎️ '); | ||
cy.get('#line1').type('📃 '); | ||
cy.get('#line2').type('📋 '); | ||
cy.get('#postal').type('🏤 '); | ||
cy.get('#city').type('🏙️ '); | ||
cy.get('p-dropdown').click().contains('Switzerland').click(); | ||
|
||
cy.get('#accountingName').type('mig'); | ||
cy.get('#accountingName').type('mig '); | ||
|
||
cy.get('button[type="submit"]').should('be.enabled').click(); | ||
cy.wait('@createBillingEntity') | ||
|
@@ -322,7 +322,7 @@ describe('Test billing entity edit', () => { | |
|
||
cy.get('#displayName').should('have.value', '➡️ Engineering GmbH'); | ||
|
||
cy.get('#displayName').type('{selectAll}nxt Engineering'); | ||
cy.get('#displayName').type('{selectAll}nxt Engineering '); | ||
cy.get('#companyEmail').type('[email protected]{enter}'); | ||
cy.get('#phone').type('{selectAll}1234'); | ||
cy.get('#line1').type('{selectAll}line1'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,7 @@ describe('Test invitation create', () => { | |
cy.visit('/invitations/create'); | ||
|
||
cy.get('#title').should('contain.text', 'Invite User'); | ||
cy.get('#email').type('[email protected]'); | ||
cy.get('#email').type('[email protected] '); | ||
cy.get('#note').type('New Employee working for 👁️'); | ||
|
||
cy.get('p-checkbox input').should('be.disabled'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters