generated from openedx/frontend-template-application
-
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.
- Loading branch information
1 parent
5ff3bf7
commit 28b14f9
Showing
4 changed files
with
6 additions
and
6 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 |
---|---|---|
|
@@ -74,7 +74,7 @@ describe('Add instructor modal', () => { | |
expect(getByText('First name')).toBeInTheDocument(); | ||
expect(getByText('Last name')).toBeInTheDocument(); | ||
expect(getByText('Cancel')).toBeInTheDocument(); | ||
expect(getByText('Send invite')).toBeInTheDocument(); | ||
expect(getByText('Add instructor')).toBeInTheDocument(); | ||
}); | ||
|
||
test('Should handle input changes correctly', () => { | ||
|
@@ -132,7 +132,7 @@ describe('Instructor modal - Request', () => { | |
); | ||
|
||
const emailInput = getByPlaceholderText('Enter Email of the instructor'); | ||
const sendButton = getByText('Send invite'); | ||
const sendButton = getByText('Add instructor'); | ||
|
||
fireEvent.change(emailInput, { target: { value: '[email protected]' } }); | ||
fireEvent.click(sendButton); | ||
|
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