Skip to content

Commit

Permalink
fix: update package.json versions and fix cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandru Medesan authored and Alexandru Medesan committed Dec 30, 2022
1 parent 521137f commit 794a5ef
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion cypress/e2e/01-block-group.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ describe('Blocks Tests', () => {
.contains('Section (Group)')
.click({ force: true });

cy.scrollTo('top')
cy.scrollTo('top')

cy.get('.block-editor-group [contenteditable=true]')
.focus()
.click()
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/01-block-slate-metadata-mentions.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ describe('Block Tests: Metadata', () => {
cy.clickSlateButton('Remove metadata');

// Re-add link
cy.getSlate().click();
cy.setSlateSelection('green', 'sleep');
cy.clickSlateButton('Metadata');

Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/01-block-tabs.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('Blocks Tests', () => {
cy.get('.field-wrapper-menuPosition #field-menuPosition').first().click();
cy.get('.react-select__menu').contains('Top').click();

cy.scrollTo(0, 500)
cy.get('.tabs-block [contenteditable=true]').first().type('Hydrogen');
cy.get('.tabs-block .ui.left.menu .item').last().click();
cy.get('.tabs-block').contains('Tab 2').click();
Expand Down
4 changes: 4 additions & 0 deletions cypress/e2e/01-slate-footnote-block.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ describe('Slate citations', () => {
.type('{selectAll}')
.dblclick();

cy.getSlate().dblclick();

// Footnote
cy.setSlateCursor('Colorless').dblclick();
cy.setSlateSelection('Colorless', 'green');
Expand Down Expand Up @@ -49,6 +51,8 @@ describe('Slate citations', () => {
.type('{selectAll}')
.dblclick();

cy.getSlate().dblclick();

// Footnote
cy.setSlateCursor('Colorless').dblclick();
cy.setSlateSelection('Colorless', 'green');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"@eeacms/volto-eea-design-system": "1.0.0-alpha.9",
"@eeacms/volto-eea-kitkat": "10.4.0",
"@eeacms/volto-eea-website-theme": "1.4.2",
"@plone/volto": "16.4.1"
"@plone/volto": "16.6.0"
},
"devDependencies": {
"@cypress/code-coverage": "3.10.0",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3205,9 +3205,9 @@ __metadata:
languageName: node
linkType: hard

"@plone/volto@npm:16.4.1":
version: 16.4.1
resolution: "@plone/volto@npm:16.4.1"
"@plone/volto@npm:16.6.0":
version: 16.6.0
resolution: "@plone/volto@npm:16.6.0"
dependencies:
"@babel/core": ^7.0.0
"@babel/plugin-proposal-export-default-from": 7.18.9
Expand Down Expand Up @@ -3386,7 +3386,7 @@ __metadata:
webpack-node-externals: 3.0.0
xmlrpc: 1.3.2
yarnhook: 0.5.1
checksum: 0a1ba2811fd5a08372d79456da3cf1f7a0460a4bf8589e178e60e3197da0659e2d4a6035a2c31e21eeee286b652ae4685dc8e3b83e3e821e1b03d0add438e9ab
checksum: e2e13cf9cf6c0d74bff7a497f931a6a0ae5c6b606db1c62254d2ee4e0226f372c2b9e405f7375de8cd68148fa69d8fa20e13d4e6f5d65acd9a3ef0890097926c
languageName: node
linkType: hard

Expand Down Expand Up @@ -6212,7 +6212,7 @@ __metadata:
"@eeacms/volto-eea-kitkat": 10.4.0
"@eeacms/volto-eea-website-theme": 1.4.2
"@plone/scripts": ^2.1.5
"@plone/volto": 16.4.1
"@plone/volto": 16.6.0
"@storybook/addon-actions": ^6.3.0
"@storybook/addon-controls": 6.3.0
"@storybook/addon-essentials": ^6.3.0
Expand Down

0 comments on commit 794a5ef

Please sign in to comment.