Fix some cypress tests
This commit is contained in:
parent
3951b3f90c
commit
8e4cffd28f
|
|
@ -1,5 +1,5 @@
|
||||||
const selectedClass = {
|
const selectedClass = {
|
||||||
id: 'selectedClassId',
|
id: btoa('SchoolClassNode:selectedClassId'),
|
||||||
name: 'Moordale',
|
name: 'Moordale',
|
||||||
readOnly: false,
|
readOnly: false,
|
||||||
code: 'XXXX',
|
code: 'XXXX',
|
||||||
|
|
|
||||||
|
|
@ -3,20 +3,16 @@ import {getMinimalMe} from '../../../support/helpers';
|
||||||
const getOperations = ({readOnly = false, classReadOnly = false}) => ({
|
const getOperations = ({readOnly = false, classReadOnly = false}) => ({
|
||||||
MeQuery: getMinimalMe({readOnly, classReadOnly}),
|
MeQuery: getMinimalMe({readOnly, classReadOnly}),
|
||||||
ProjectsQuery: {
|
ProjectsQuery: {
|
||||||
projects: {
|
projects: [
|
||||||
edges: [
|
{
|
||||||
{
|
id: 'projectId',
|
||||||
node: {
|
final: false,
|
||||||
id: 'projectId',
|
student: {
|
||||||
final: false,
|
id: btoa('PrivateUserNode:1'),
|
||||||
student: {
|
|
||||||
id: btoa('PrivateUserNode:1'),
|
|
||||||
},
|
|
||||||
entriesCount: 3,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
],
|
entriesCount: 3,
|
||||||
},
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue