Welcome to mirror list, hosted at ThFree Co, Russian Federation.

footer.spec.js « layout « integration « cypress « docs - github.com/jgthms/bulma.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 82614bf39cb22e9c833097609236044e8a502048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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");
    });
  });
});