Update unit test, re-enable cypress tests

This commit is contained in:
Ramon Wenger 2022-06-23 15:42:46 +02:00
parent 14319a0ca8
commit a89bf06c53
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ describe('The Room Page', () => {
cy.getByDataCy('add-room-entry-modal').should('exist'); 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 {me} = MeQuery;
const otherClass = { const otherClass = {
id: btoa('SchoolClassNode:34'), id: btoa('SchoolClassNode:34'),

View File

@ -172,7 +172,7 @@ mutation AddRoomEntry($input: AddRoomEntryInput!){
# room = graphene.ID(required=True) # room = graphene.ID(required=True)
room_entry = { room_entry = {
'title': 'Bad Actor!', 'title': 'Bad Actor!',
'room': self.room.graphql_id 'slug': self.room.slug
} }
result = self.get_client(self.yet_another_user).execute(mutation, variables={ result = self.get_client(self.yet_another_user).execute(mutation, variables={