mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
Merge branch 'main' into redfox-workflow_rewrite
This commit is contained in:
@@ -43,7 +43,7 @@ describe('Group Management Page', () => {
|
||||
cy.get('.configuration-1').click()
|
||||
})
|
||||
|
||||
it('deletes a student', () => {
|
||||
it.skip('deletes a student', () => {
|
||||
cy.get('[data-cy=delete-student-button]')
|
||||
.eq(1)
|
||||
.click()
|
||||
|
||||
@@ -258,6 +258,10 @@ describe('Instructor review page', () => {
|
||||
it('Starting testing', () => {
|
||||
// submit not successfull, still on same page
|
||||
cy.url().should('contain', '/instructorpage')
|
||||
cy.get('[data-cy=configuration-selector]').click()
|
||||
cy.get('.configuration-menu-item')
|
||||
.contains('Konfiguraatio 1')
|
||||
.click()
|
||||
cy.contains('Tykittelijät')
|
||||
cy.contains('2.50')
|
||||
})
|
||||
|
||||
@@ -61,10 +61,12 @@ const instructorItems = (history) => {
|
||||
const adminItems = (history) => {
|
||||
return [
|
||||
{
|
||||
className: 'create-topic-menu-item',
|
||||
text: 'Create Topic',
|
||||
handler: () => history.push('/topics/create'),
|
||||
},
|
||||
{
|
||||
className: 'topics-menu-item',
|
||||
text: 'Topics',
|
||||
handler: () => history.push('/topics'),
|
||||
},
|
||||
@@ -73,18 +75,22 @@ const adminItems = (history) => {
|
||||
handler: () => history.push('/administration/reviews'),
|
||||
},
|
||||
{
|
||||
className: 'configuration-menu-item',
|
||||
text: 'Configuration',
|
||||
handler: () => history.push('/administration/configuration'),
|
||||
},
|
||||
{
|
||||
className: 'registration-management-menu-item',
|
||||
text: 'Registration Management',
|
||||
handler: () => history.push('/administration/registrationmanagement'),
|
||||
},
|
||||
{
|
||||
className: 'customer-review-menu-item',
|
||||
text: 'Current regstrations',
|
||||
handler: () => history.push('/administration/registrations'),
|
||||
},
|
||||
{
|
||||
className: 'group-management-menu-item',
|
||||
text: 'Group Management',
|
||||
handler: () => history.push('/administration/groups'),
|
||||
},
|
||||
@@ -109,6 +115,7 @@ const adminItems = (history) => {
|
||||
handler: () => history.push('/administration/peer-review-questions'),
|
||||
},
|
||||
{
|
||||
className: 'email-templates-menu-item',
|
||||
text: 'Email Templates',
|
||||
handler: () => history.push('/administration/email-templates'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user