Skip to content

Commit

Permalink
Merge pull request #1111 from UniversityOfHelsinkiCS/trunk
Browse files Browse the repository at this point in the history
merge pull request, fac, cypress is the worst
  • Loading branch information
esakemp authored Jul 11, 2019
2 parents c8f038f + 1a1de69 commit ddf1fed
Show file tree
Hide file tree
Showing 14 changed files with 208 additions and 101 deletions.
13 changes: 12 additions & 1 deletion cypress/integration/Student_statistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ describe('Student Statistics tests', () => {
}
}
})
console.log(Cypress.config().baseUrl)
cy.visit(Cypress.config().baseUrl)
cy.contains("Student statistics").click()
cy.contains("Student names hidden")
Expand Down Expand Up @@ -71,4 +70,16 @@ describe('Student Statistics tests', () => {
cy.get('.prompt').clear().type('01114')
cy.contains('Student number').should('not.exist')
})

// why the fuck this test doesn't work TELL ME

// it('Can jump to population page', () => {
// cy.get('.prompt').type('Oinonen')
// cy.contains('011143561').click()
// cy.get('i.level.up.alternate.icon').eq(0).click()
// cy.wait(5000)
// cy.contains('Population statistics')
// cy.wait(5000)
// cy.contains('Credit accumulation (for 1 students)')
// })
})
12 changes: 6 additions & 6 deletions services/backend/oodikone2-backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/backend/oodikone2-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"express": "^4.16.4",
"jsonwebtoken": "^8.4.0",
"kafka-node": "^4.1.1",
"lodash": "^4.17.10",
"lodash": "^4.17.13",
"mkdirp": "^0.5.1",
"moment": "^2.22.2",
"morgan": "^1.9.1",
Expand Down
47 changes: 33 additions & 14 deletions services/backend/updater_writer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ddf1fed

Please sign in to comment.