Skip to content

Commit

Permalink
Merge branch 'main' into fix_tooltip_dom_not_remove
Browse files Browse the repository at this point in the history
  • Loading branch information
pointhalo authored Dec 3, 2024
2 parents b786b6e + 0949ade commit 79796e6
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions cypress/e2e/datePicker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 79796e6

Please sign in to comment.