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

test: Fix Cover block color picker test #52943

Commits on Jul 25, 2023

  1. test: Mock required styles for Cover block tests

    JavaScript logic fails due to undefined references from mocked Sass
    files.
    dcalhoun committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    7eaba51 View commit details
    Browse the repository at this point in the history
  2. test: Fix Cover block HEX test assertions

    Synchronous queries of user-facing text is generally preferred over test
    IDs or asynchronous queries. Additionally, the
    `react-native-hsv-color-picker` must be mocked to trigger the required
    interaction events. Lastly, selecting the white color results in a
    non-custom color, which does not appear to display the HEX value in the
    picker footer label.
    dcalhoun committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    be989b6 View commit details
    Browse the repository at this point in the history