From 8d7da3bc7050636d9e30edd7a52b2635364b5401 Mon Sep 17 00:00:00 2001 From: jonasongg Date: Fri, 16 Feb 2024 18:41:36 +0800 Subject: [PATCH] Add until to zoomFeature range --- .../tests/chartView/chartView_zoomFeature.cy.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/frontend/cypress/tests/chartView/chartView_zoomFeature.cy.js b/frontend/cypress/tests/chartView/chartView_zoomFeature.cy.js index ac8599ef95..4bb5e03a0b 100644 --- a/frontend/cypress/tests/chartView/chartView_zoomFeature.cy.js +++ b/frontend/cypress/tests/chartView/chartView_zoomFeature.cy.js @@ -251,6 +251,9 @@ describe('range changes in chartview should reflect in zoom', () => { cy.get('div.mui-textfield.search_box > input:visible') .should('be.visible') .type('jamessspanggg'); + cy.get('input[name="until"]:visible') + .type('2023-12-31'); + cy.get('body').type(zoomKey, { release: false }) .get('#summary-charts .summary-chart__ramp .ramp') .first() @@ -277,6 +280,9 @@ describe('range changes in chartview should reflect in zoom', () => { cy.get('div.mui-textfield.search_box > input:visible') .should('be.visible') .type('jamessspanggg'); + cy.get('input[name="until"]:visible') + .type('2023-12-31'); + cy.get('body').type(zoomKey, { release: false }) .get('#summary-charts .summary-chart__ramp .ramp') .first() @@ -303,6 +309,9 @@ describe('range changes in chartview should reflect in zoom', () => { cy.get('div.mui-textfield.search_box > input:visible') .should('be.visible') .type('jamessspanggg'); + cy.get('input[name="until"]:visible') + .type('2023-12-31'); + cy.get('body').type(zoomKey, { release: false }) .get('#summary-charts .summary-chart__ramp .ramp') .first() @@ -329,6 +338,8 @@ describe('range changes in chartview should reflect in zoom', () => { cy.get('div.mui-textfield.search_box > input:visible') .should('be.visible') .type('jamessspanggg'); + cy.get('input[name="until"]:visible') + .type('2023-12-31'); cy.get('body').type(zoomKey, { release: false }) .get('#summary-charts .summary-chart__ramp .ramp')