From 5408847584ba3ff9de950d5b90782bae93cc22be Mon Sep 17 00:00:00 2001 From: Dimitris Efstathiou Date: Wed, 15 Feb 2023 14:34:33 +0200 Subject: [PATCH] pkp/pkp-lib#8598 Test Fixes --- cypress/tests/functional/StaticPages.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/tests/functional/StaticPages.cy.js b/cypress/tests/functional/StaticPages.cy.js index 17ad024..3979d95 100644 --- a/cypress/tests/functional/StaticPages.cy.js +++ b/cypress/tests/functional/StaticPages.cy.js @@ -33,8 +33,8 @@ describe('Static Pages plugin tests', function() { cy.get('a[id^="component-plugins-generic-staticpages-controllers-grid-staticpagegrid-addStaticPage-button-"]').click(); cy.waitJQuery(2000); // Wait for form to settle cy.get('form[id="staticPageForm"] input[id^="path-"]').type('flarm', { delay: 0}); - cy.get('form[id^="staticPageForm"] input[id^="title-en_US-"]').type('Test Static Page', { delay: 0}); - cy.get('textarea[id^="content-en_US-"]').then(node => { + cy.get('form[id^="staticPageForm"] input[id^="title-en-"]').type('Test Static Page', { delay: 0}); + cy.get('textarea[id^="content-en-"]').then(node => { cy.setTinyMceContent(node.attr('id'), 'Here is my new static page.'); }); cy.get('form[id="staticPageForm"] button[id^="submitFormButton-"]').click({force: true});