mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
18 lines
462 B
JavaScript
18 lines
462 B
JavaScript
describe("Layout/Footer", () => {
|
|
beforeEach(() => {
|
|
cy.visit("http://127.0.0.1:4000/cyp/layout/footer/");
|
|
});
|
|
|
|
it("has a Footer", () => {
|
|
cy.get(".footer").should("exist");
|
|
});
|
|
|
|
it("has a correct Footer", () => {
|
|
cy.get("#footer").then(($) => {
|
|
const cs = window.getComputedStyle($[0]);
|
|
expect(cs.backgroundColor).to.equal(Cypress.env("scheme-main-bis"));
|
|
expect(cs.padding).to.equal("48px 24px 96px");
|
|
});
|
|
});
|
|
});
|