Fix missing ids on people_search.spec.js
flag=none test plan: - Specs pass qa risk: low Change-Id: I2e4c00ba9c66804d74cb30550f70c8fe909b3763 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/277186 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Drake Harper <drake.harper@instructure.com> QA-Review: Drake Harper <drake.harper@instructure.com> Product-Review: Drake Harper <drake.harper@instructure.com>
This commit is contained in:
parent
ea590876ea
commit
cc65b893bc
|
@ -109,7 +109,6 @@ const ignoredErrors = [
|
|||
/The prop `rollups\[0\].outcomeRollups\[0\].rating.mastery` is marked as required in `Gradebook`/,
|
||||
/The prop `rootId` is marked as required in `GroupSelectionDrillDown`/,
|
||||
/The prop `screenReaderLabel` is marked as required in `IconButton`/,
|
||||
/The prop `value` is marked as required in `CanvasSelectOption`/,
|
||||
/Unexpected keys "searchPermissions", "filterRoles", "tabChanged", "setAndOpenAddTray" found in preloadedState argument passed to createStore/,
|
||||
/Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>/,
|
||||
/validateDOMNesting\(...\): %s cannot appear as a child of <%s>/,
|
||||
|
|
|
@ -22,8 +22,14 @@ import PeopleSearch from '../people_search'
|
|||
|
||||
describe('PeopleSearch', () => {
|
||||
const props = {
|
||||
roles: [{a: 'teacher'}, {b: 'student'}],
|
||||
sections: [{a: 'secA'}, {b: 'secB'}]
|
||||
roles: [
|
||||
{id: '0', a: 'teacher'},
|
||||
{id: '1', b: 'student'}
|
||||
],
|
||||
sections: [
|
||||
{id: '0', a: 'secA'},
|
||||
{id: '1', b: 'secB'}
|
||||
]
|
||||
}
|
||||
|
||||
test('displays Email Address as default label', () => {
|
||||
|
|
Loading…
Reference in New Issue