From bf6ba34f201e46bf1c1cc95c95e7a89f9d2ac2c2 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Mon, 5 Oct 2020 21:15:10 +0100 Subject: [PATCH] broken test --- packages/builder/cypress/integration/createView.spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/builder/cypress/integration/createView.spec.js b/packages/builder/cypress/integration/createView.spec.js index 3ccf4d5cfd..81af40c7f7 100644 --- a/packages/builder/cypress/integration/createView.spec.js +++ b/packages/builder/cypress/integration/createView.spec.js @@ -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)