From a89bf06c537b17fce2361180728021d40c2477e6 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 23 Jun 2022 15:42:46 +0200 Subject: [PATCH] Update unit test, re-enable cypress tests --- client/cypress/integration/frontend/rooms/room-page.spec.js | 2 +- server/rooms/tests/test_room_entry_mutations.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cypress/integration/frontend/rooms/room-page.spec.js b/client/cypress/integration/frontend/rooms/room-page.spec.js index d6f5f8c2..89395c0c 100644 --- a/client/cypress/integration/frontend/rooms/room-page.spec.js +++ b/client/cypress/integration/frontend/rooms/room-page.spec.js @@ -243,7 +243,7 @@ describe('The Room Page', () => { cy.getByDataCy('add-room-entry-modal').should('exist'); }); - it.only('changes class while on room page', () => { + it('changes class while on room page', () => { const {me} = MeQuery; const otherClass = { id: btoa('SchoolClassNode:34'), diff --git a/server/rooms/tests/test_room_entry_mutations.py b/server/rooms/tests/test_room_entry_mutations.py index aaa5a00f..fcead8fd 100644 --- a/server/rooms/tests/test_room_entry_mutations.py +++ b/server/rooms/tests/test_room_entry_mutations.py @@ -172,7 +172,7 @@ mutation AddRoomEntry($input: AddRoomEntryInput!){ # room = graphene.ID(required=True) room_entry = { 'title': 'Bad Actor!', - 'room': self.room.graphql_id + 'slug': self.room.slug } result = self.get_client(self.yet_another_user).execute(mutation, variables={