Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/blocks/news/7538.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update to node 24 @sneridagh
2 changes: 1 addition & 1 deletion packages/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "14.3.1",
"@types/jest-axe": "^3.5.7",
"@types/node": "^20",
"@types/node": "^24",
"@types/react": "^18",
"@types/react-dom": "^18",
"jest-axe": "^8.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/layout/7538.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update to node 24 @sneridagh
2 changes: 1 addition & 1 deletion packages/layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "14.3.1",
"@types/jest-axe": "^3.5.7",
"@types/node": "^20",
"@types/node": "^24",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint-plugin-storybook": "^0.11.2",
Expand Down
1 change: 1 addition & 0 deletions packages/registry/news/7538.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update to node 24 @sneridagh
2 changes: 1 addition & 1 deletion packages/registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"@plone/types": "workspace:*",
"@types/debug": "^4.1.12",
"@types/glob": "^8.1.0",
"@types/node": "^20",
"@types/node": "^24",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/tmp": "^0.2.6",
Expand Down
1 change: 1 addition & 0 deletions packages/volto/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ module.exports = defineConfig({
excludeSpecPattern: ['*~'],
specPattern: 'cypress/tests/**/*.{js,jsx,ts,tsx}',
},
experimentalMemoryManagement: true,
});
5 changes: 2 additions & 3 deletions packages/volto/cypress/tests/core/blocks/blocks-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,11 +613,10 @@ describe('Search Block Tests', () => {
cy.get('#toolbar-save').click();
// then we are able to see label and sort option
cy.get('.sort-label').should('have.text', 'Sort on');

cy.get('#select-search-sort-on').click();
cy.findByText('Effective date').click({ force: true });
cy.get(
'div#select-search-sort-on.search-react-select-container.css-2b097c-container',
).contains('Effective date');

// Verify the presence of Ascending button
cy.get('button[title="Ascending"]').should('be.visible');
// Verify the presence of Descending button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ describe('Listing Block Tests', () => {
cy.url().should('not.include', '=2');
cy.url().should('not.include', '=3');

cy.navigate('/my-page');
cy.visit('/my-page');
cy.wait('@content');
cy.wait('@querySearch');
cy.wait('@querySearch');
Expand All @@ -1152,6 +1152,7 @@ describe('Listing Block Tests', () => {
cy.isInHTML({ parent: '.listing-item', content: 'My Folder 3' });
cy.url().should('not.include', '=3');
cy.go(-1);
cy.wait(300); // I couldn't make it work without wait
cy.isInHTML({ parent: '.listing-item', content: 'My Folder 2' });
cy.url().should('not.include', '=2');
cy.url().should('not.include', '=3');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,13 @@ context('Test Field Type in form block', () => {
)
.should('be.visible');
});

it('Test RichText Field Type', function () {
cy.get('p[data-slate-node="element"]')
.click({ force: true })
.type('Plone{selectall}');
cy.get('p[data-slate-node="element"]').type('{selectall}');
cy.get('a[title="Bold"]').click();
cy.get('p[data-slate-node="element"]').type('{selectall}');
cy.get('a[title="Italic"]').click();
cy.get('.slate_wysiwyg_box').click();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,16 @@ context('Test Field Type in form ', () => {
'be.visible',
);
});

it('Test RichText Field Type', function () {
cy.get('.slate_wysiwyg_box').type('Plone{selectall}');
cy.get('.slate_wysiwyg_box').type('Plone');
cy.get('p[data-slate-node="element"]').type('{selectall}');
cy.get('a[title="Bold"]').click();
cy.get('p[data-slate-node="element"]').type('{selectall}');
cy.get('a[title="Italic"]').click();
cy.get('.slate_wysiwyg_box').click();
});

it('Missing required field error', function () {
cy.get('#field-textline').type('Volto Coresandbox fixture');
cy.get('#field-email').type('[email protected]');
Expand Down
1 change: 1 addition & 0 deletions packages/volto/news/+fixfailingcypresstest.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix failing cypress test on updating to Cypress 15 @Tishasoumya-02
1 change: 1 addition & 0 deletions packages/volto/news/7538.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update to node 24 and cypress to 15 @sneridagh
8 changes: 4 additions & 4 deletions packages/volto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,15 +302,15 @@
"@storybook/react": "^8.0.4",
"@storybook/react-webpack5": "^8.0.4",
"@storybook/theming": "^8.0.4",
"@testing-library/cypress": "10.0.1",
"@testing-library/cypress": "10.1.0",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "14.3.1",
"@testing-library/react-hooks": "8.0.1",
"@types/history": "^4.7.11",
"@types/jest": "^29.5.8",
"@types/loadable__component": "^5.13.9",
"@types/lodash": "^4.14.201",
"@types/node": "^22.13.0",
"@types/node": "^24",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-intl-redux": "^0.1.19",
Expand All @@ -333,8 +333,8 @@
"bundlewatch": "0.3.3",
"circular-dependency-plugin": "5.2.2",
"css-loader": "5.2.7",
"cypress": "13.13.2",
"cypress-axe": "1.5.0",
"cypress": "15.5.0",
"cypress-axe": "1.7.0",
"cypress-file-upload": "5.0.8",
"deep-freeze": "0.0.1",
"eslint": "^8.57.0",
Expand Down
Loading
Loading