@eeacms/volto-editing-progress 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,9 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [0.1.7](https://github.com/eea/volto-editing-progress/compare/0.1.6...0.1.7)
8
+
9
+ - Update cypress tests to work also with slate [`e87ec98`](https://github.com/eea/volto-editing-progress/commit/e87ec982b008938aa9ebf2059a1167adb54ee924)
10
+
7
11
  #### [0.1.6](https://github.com/eea/volto-editing-progress/compare/0.1.5...0.1.6)
8
12
 
9
- - Add SonarQube badges [`62c51d7`](https://github.com/eea/volto-editing-progress/commit/62c51d71b3586eaa4cfba7a9ead5e2970a536624)
13
+ > 18 December 2021
14
+
15
+ - Add SonarQube badges [`#6`](https://github.com/eea/volto-editing-progress/pull/6)
10
16
  - Refs #142010 - Optimize Volto-addons gitflow pipelines [`ecaea55`](https://github.com/eea/volto-editing-progress/commit/ecaea55e1987fdcf4228075fa05414f71922ba0c)
11
17
 
12
18
  #### [0.1.5](https://github.com/eea/volto-editing-progress/compare/0.1.4...0.1.5)
@@ -6,15 +6,13 @@ describe('Blocks Tests', () => {
6
6
 
7
7
  it('Add Block: Empty', () => {
8
8
  // Change page title
9
- cy.get('.documentFirstHeading > .public-DraftStyleDefault-block')
10
- .clear()
11
- .type('My Add-on Page')
12
- .get('.documentFirstHeading span[data-text]')
13
- .contains('My Add-on Page');
14
-
15
- cy.get('.documentFirstHeading > .public-DraftStyleDefault-block').type(
16
- '{enter}',
17
- );
9
+ cy.get('[contenteditable=true]').first().clear();
10
+
11
+ cy.get('[contenteditable=true]').first().type('My Add-on Page');
12
+
13
+ cy.get('.documentFirstHeading').contains('My Add-on Page');
14
+
15
+ cy.get('[contenteditable=true]').first().type('{enter}');
18
16
 
19
17
  // Add block
20
18
  cy.get('.ui.basic.icon.button.block-add-button').first().click();
@@ -44,7 +44,7 @@ export const setupBeforeEach = () => {
44
44
  cy.waitForResourceToLoad('@types');
45
45
  cy.waitForResourceToLoad('my-page');
46
46
  cy.navigate('/cypress/my-page/edit');
47
- cy.get(`.block.title [data-contents]`);
47
+ cy.get(`.block.title h1`);
48
48
  };
49
49
 
50
50
  export const tearDownAfterEach = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-editing-progress",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "@eeacms/volto-editing-progress: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",