mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
v0.12.0
This commit is contained in:
parent
4f69b19dfc
commit
d250a0c3cc
16 changed files with 167 additions and 155 deletions
|
@ -4,10 +4,7 @@ describe("Button", () => {
|
|||
});
|
||||
|
||||
it("clicks", () => {
|
||||
cy.get(".bx--btn--primary")
|
||||
.first()
|
||||
.as("btn")
|
||||
.contains("Primary button");
|
||||
cy.get(".bx--btn--primary").first().as("btn").contains("Primary button");
|
||||
|
||||
cy.get("@btn").trigger("click");
|
||||
cy.get("@log").should("be.calledWith", "click");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue