|
|
@@ -33,5 +33,16 @@ context('Open Page Accessories Modal', () => {
|
|
|
cy.getByTestid('page-history').should('be.visible')
|
|
|
cy.screenshot(`${ssPrefix}-open-bootstrap4`);
|
|
|
});
|
|
|
+ it('Page History is shown successfully', () => {
|
|
|
+ cy.visit('/Sandbox/Bootstrap4', { });
|
|
|
+ cy.get('#grw-subnav-container').within(() => {
|
|
|
+ cy.getByTestid('open-page-item-control-btn').click();
|
|
|
+ cy.getByTestid('open-page-accessories-modal-btn-with-history-tab').click();
|
|
|
+ });
|
|
|
+
|
|
|
+ cy.getByTestid('page-accessories-modal').should('be.visible')
|
|
|
+ cy.getByTestid('page-history').should('be.visible')
|
|
|
+ cy.screenshot(`${ssPrefix}-open-bootstrap4`);
|
|
|
+ });
|
|
|
|
|
|
});
|