Skip to content

Commit

Permalink
fix cypress
Browse files Browse the repository at this point in the history
(cherry picked from commit 5c8411c)
  • Loading branch information
jonasongg committed Apr 26, 2024
1 parent 3832b3c commit a481255
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions frontend/cypress/tests/chartView/chartView_zoomFeature.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,11 @@ describe('range changes in chartview should reflect in zoom', () => {
cy.get('input[name="until"]:visible')
.type('2023-12-31');

cy.get('body').type(zoomKey, { release: false })
cy.get('body')
.get('#summary-charts .summary-chart__ramp .ramp')
.first()
.click(120, 20)
.click(170, 20);
.click(120, 20, zoomKeyOption)
.click(170, 20, zoomKeyOption);

cy.get('#tab-zoom')
.should('be.visible');
Expand All @@ -312,11 +312,11 @@ describe('range changes in chartview should reflect in zoom', () => {
cy.get('input[name="until"]:visible')
.type('2023-12-31');

cy.get('body').type(zoomKey, { release: false })
cy.get('body')
.get('#summary-charts .summary-chart__ramp .ramp')
.first()
.click(170, 20)
.click(250, 20);
.click(170, 20, zoomKeyOption)
.click(250, 20, zoomKeyOption);

cy.get('#tab-zoom')
.should('be.visible');
Expand All @@ -341,11 +341,11 @@ describe('range changes in chartview should reflect in zoom', () => {
cy.get('input[name="until"]:visible')
.type('2023-12-31');

cy.get('body').type(zoomKey, { release: false })
cy.get('body')
.get('#summary-charts .summary-chart__ramp .ramp')
.first()
.click(170, 20)
.click(225, 20);
.click(170, 20, zoomKeyOption)
.click(225, 20, zoomKeyOption);

cy.get('#tab-zoom')
.should('be.visible');
Expand Down

0 comments on commit a481255

Please sign in to comment.