From 7da9bd0bf656df979d2abd21a5a5ddd5e1f36f50 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 8 Jul 2021 16:02:02 +0200 Subject: [PATCH] Fix more cypress tests --- client/cypress/fixtures/me.join-class.json | 1 + client/cypress/fixtures/selected-school-class.json | 1 + client/cypress/integration/frontend/spellcheck.spec.js | 1 + 3 files changed, 3 insertions(+) diff --git a/client/cypress/fixtures/me.join-class.json b/client/cypress/fixtures/me.join-class.json index a16cf3b8..5d6f55e3 100644 --- a/client/cypress/fixtures/me.join-class.json +++ b/client/cypress/fixtures/me.join-class.json @@ -9,6 +9,7 @@ "lastName": "Cueni", "avatarUrl": "", "isTeacher": false, + "readOnly": false, "lastModule": { "id": "TW9kdWxlTm9kZToxNw==", "slug": "lohn-und-budget", diff --git a/client/cypress/fixtures/selected-school-class.json b/client/cypress/fixtures/selected-school-class.json index d7b3233c..388aae7f 100644 --- a/client/cypress/fixtures/selected-school-class.json +++ b/client/cypress/fixtures/selected-school-class.json @@ -2,6 +2,7 @@ "me": { "id": "VXNlck5vZGU6Mg==", "isTeacher": false, + "readOnly": false, "selectedClass": { "id": "U2Nob29sQ2xhc3NOb2RlOjE=", "name": "Moordale", diff --git a/client/cypress/integration/frontend/spellcheck.spec.js b/client/cypress/integration/frontend/spellcheck.spec.js index bbaa6ccb..86036086 100644 --- a/client/cypress/integration/frontend/spellcheck.spec.js +++ b/client/cypress/integration/frontend/spellcheck.spec.js @@ -8,6 +8,7 @@ const operations = { me: { permissions: [], onboardingVisited: true, + readOnly: false }, }, AssignmentQuery: {