Skip to content

Commit

Permalink
Fix init for hidePreview test
Browse files Browse the repository at this point in the history
  • Loading branch information
gflores-jahia committed Oct 31, 2024
1 parent c73593b commit d11f4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cypress/e2e/contentEditor/hidePreview.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ describe('Hide Preview testsuite', () => {

beforeEach('login and visit home', () => {
cy.login();
initVisit();
});

it('Preview shouldn\'t exist for a site', () => {
initVisit();
getNodeByPath(`/sites/${siteKey}`).then(res => {
cy.visit(`/jahia/administration/digitall/settings/properties#(contentEditor:!((formKey:modal_0,isFullscreen:!t,lang:en,mode:edit,site:${siteKey},uilang:en,uuid:'${res.data.jcr.nodeByPath.uuid}')))`);
});
Expand Down

0 comments on commit d11f4b2

Please sign in to comment.