|
|
@@ -1,5 +1,5 @@
|
|
|
-
|
|
|
context('Open presentation modal', () => {
|
|
|
+
|
|
|
const ssPrefix = 'access-to-presentation-modal-';
|
|
|
|
|
|
let connectSid: string | undefined;
|
|
|
@@ -20,12 +20,12 @@ context('Open presentation modal', () => {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- it('PageCreateModal for "/" is shown successfully', () => {
|
|
|
+ it('PresentationModal for "/" is shown successfully', () => {
|
|
|
cy.visit('/');
|
|
|
|
|
|
cy.get('#grw-subnav-container').within(() => {
|
|
|
- cy.getByTestid('open-page-item-control-btn').click({force: true})
|
|
|
- cy.getByTestid('open-presentation-modal-btn').click({force: true})
|
|
|
+ cy.getByTestid('open-page-item-control-btn').click({force: true});
|
|
|
+ cy.getByTestid('open-presentation-modal-btn').click({force: true});
|
|
|
});
|
|
|
|
|
|
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
|
@@ -33,12 +33,12 @@ context('Open presentation modal', () => {
|
|
|
cy.screenshot(`${ssPrefix}-opne-top`);
|
|
|
});
|
|
|
|
|
|
- it('PageCreateModal for "/Sandbox/Bootstrap4" is shown successfully', () => {
|
|
|
+ it('PresentationModal for "/Sandbox/Bootstrap4" is shown successfully', () => {
|
|
|
cy.visit('/Sandbox/Bootstrap4');
|
|
|
|
|
|
cy.get('#grw-subnav-container').within(() => {
|
|
|
- cy.getByTestid('open-page-item-control-btn').click({force: true})
|
|
|
- cy.getByTestid('open-presentation-modal-btn').click({force: true})
|
|
|
+ cy.getByTestid('open-page-item-control-btn').click({force: true});
|
|
|
+ cy.getByTestid('open-presentation-modal-btn').click({force: true});
|
|
|
});
|
|
|
|
|
|
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
|
@@ -46,12 +46,12 @@ context('Open presentation modal', () => {
|
|
|
cy.screenshot(`${ssPrefix}-open-bootstrap4`);
|
|
|
});
|
|
|
|
|
|
- it('PageCreateModal for /Sandbox/Bootstrap4#Cards" is shown successfully', () => {
|
|
|
+ it('PresentationModal for /Sandbox/Bootstrap4#Cards" is shown successfully', () => {
|
|
|
cy.visit('/Sandbox/Bootstrap4#Cards');
|
|
|
|
|
|
cy.get('#grw-subnav-container').within(() => {
|
|
|
- cy.getByTestid('open-page-item-control-btn').click({force: true})
|
|
|
- cy.getByTestid('open-presentation-modal-btn').click({force: true})
|
|
|
+ cy.getByTestid('open-page-item-control-btn').click({force: true});
|
|
|
+ cy.getByTestid('open-presentation-modal-btn').click({force: true});
|
|
|
});
|
|
|
|
|
|
// eslint-disable-next-line cypress/no-unnecessary-waiting
|