Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some Cypress tests in WP 6.0 RC1 #2372

Merged
merged 5 commits into from
May 4, 2022

Conversation

olafleur-godaddy
Copy link
Member

@olafleur-godaddy olafleur-godaddy commented May 4, 2022

Description

This is to make some tests pass with WP 6.0 RC1 :

  • Alert
  • Author
  • Typography extension
  • Animation extension
  • Highlight

@olafleur-godaddy olafleur-godaddy changed the title Fix Alert block cypress test Fix Alert and Author blocks Cypress tests May 4, 2022
@godaddy-wordpress-bot
Copy link
Contributor

godaddy-wordpress-bot commented May 4, 2022

@godaddy-wordpress-bot
Copy link
Contributor

Code Coverage: 96.65% 💚

🗂 Folder Coverage
src/blocks/accordion/                          100.00% ✅
src/blocks/accordion/accordion-item/           100.00% ✅
src/blocks/alert/                              100.00% ✅
src/blocks/author/                             100.00% ✅
src/blocks/buttons/                            100.00% ✅
src/blocks/click-to-tweet/                     100.00% ✅
src/blocks/counter/                            100.00% ✅
src/blocks/dynamic-separator/                  100.00% ✅
src/blocks/events/                              96.43% 💚
src/blocks/events/event-item/                  100.00% ✅
src/blocks/faq/                                100.00% ✅
src/blocks/faq/faq-item/                       100.00% ✅
src/blocks/features/                           100.00% ✅
src/blocks/features/feature/                   100.00% ✅
src/blocks/food-and-drinks/                    100.00% ✅
src/blocks/food-and-drinks/food-item/          100.00% ✅
src/blocks/form/fields/checkbox/               100.00% ✅
src/blocks/form/fields/date/                   100.00% ✅
src/blocks/form/fields/hidden/                 100.00% ✅
src/blocks/form/fields/name/                   100.00% ✅
src/blocks/form/fields/phone/                  100.00% ✅
src/blocks/form/fields/radio/                  100.00% ✅
src/blocks/form/fields/select/                 100.00% ✅
src/blocks/form/fields/text/                   100.00% ✅
src/blocks/form/fields/textarea/               100.00% ✅
src/blocks/form/fields/website/                100.00% ✅
src/blocks/gallery-carousel/                    95.83% 💚
src/blocks/gallery-collage/                    100.00% ✅
src/blocks/gallery-masonry/                     80.10% 💚
src/blocks/gallery-offset/                     100.00% ✅
src/blocks/gallery-stacked/                    100.00% ✅
src/blocks/gif/                                100.00% ✅
src/blocks/gist/                               100.00% ✅
src/blocks/hero/                                92.56% 💚
src/blocks/highlight/                          100.00% ✅
src/blocks/logos/                              100.00% ✅
src/blocks/map/                                100.00% ✅
src/blocks/media-card/                         100.00% ✅
src/blocks/opentable/                          100.00% ✅
src/blocks/post-carousel/                      100.00% ✅
src/blocks/posts/                              100.00% ✅
src/blocks/pricing-table/                      100.00% ✅
src/blocks/pricing-table/pricing-table-item/   100.00% ✅
src/blocks/row/                                 94.43% 💚
src/blocks/row/column/                          88.54% 💚
src/blocks/services/                           100.00% ✅
src/blocks/services/service/                   100.00% ✅
src/blocks/shape-divider/                      100.00% ✅
src/blocks/share/                               81.25% 💚
src/blocks/social-profiles/                     79.64% 💛
src/blocks/testimonials/                        87.50% 💚
src/blocks/testimonials/testimonial/           100.00% ✅

From Circle CI build 52065

@cypress
Copy link

cypress bot commented May 4, 2022



Test summary

404 0 2 0


Run details

Project CoBlocks
Status Passed
Commit 4a8a1c0
Started May 4, 2022 3:36 AM
Ended May 4, 2022 3:41 AM
Duration 04:41 💡
OS Linux Ubuntu - 20.04
Browser Multiple

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@godaddy-wordpress-bot
Copy link
Contributor

godaddy-wordpress-bot commented May 4, 2022

Performance Test Results:

index master WPEX-2041-fix-alert-test change %
focus 126.09 128.66 2.04%
inserterHover 39.75 38.06 -4.25%
inserterOpen 143.49 119.78 -16.52%
inserterSearch 89.31 83.39 -6.63%
load 24178.8 21220.8 -12.23%
maxFocus 176.15 190.67 8.24%
maxInserterHover 47.81 45.99 -3.81%
maxInserterOpen 599.32 455.12 -24.06%
maxInserterSearch 155.67 176.47 13.36%
maxType 83.68 79.94 -4.47%
minFocus 104.18 108.95 4.58%
minInserterHover 32.35 33.01 2.04%
minInserterOpen 79.06 71.11 -10.06%
minInserterSearch 54.33 51.25 -5.67%
minType 39.34 39.49 0.38%
type 54.27 53.96 -0.57%

@olafleur-godaddy olafleur-godaddy changed the title Fix Alert and Author blocks Cypress tests Fix Alert, Author and Typography Cypress tests May 4, 2022
@olafleur-godaddy olafleur-godaddy changed the title Fix Alert, Author and Typography Cypress tests Fix some Cypress tests in WP 6.0 RC1 May 4, 2022
@godaddy-wordpress-bot
Copy link
Contributor

Code Coverage: 96.65% 💚

🗂 Folder Coverage
src/blocks/accordion/                          100.00% ✅
src/blocks/accordion/accordion-item/           100.00% ✅
src/blocks/alert/                              100.00% ✅
src/blocks/author/                             100.00% ✅
src/blocks/buttons/                            100.00% ✅
src/blocks/click-to-tweet/                     100.00% ✅
src/blocks/counter/                            100.00% ✅
src/blocks/dynamic-separator/                  100.00% ✅
src/blocks/events/                              96.43% 💚
src/blocks/events/event-item/                  100.00% ✅
src/blocks/faq/                                100.00% ✅
src/blocks/faq/faq-item/                       100.00% ✅
src/blocks/features/                           100.00% ✅
src/blocks/features/feature/                   100.00% ✅
src/blocks/food-and-drinks/                    100.00% ✅
src/blocks/food-and-drinks/food-item/          100.00% ✅
src/blocks/form/fields/checkbox/               100.00% ✅
src/blocks/form/fields/date/                   100.00% ✅
src/blocks/form/fields/hidden/                 100.00% ✅
src/blocks/form/fields/name/                   100.00% ✅
src/blocks/form/fields/phone/                  100.00% ✅
src/blocks/form/fields/radio/                  100.00% ✅
src/blocks/form/fields/select/                 100.00% ✅
src/blocks/form/fields/text/                   100.00% ✅
src/blocks/form/fields/textarea/               100.00% ✅
src/blocks/form/fields/website/                100.00% ✅
src/blocks/gallery-carousel/                    95.83% 💚
src/blocks/gallery-collage/                    100.00% ✅
src/blocks/gallery-masonry/                     80.10% 💚
src/blocks/gallery-offset/                     100.00% ✅
src/blocks/gallery-stacked/                    100.00% ✅
src/blocks/gif/                                100.00% ✅
src/blocks/gist/                               100.00% ✅
src/blocks/hero/                                92.56% 💚
src/blocks/highlight/                          100.00% ✅
src/blocks/logos/                              100.00% ✅
src/blocks/map/                                100.00% ✅
src/blocks/media-card/                         100.00% ✅
src/blocks/opentable/                          100.00% ✅
src/blocks/post-carousel/                      100.00% ✅
src/blocks/posts/                              100.00% ✅
src/blocks/pricing-table/                      100.00% ✅
src/blocks/pricing-table/pricing-table-item/   100.00% ✅
src/blocks/row/                                 94.43% 💚
src/blocks/row/column/                          88.54% 💚
src/blocks/services/                           100.00% ✅
src/blocks/services/service/                   100.00% ✅
src/blocks/shape-divider/                      100.00% ✅
src/blocks/share/                               81.25% 💚
src/blocks/social-profiles/                     79.64% 💛
src/blocks/testimonials/                        87.50% 💚
src/blocks/testimonials/testimonial/           100.00% ✅

From Circle CI build 52131

@olafleur-godaddy olafleur-godaddy merged commit 028812a into master May 4, 2022
@olafleur-godaddy olafleur-godaddy deleted the WPEX-2041-fix-alert-test branch May 4, 2022 19:17
snovosel-godaddy added a commit that referenced this pull request May 9, 2022
* update coblocks labs with go daddy styling

* Fix some Cypress tests in WP 6.0 RC1 (#2372)

* Fix Alert block cypress test

* Fix author block test

* Fix typography settings modal test

* Fix highlight block test

* Fix animation settings modal test

* [skip ci] Update coblocks.pot/coblocks.json files

Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: GoDaddy Translator Bot <[email protected]>
Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: Anthony Ledesma <[email protected]>
AnthonyLedesma added a commit that referenced this pull request May 9, 2022
* modal framework and fix coblocks-settings menu item too

* add php logic for conditonals

* add in site design and site contents

* try test changes

* remove superfluous cypress test

* style the modal

* update @wordpress/interface

* attach controls

* remove class-rest-api as it was useless

* revert interfaces change

* add filter to disable coblocks labs

* resolve issue with png imports

* rename common tests

* mock site-design object for jest tests

* fix site design global order for tests

* minor tweaks

* remove filter that enables coblocks labs

* style lint tweak

* default coblocks labs controls off

* use other filter route

* match styles

* labs controls example

* feedback tweaks

* tweaks

* add back logic for go theme installed

* suggested updates

* update globals to reference 8889 port

* resolve lint error

* refactor site design

* use PluginSidebar

* use yarn instead

* use just yarn in the perf test

* remove package-lock.json

* try bumping package versions

* try removing frozen lock file flag

* use frozen lock file flag

* prevent layout selector is labs is open

* add mobile styles

* try confirming editor exists first in test

* remove filter lock

* add simple test for labs

* try remove superfluous dispatches

* try layout selector settings modal test fix

* remove troublesome tests

* WPEX-1778 - update coblocks labs with go daddy styling (#2368)

* update coblocks labs with go daddy styling

* Fix some Cypress tests in WP 6.0 RC1 (#2372)

* Fix Alert block cypress test

* Fix author block test

* Fix typography settings modal test

* Fix highlight block test

* Fix animation settings modal test

* [skip ci] Update coblocks.pot/coblocks.json files

Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: GoDaddy Translator Bot <[email protected]>
Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: Anthony Ledesma <[email protected]>

Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: snovosel-godaddy <[email protected]>
Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: GoDaddy Translator Bot <[email protected]>
jrtashjian added a commit that referenced this pull request May 10, 2022
* Highlight block to core/paragraph

* Bump composer/composer from 2.2.11 to 2.2.12 (#2363)

Bumps [composer/composer](https://github.com/composer/composer) from 2.2.11 to 2.2.12.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/main/CHANGELOG.md)
- [Commits](composer/composer@2.2.11...2.2.12)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [skip ci] Update coblocks.pot/coblocks.json files

* ->block_attributes()

* Tweak

* Changelog for 2.22.11

* 2.22.11

* [skip ci] Update coblocks.pot/coblocks.json files

* Remove yarn.lock file

* Update

* Updates

* Update

* Updates to styles

* Bump grunt from 1.4.1 to 1.5.2 (#2366)

Bumps [grunt](https://github.com/gruntjs/grunt) from 1.4.1 to 1.5.2.
- [Release notes](https://github.com/gruntjs/grunt/releases)
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG)
- [Commits](gruntjs/grunt@v1.4.1...v1.5.2)

---
updated-dependencies:
- dependency-name: grunt
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [skip ci] Update coblocks.pot/coblocks.json files

* Add a validation for the presence of the minor part in the version (#2365)

* Add validation minor version part

* Revert "Add validation minor version part"

This reverts commit e578099.

* Bump GoDaddy Styles to 0.4.0

* test random branch

* publish branch

* [skip ci] Update coblocks.pot/coblocks.json files

* Fix some Cypress tests in WP 6.0 RC1 (#2372)

* Fix Alert block cypress test

* Fix author block test

* Fix typography settings modal test

* Fix highlight block test

* Fix animation settings modal test

* [skip ci] Update coblocks.pot/coblocks.json files

* Fix more Cypress tests for WP 6.0 RC1 (#2373)

* Fix logos block test

* Fix dynamic separator block test

* Fix Click to Tweet block test

* Fix settings modal color extension test

* [skip ci] Update coblocks.pot/coblocks.json files

* Add e2e tests with PHP 8.0 (#2375)

* Add e2e tests with PHP 8.1

* TT2

* Only 8.0 is supported for the moment

* [skip ci] Update coblocks.pot/coblocks.json files

* Minor fix for grabbing style attribute

* Introduce CoBlocks Labs (#2350)

* modal framework and fix coblocks-settings menu item too

* add php logic for conditonals

* add in site design and site contents

* try test changes

* remove superfluous cypress test

* style the modal

* update @wordpress/interface

* attach controls

* remove class-rest-api as it was useless

* revert interfaces change

* add filter to disable coblocks labs

* resolve issue with png imports

* rename common tests

* mock site-design object for jest tests

* fix site design global order for tests

* minor tweaks

* remove filter that enables coblocks labs

* style lint tweak

* default coblocks labs controls off

* use other filter route

* match styles

* labs controls example

* feedback tweaks

* tweaks

* add back logic for go theme installed

* suggested updates

* update globals to reference 8889 port

* resolve lint error

* refactor site design

* use PluginSidebar

* use yarn instead

* use just yarn in the perf test

* remove package-lock.json

* try bumping package versions

* try removing frozen lock file flag

* use frozen lock file flag

* prevent layout selector is labs is open

* add mobile styles

* try confirming editor exists first in test

* remove filter lock

* add simple test for labs

* try remove superfluous dispatches

* try layout selector settings modal test fix

* remove troublesome tests

* WPEX-1778 - update coblocks labs with go daddy styling (#2368)

* update coblocks labs with go daddy styling

* Fix some Cypress tests in WP 6.0 RC1 (#2372)

* Fix Alert block cypress test

* Fix author block test

* Fix typography settings modal test

* Fix highlight block test

* Fix animation settings modal test

* [skip ci] Update coblocks.pot/coblocks.json files

Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: GoDaddy Translator Bot <[email protected]>
Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: Anthony Ledesma <[email protected]>

Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: snovosel-godaddy <[email protected]>
Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: GoDaddy Translator Bot <[email protected]>

* [skip ci] Update coblocks.pot/coblocks.json files

* GoLF Automated checkin by importer (5/9/2022 10:09:48 AM)

* Issue 2305 - add tab index to carousel thumbnails (#2312)

* handle tab focus for carousel block thumbnails

* deprecate carousel block correctly

* undo prop order eslint changes

* handle deprecations of gallery carousel

* add aria-label to gallery thumbnail

* update gallery carousel snapshot

Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: snovosel <[email protected]>

* [skip ci] Update coblocks.pot/coblocks.json files

* Remove tests

* regen yarn.lock file

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GoDaddy Translator Bot <[email protected]>
Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: JR Tashjian <[email protected]>
Co-authored-by: Anthony Ledesma <[email protected]>
Co-authored-by: snovosel-godaddy <[email protected]>
Co-authored-by: GoLF <[email protected]>
Co-authored-by: Steve Novosel <[email protected]>
Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: snovosel <[email protected]>
jrtashjian added a commit that referenced this pull request May 10, 2022
* Bump composer/composer from 2.2.11 to 2.2.12 (#2363)

Bumps [composer/composer](https://github.com/composer/composer) from 2.2.11 to 2.2.12.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/main/CHANGELOG.md)
- [Commits](composer/composer@2.2.11...2.2.12)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [skip ci] Update coblocks.pot/coblocks.json files

* Changelog for 2.22.11

* 2.22.11

* [skip ci] Update coblocks.pot/coblocks.json files

* Bump grunt from 1.4.1 to 1.5.2 (#2366)

Bumps [grunt](https://github.com/gruntjs/grunt) from 1.4.1 to 1.5.2.
- [Release notes](https://github.com/gruntjs/grunt/releases)
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG)
- [Commits](gruntjs/grunt@v1.4.1...v1.5.2)

---
updated-dependencies:
- dependency-name: grunt
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [skip ci] Update coblocks.pot/coblocks.json files

* Migrate dynamic-hr to core/seperator

* Remove tests

* Add a validation for the presence of the minor part in the version (#2365)

* Add validation minor version part

* Revert "Add validation minor version part"

This reverts commit e578099.

* Bump GoDaddy Styles to 0.4.0

* test random branch

* publish branch

* [skip ci] Update coblocks.pot/coblocks.json files

* Fix some Cypress tests in WP 6.0 RC1 (#2372)

* Fix Alert block cypress test

* Fix author block test

* Fix typography settings modal test

* Fix highlight block test

* Fix animation settings modal test

* [skip ci] Update coblocks.pot/coblocks.json files

* Fix more Cypress tests for WP 6.0 RC1 (#2373)

* Fix logos block test

* Fix dynamic separator block test

* Fix Click to Tweet block test

* Fix settings modal color extension test

* [skip ci] Update coblocks.pot/coblocks.json files

* Add e2e tests with PHP 8.0 (#2375)

* Add e2e tests with PHP 8.1

* TT2

* Only 8.0 is supported for the moment

* [skip ci] Update coblocks.pot/coblocks.json files

* Introduce CoBlocks Labs (#2350)

* modal framework and fix coblocks-settings menu item too

* add php logic for conditonals

* add in site design and site contents

* try test changes

* remove superfluous cypress test

* style the modal

* update @wordpress/interface

* attach controls

* remove class-rest-api as it was useless

* revert interfaces change

* add filter to disable coblocks labs

* resolve issue with png imports

* rename common tests

* mock site-design object for jest tests

* fix site design global order for tests

* minor tweaks

* remove filter that enables coblocks labs

* style lint tweak

* default coblocks labs controls off

* use other filter route

* match styles

* labs controls example

* feedback tweaks

* tweaks

* add back logic for go theme installed

* suggested updates

* update globals to reference 8889 port

* resolve lint error

* refactor site design

* use PluginSidebar

* use yarn instead

* use just yarn in the perf test

* remove package-lock.json

* try bumping package versions

* try removing frozen lock file flag

* use frozen lock file flag

* prevent layout selector is labs is open

* add mobile styles

* try confirming editor exists first in test

* remove filter lock

* add simple test for labs

* try remove superfluous dispatches

* try layout selector settings modal test fix

* remove troublesome tests

* WPEX-1778 - update coblocks labs with go daddy styling (#2368)

* update coblocks labs with go daddy styling

* Fix some Cypress tests in WP 6.0 RC1 (#2372)

* Fix Alert block cypress test

* Fix author block test

* Fix typography settings modal test

* Fix highlight block test

* Fix animation settings modal test

* [skip ci] Update coblocks.pot/coblocks.json files

Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: GoDaddy Translator Bot <[email protected]>
Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: Anthony Ledesma <[email protected]>

Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: snovosel-godaddy <[email protected]>
Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: GoDaddy Translator Bot <[email protected]>

* [skip ci] Update coblocks.pot/coblocks.json files

* GoLF Automated checkin by importer (5/9/2022 10:09:48 AM)

* Issue 2305 - add tab index to carousel thumbnails (#2312)

* handle tab focus for carousel block thumbnails

* deprecate carousel block correctly

* undo prop order eslint changes

* handle deprecations of gallery carousel

* add aria-label to gallery thumbnail

* update gallery carousel snapshot

Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: snovosel <[email protected]>

* [skip ci] Update coblocks.pot/coblocks.json files

* Regen yarn.lock file

* Restore dynamic-separator front-end styles

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GoDaddy Translator Bot <[email protected]>
Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: Olivier Lafleur <[email protected]>
Co-authored-by: Anthony Ledesma <[email protected]>
Co-authored-by: snovosel-godaddy <[email protected]>
Co-authored-by: GoLF <[email protected]>
Co-authored-by: Steve Novosel <[email protected]>
Co-authored-by: AnthonyLedesma <[email protected]>
Co-authored-by: snovosel <[email protected]>
Co-authored-by: JR Tashjian <[email protected]>
@jrtashjian jrtashjian added this to the Next Release milestone May 10, 2022
@jrtashjian jrtashjian added the [Type] Tests Relevant to our test suite; i.e. Cypress, Jest, PHPUnit, etc label May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Tests Relevant to our test suite; i.e. Cypress, Jest, PHPUnit, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants