Skip to content

Commit 0050f61

Browse files
authored
Merge pull request #46 from jordanpowell88/add-cypress-workflow
feat(specs): adds cypress workflows
2 parents 0481ca7 + a1a71df commit 0050f61

4 files changed

Lines changed: 46 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Open Cypress
2+
command: "npx cypress open"
3+
tags:
4+
- cypress
5+
description: "Open the Cypress Test Runner."
6+
source_url: "https://docs.cypress.io/guides/getting-started/installing-cypress#Opening-Cypress"
7+
author: cypress-dx
8+
shells: []
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Open Cypress With a Mobile Viewport
2+
command: "npx cypress open --config viewportWidth={{width}},viewportHeight={{height}}"
3+
tags:
4+
- cypress
5+
description: "Open the Cypress Test Runner with a Mobile Viewport."
6+
arguments:
7+
- name: width
8+
description: The width of the viewport in pixels
9+
default_value: 375
10+
- name: height
11+
description: The height of the viewport in pixels
12+
default_value: 667
13+
source_url: "https://docs.cypress.io/guides/getting-started/installing-cypress#Opening-Cypress"
14+
author: cypress-dx
15+
shells: []
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Run Cypress Headless
2+
command: "npx cypress run"
3+
tags:
4+
- cypress
5+
description: "Run Cypress in Headless Mode"
6+
source_url: "https://docs.cypress.io/guides/guides/command-line#cypress-run"
7+
author: cypress-dx
8+
shells: []
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Run Cypress Headless With a Mobile Viewport
2+
command: "npx cypress run --config viewportWidth={{width}},viewportHeight={{height}}"
3+
tags:
4+
- cypress
5+
description: "Run the Cypress Test Runner with a Mobile Viewport in Headless Mode"
6+
arguments:
7+
- name: width
8+
description: The width of the viewport in pixels
9+
default_value: 375
10+
- name: height
11+
description: The height of the viewport in pixels
12+
default_value: 667
13+
source_url: "https://docs.cypress.io/guides/getting-started/installing-cypress#Opening-Cypress"
14+
author: cypress-dx
15+
shells: []

0 commit comments

Comments
 (0)