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
[#9480] Add snapshot test for instructor search page #9581
[#9480] Add snapshot test for instructor search page #9581
Conversation
...nstructor/instructor-search-page/__snapshots__/instructor-search-page.component.spec.ts.snap
Show resolved
Hide resolved
|
||
exports[`InstructorSearchPageComponent should snap with a student table 1`] = ` | ||
<tm-instructor-search-page | ||
fbSessionDataTables={[Function Array]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should populate this too for one of the test cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interestingly this is not being used in the html template itself
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that part is still under migration? @wkurniawan07
...nstructor/instructor-search-page/__snapshots__/instructor-search-page.component.spec.ts.snap
Show resolved
Hide resolved
Hi @monmanuela / @AyushChatto , this page is still under migration. I have done a bare bones snapshot test for the currently available components. Do see if it is okay. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
}); | ||
|
||
it('should snap with a feedback session table', () => { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one qn - why is this one blank?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sry, this was a KIV. I have removed it!
749daae
to
060c672
Compare
060c672
to
af7bf84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Part of #9480
Added a few simple test cases for the instructor search page.