mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
docs: use sapper/cypress for e2e testing
This commit is contained in:
parent
0bb5e1952f
commit
ccdf6af78d
36 changed files with 4373 additions and 26 deletions
11
docs/cypress/integration/Button.js
Normal file
11
docs/cypress/integration/Button.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
describe("Button", () => {
|
||||
beforeEach(() => {
|
||||
cy.examples("Button");
|
||||
});
|
||||
|
||||
it("renders correctly", () => {
|
||||
cy.get("button").then(($) => {
|
||||
expect($.length).to.eql(4);
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue