docs: display button variants

This commit is contained in:
Eric Liu 2020-07-23 19:38:09 -07:00
commit 9aa01ce5fb
9 changed files with 184 additions and 24 deletions

View file

@ -1,3 +1,7 @@
Cypress.Commands.add("examples", (component) => {
cy.visit(`/examples/${component}`);
cy.visit(`/examples/${component}`, {
onBeforeLoad(win) {
cy.stub(win.console, "log").as("log");
},
});
});