Fix cypress tests
This commit is contained in:
parent
27d3525ea5
commit
5bcf3c0f03
|
|
@ -10,7 +10,7 @@ const getOperations = ({readOnly = false, classReadOnly = false}) => ({
|
|||
id: 'projectId',
|
||||
final: false,
|
||||
student: {
|
||||
id: 'meId',
|
||||
id: btoa('PrivateUserNode:1'),
|
||||
},
|
||||
entriesCount: 3,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ const getOperations = ({readOnly = false, classReadOnly = false}) => ({
|
|||
id: 'projectId',
|
||||
final: false,
|
||||
student: {
|
||||
id: 'meId',
|
||||
id: btoa('PrivateUserNode:1'),
|
||||
},
|
||||
entriesCount: 3,
|
||||
entries: {
|
||||
|
|
|
|||
|
|
@ -119,9 +119,7 @@ describe('School Class Management', () => {
|
|||
});
|
||||
|
||||
cy.visit('/me/my-class');
|
||||
cy.get('[data-cy=active-class-members-list]').within(() => {
|
||||
cy.get('[data-cy=group-list-member]').should('have.length', 2);
|
||||
});
|
||||
cy.get('[data-cy=active-member]').should('have.length', 2);
|
||||
cy.get('[data-cy=inactive-class-members-list]').should('not.exist');
|
||||
|
||||
cy.get('[data-cy=remove-from-class]').first().click();
|
||||
|
|
|
|||
Loading…
Reference in New Issue