1
0
Fork 0
mirror of synced 2024-07-01 20:41:03 +12:00

broken test

This commit is contained in:
Michael Shanks 2020-10-05 21:15:10 +01:00
parent c0e008181d
commit b51942f0f8

View file

@ -47,8 +47,9 @@ context('Create a View', () => {
it('creates a stats calculation view based on age', () => {
cy.contains("Calculate").click()
cy.get(".menu-container").find("select").first().select("Statistics")
cy.get(".menu-container").find("select").eq(1).select("age")
// we may reinstate this - have commented this dropdown for now as there is only one option
//cy.get(".menu-container").find("select").first().select("Statistics")
cy.get(".menu-container").find("select").eq(0).select("age")
cy.contains("Save").click()
cy.get("thead th").should(($headers) => {
expect($headers).to.have.length(7)