mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
docs: add component grid
This commit is contained in:
parent
b255dd9f99
commit
3fa388bd3d
16 changed files with 548 additions and 90 deletions
|
@ -3,14 +3,9 @@ describe("Button", () => {
|
|||
cy.examples("Button");
|
||||
});
|
||||
|
||||
it("renders correctly", () => {
|
||||
cy.get("button").then(($) => {
|
||||
expect($.length).to.eql(4);
|
||||
});
|
||||
});
|
||||
|
||||
it.only("clicks", () => {
|
||||
cy.get('[data-test="button-primary"]')
|
||||
it("clicks", () => {
|
||||
cy.get(".bx--btn--primary")
|
||||
.first()
|
||||
.as("btn")
|
||||
.contains("Primary button");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue