mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
17 lines
405 B
JavaScript
17 lines
405 B
JavaScript
|
describe("Elements/Table", () => {
|
||
|
beforeEach(() => {
|
||
|
cy.visit("http://127.0.0.1:4000/cyp/elements/table/");
|
||
|
});
|
||
|
|
||
|
it("has a Table element", () => {
|
||
|
cy.get("#table").should("exist");
|
||
|
});
|
||
|
|
||
|
it("has a correct Table", () => {
|
||
|
cy.get("#table").then(($) => {
|
||
|
const cs = window.getComputedStyle($[0]);
|
||
|
expect(cs.backgroundColor).to.equal(Cypress.env("white"));
|
||
|
});
|
||
|
});
|
||
|
});
|