feat: new agenda
This commit is contained in:
@@ -88,7 +88,9 @@ describe('FormContact', () => {
|
||||
const submitButton = screen.getByRole('button', { name: 'Send Message' });
|
||||
|
||||
const longName = 'a'.repeat(61);
|
||||
await user.type(firstNameInput, longName);
|
||||
|
||||
await user.click(firstNameInput);
|
||||
await user.paste(longName);
|
||||
await user.click(submitButton);
|
||||
|
||||
expect(
|
||||
@@ -160,7 +162,9 @@ describe('FormContact', () => {
|
||||
const submitButton = screen.getByRole('button', { name: 'Send Message' });
|
||||
|
||||
const longName = 'b'.repeat(61);
|
||||
await user.type(lastNameInput, longName);
|
||||
|
||||
await user.click(lastNameInput);
|
||||
await user.paste(longName);
|
||||
await user.click(submitButton);
|
||||
|
||||
expect(
|
||||
@@ -312,7 +316,10 @@ describe('FormContact', () => {
|
||||
const submitButton = screen.getByRole('button', { name: 'Send Message' });
|
||||
|
||||
const longMessage = 'a'.repeat(1001);
|
||||
await user.type(messageInput, longMessage);
|
||||
|
||||
await user.click(messageInput);
|
||||
await user.paste(longMessage);
|
||||
// await user.type(messageInput, longMessage); //. 10001 mal rerendern von FormContact. (Performance issues)
|
||||
await user.click(submitButton);
|
||||
|
||||
expect(
|
||||
|
||||
Reference in New Issue
Block a user