broken test

This commit is contained in:
Michael Shanks 2020-10-05 21:15:10 +01:00
parent f3c941a023
commit bf6ba34f20
1 changed files with 3 additions and 2 deletions

View File

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