Update unit test, re-enable cypress tests
This commit is contained in:
parent
14319a0ca8
commit
a89bf06c53
|
|
@ -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'),
|
||||||
|
|
|
||||||
|
|
@ -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={
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue