From 0949ade9c9c438142acb453924efe9a9fc01e882 Mon Sep 17 00:00:00 2001 From: "point.halo" Date: Tue, 3 Dec 2024 19:41:31 +0800 Subject: [PATCH] test: test case relative #2607 --- cypress/e2e/datePicker.spec.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/cypress/e2e/datePicker.spec.js b/cypress/e2e/datePicker.spec.js index a4c1a8b9e5..2b8d583587 100644 --- a/cypress/e2e/datePicker.spec.js +++ b/cypress/e2e/datePicker.spec.js @@ -817,13 +817,14 @@ describe('DatePicker', () => { cy.get('.semi-scrolllist-item-sel').eq(0).contains(`${year}年`); cy.get('.semi-scrolllist-item-sel').eq(1).contains(`${month}月`); - cy.get('body').click('right'); - cy.get('.semi-datepicker .semi-input').eq(-1).click(); - cy.get('.semi-datepicker .semi-input-clearbtn').click(); - cy.get('.semi-scrolllist-item-sel').eq(0).contains(`${year}年`); - cy.get('.semi-scrolllist-item-sel').eq(2).contains(`${year}年`); - cy.get('.semi-scrolllist-item-sel').eq(1).contains(`${month}月`); - cy.get('.semi-scrolllist-item-sel').eq(3).contains(`${month+1}月`); + // TODO: need to fix here, When it is December, the New Year's Eve, the assertion here does not hold + // cy.get('body').click('right'); + // cy.get('.semi-datepicker .semi-input').eq(-1).click(); + // cy.get('.semi-datepicker .semi-input-clearbtn').click(); + // cy.get('.semi-scrolllist-item-sel').eq(0).contains(`${year}年`); + // cy.get('.semi-scrolllist-item-sel').eq(2).contains(`${year}年`); + // cy.get('.semi-scrolllist-item-sel').eq(1).contains(`${month}月`); + // cy.get('.semi-scrolllist-item-sel').eq(3).contains(`${month+1}月`); }); it('test split first inset input + dateTimeRange', () => {