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

Improve Dynamic HR block stability through E2E testing #1296

Merged
merged 5 commits into from
Jan 26, 2020

Conversation

EvanHerman
Copy link
Contributor

@EvanHerman EvanHerman commented Jan 23, 2020

New E2E tests for the Dynamic HR block

Other Changes

  • Tweaked helpers.getBlockName() to remove - in favor of a empty space .
  • Introduced helpers.hexToRGB() to convert hex strings to RGB strings for CSS comparison checks in cypress.
  • Introduce helpers.capitalize() to capitalize the first letters of each word in a string. eg: hello world => Hello World. This is used when setting up the posts so the page title is set properly.

@cypress
Copy link

cypress bot commented Jan 23, 2020



Test summary

5 0 0 0


Run details

Project CoBlocks
Status Passed
Commit dd3fb72
Started Jan 23, 2020 6:58 PM
Ended Jan 23, 2020 6:58 PM
Duration 00:37 💡
OS Linux Debian - 10.2
Browser Chrome 79

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

Copy link
Member

@AnthonyLedesma AnthonyLedesma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will also help us avoid conflict when merging these.

.dev/tests/cypress/helpers.js Outdated Show resolved Hide resolved
@EvanHerman EvanHerman merged commit 4dfff98 into master Jan 26, 2020
@EvanHerman EvanHerman deleted the phase-4/dynamic-separator branch January 26, 2020 15:11
@jrtashjian jrtashjian added this to the 1.21.0 milestone Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement Something new that adds functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants