mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 04:34:30 -07:00
Add Progress and Table specs
This commit is contained in:
16
docs/cypress/integration/elements/table.spec.js
Normal file
16
docs/cypress/integration/elements/table.spec.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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"));
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user