Skip to content

Commit efa959b

Browse files
committed
add assertion fordifferent date also
1 parent e9d55ab commit efa959b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

frontend/cypress/tests/main/blocks-calendar.cy.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ describe('Event Calendar Block Tests', () => {
426426
);
427427
});
428428

429-
it('Event calendar show single date for same day event and double for different', () => {
429+
it.only('Event calendar show single date for same day event and double for different', () => {
430430
//add eventCalendar block
431431
cy.addNewBlock('event');
432432
cy.get('#toolbar-save').click();
@@ -436,6 +436,11 @@ describe('Event Calendar Block Tests', () => {
436436
.next('div.card-inner')
437437
.find('.date-inset')
438438
.should('not.have.class', 'has-end-date');
439+
440+
cy.get('a[href="/my-first-event"]')
441+
.next('div.card-inner')
442+
.find('.date-inset')
443+
.should('have.class', 'has-end-date');
439444
});
440445

441446
it('Add eventCalendar Block - sort by Order in folder and sort_order:descending', () => {

0 commit comments

Comments
 (0)