Add Content, Icon, Image specs

This commit is contained in:
Jeremy Thomas
2021-10-31 19:36:31 +00:00
parent 8a27780341
commit c78977869e
9 changed files with 391 additions and 31 deletions

View File

@@ -9,8 +9,7 @@ describe("Elements/Box", () => {
it("has a correct .box element", () => {
cy.get(".box").then(($) => {
const el = $[0];
const cs = window.getComputedStyle(el);
const cs = window.getComputedStyle($[0]);
expect(cs.backgroundColor).to.equal(Cypress.env("scheme-main"));
expect(cs.borderRadius).to.equal("6px");
expect(cs.boxShadow).to.equal(