diff --git a/specs/cypress/open-cypress-default.yaml b/specs/cypress/open-cypress-default.yaml new file mode 100644 index 0000000..b2c6e2b --- /dev/null +++ b/specs/cypress/open-cypress-default.yaml @@ -0,0 +1,8 @@ +name: Open Cypress +command: "npx cypress open" +tags: + - cypress +description: "Open the Cypress Test Runner." +source_url: "https://docs.cypress.io/guides/getting-started/installing-cypress#Opening-Cypress" +author: cypress-dx +shells: [] \ No newline at end of file diff --git a/specs/cypress/open-cypress-mobile-viewport.yaml b/specs/cypress/open-cypress-mobile-viewport.yaml new file mode 100644 index 0000000..47c515c --- /dev/null +++ b/specs/cypress/open-cypress-mobile-viewport.yaml @@ -0,0 +1,15 @@ +name: Open Cypress With a Mobile Viewport +command: "npx cypress open --config viewportWidth={{width}},viewportHeight={{height}}" +tags: + - cypress +description: "Open the Cypress Test Runner with a Mobile Viewport." +arguments: + - name: width + description: The width of the viewport in pixels + default_value: 375 + - name: height + description: The height of the viewport in pixels + default_value: 667 +source_url: "https://docs.cypress.io/guides/getting-started/installing-cypress#Opening-Cypress" +author: cypress-dx +shells: [] \ No newline at end of file diff --git a/specs/cypress/run-cypress-default.yaml b/specs/cypress/run-cypress-default.yaml new file mode 100644 index 0000000..e8e56cb --- /dev/null +++ b/specs/cypress/run-cypress-default.yaml @@ -0,0 +1,8 @@ +name: Run Cypress Headless +command: "npx cypress run" +tags: + - cypress +description: "Run Cypress in Headless Mode" +source_url: "https://docs.cypress.io/guides/guides/command-line#cypress-run" +author: cypress-dx +shells: [] \ No newline at end of file diff --git a/specs/cypress/run-cypress-mobile-viewport.yaml b/specs/cypress/run-cypress-mobile-viewport.yaml new file mode 100644 index 0000000..6bd9276 --- /dev/null +++ b/specs/cypress/run-cypress-mobile-viewport.yaml @@ -0,0 +1,15 @@ +name: Run Cypress Headless With a Mobile Viewport +command: "npx cypress run --config viewportWidth={{width}},viewportHeight={{height}}" +tags: + - cypress +description: "Run the Cypress Test Runner with a Mobile Viewport in Headless Mode" +arguments: + - name: width + description: The width of the viewport in pixels + default_value: 375 + - name: height + description: The height of the viewport in pixels + default_value: 667 +source_url: "https://docs.cypress.io/guides/getting-started/installing-cypress#Opening-Cypress" +author: cypress-dx +shells: [] \ No newline at end of file