broken test

This commit is contained in:
Michael Shanks 2020-10-05 21:15:10 +01:00
parent c0e008181d
commit b51942f0f8
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', () => {
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)