mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
0ce084170a
* Setup Cypress tests for box and button * Add container tests * Add Cypress workflow * Use npm install * Update Cypress workflow * Add Jekyll build * Test other action * Test custom setup * Use other ruby action * Test without flag * Move cypress to docs folder * Record runs * Add Content, Icon, Image specs * Add Notification specs * Add Progress and Table specs * Add Tags specs * Add Title specs * Add breadcrumb specs * Add more specs * Add media specs * Add menu specs * Add modal specs * Add navbar specs * Add pagination specs * Add panel specs * Add tabs specs, Add form checkbox radio specs * Add utils * Add file specs * Add input textarea specs * Add select specs * Add form tools specs * Add other elements specs * Add footer and hero specs * Add Hero specs * Add section specs * Add grid specs * Add column sizes specs * Add tiles specs * Add generic specs * Fix generic tests * Make font family test looser * Remove system-ui test * Remove important flag * Fix disabled select color
37 lines
874 B
JavaScript
37 lines
874 B
JavaScript
export const setMobile = () => {
|
|
cy.viewport(
|
|
Cypress.env("viewports").mobile[0],
|
|
Cypress.env("viewports").mobile[1]
|
|
);
|
|
};
|
|
|
|
export const setTablet = () => {
|
|
cy.viewport(
|
|
Cypress.env("viewports").tablet[0],
|
|
Cypress.env("viewports").tablet[1]
|
|
);
|
|
};
|
|
|
|
export const setDesktop = () => {
|
|
cy.viewport(
|
|
Cypress.env("viewports").desktop[0],
|
|
Cypress.env("viewports").desktop[1]
|
|
);
|
|
};
|
|
|
|
export const setWidescreen = () => {
|
|
cy.viewport(
|
|
Cypress.env("viewports").widescreen[0],
|
|
Cypress.env("viewports").widescreen[1]
|
|
);
|
|
};
|
|
|
|
export const setFullHD = () => {
|
|
cy.viewport(
|
|
Cypress.env("viewports").fullhd[0],
|
|
Cypress.env("viewports").fullhd[1]
|
|
);
|
|
};
|
|
|
|
export const familyPrimary = 'system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif';
|