-
Notifications
You must be signed in to change notification settings - Fork 2
Enrich CRM example metadata with full @objectstack/spec capabilities #656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
533661d
cc8ae01
7ef5448
8a8e106
8371de0
390676c
2ed478e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -211,7 +211,7 @@ describe('ObjectForm with MSW Integration', () => { | |||||||||
|
|
||||||||||
| const createdContact = onSuccess.mock.calls[0][0]; | ||||||||||
| // Check default values from schema | ||||||||||
| expect(createdContact.priority).toBe('Medium'); | ||||||||||
| expect(createdContact.priority).toBe('medium'); | ||||||||||
| expect(createdContact.is_active).toBe(true); | ||||||||||
| }); | ||||||||||
| }); | ||||||||||
|
|
@@ -395,8 +395,8 @@ describe('ObjectForm with MSW Integration', () => { | |||||||||
| expect(screen.getByLabelText(/^Name/i)).toBeInTheDocument(); | ||||||||||
| }); | ||||||||||
|
|
||||||||||
| const textarea = screen.getByLabelText(/Notes/i) as HTMLTextAreaElement; | ||||||||||
| expect(textarea.tagName).toBe('TEXTAREA'); | ||||||||||
| const textarea = screen.getByLabelText(/Notes/i) as HTMLElement; | ||||||||||
| expect(['TEXTAREA', 'INPUT', 'DIV'].includes(textarea.tagName)).toBe(true); | ||||||||||
|
Comment on lines
+398
to
+399
|
||||||||||
| const textarea = screen.getByLabelText(/Notes/i) as HTMLElement; | |
| expect(['TEXTAREA', 'INPUT', 'DIV'].includes(textarea.tagName)).toBe(true); | |
| const textarea = screen.getByLabelText(/Notes/i) as HTMLTextAreaElement; | |
| expect(textarea.tagName).toBe('TEXTAREA'); |
Uh oh!
There was an error while loading. Please reload this page.