Skip to content

Create Cypress test to validate computed styles in DOM #59

@TheJaredWilcurt

Description

@TheJaredWilcurt
  • Set up Cypress
  • Set up an HTML file and CSS file to test every kind of CSS thing and DOM nesting structure
  • Set up Red-Perfume to output an atomized version of both.
  • Set up a cypress test to validate that computed styles render identically in both
    • This can be done with Cypress assertions, or may be easier to have a single JS file that does getComputedStyle on a specific DOM node to evaluate it rendered as expected. Then have both HTML files link to the same JS file that evaluates and prints to the DOM if everything passed. Then Cypress can just validate that the DOM says "Passed".

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtestingWriting automated tests

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions