@cypress/github-action 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,13 +4,12 @@
4
4
 
5
5
  ## Examples
6
6
 
7
- - [Cypress 10](#cypress-10)
8
7
  - [Basic](#basic)
9
8
  - [Explicit version](#explicit-version)
10
9
  - Run tests in a given [browser](#browser)
11
10
  - using [Firefox](#firefox)
12
11
  - using [Edge](#edge)
13
- - using [headless mode](#headless)
12
+ - using [headed mode](#headed)
14
13
  - Using [Docker image](#docker-image)
15
14
  - Specify [environment variables](#env)
16
15
  - Run only some [spec files](#specs)
@@ -150,12 +149,12 @@ jobs:
150
149
 
151
150
  **Note:** Microsoft has not released Edge for Linux yet, thus you need to run these tests on Windows or Mac runners with Edge preinstalled. You can use [`cypress info`](https://on.cypress.io/command-line#cypress-info) command to see the browsers installed on the machine.
152
151
 
153
- ### Headless
152
+ ### Headed
154
153
 
155
- Run the browser in headless mode
154
+ Run the browser in headed mode - as of Cypress v8.0 the `cypress run` command executes tests in `headless` mode by default
156
155
 
157
156
  ```yml
158
- name: Chrome headless
157
+ name: Chrome headed
159
158
  on: [push]
160
159
  jobs:
161
160
  cypress-run:
@@ -165,7 +164,7 @@ jobs:
165
164
  - uses: cypress-io/github-action@v4
166
165
  with:
167
166
  browser: chrome
168
- headless: true
167
+ headed: true
169
168
  ```
170
169
 
171
170
  ### Docker image
package/action.yml CHANGED
@@ -59,8 +59,8 @@ inputs:
59
59
  working-directory:
60
60
  description: 'Working directory containing Cypress folder'
61
61
  required: false
62
- headless:
63
- description: 'Whether or not to use headless mode'
62
+ headed:
63
+ description: 'Whether or not to use headed mode'
64
64
  required: false
65
65
  spec:
66
66
  description: 'Provide a specific specs to run'
package/dist/index.js CHANGED
@@ -75105,8 +75105,8 @@ const runTestsUsingCommandLine = async () => {
75105
75105
 
75106
75106
  const record = getInputBool('record')
75107
75107
  const parallel = getInputBool('parallel')
75108
- const headless = getInputBool('headless')
75109
75108
  const component = getInputBool('component')
75109
+ const headed = getInputBool('headed')
75110
75110
 
75111
75111
  // TODO using yarn to run cypress when yarn is used for install
75112
75112
  // split potentially long command?
@@ -75125,8 +75125,8 @@ const runTestsUsingCommandLine = async () => {
75125
75125
  if (component) {
75126
75126
  cmd.push('--component')
75127
75127
  }
75128
- if (headless) {
75129
- cmd.push('--headless')
75128
+ if (headed) {
75129
+ cmd.push('--headed')
75130
75130
  }
75131
75131
  if (record) {
75132
75132
  cmd.push('--record')
@@ -75226,7 +75226,7 @@ const runTests = async () => {
75226
75226
  const commandPrefix = core.getInput('command-prefix')
75227
75227
  const customCommand = core.getInput('command')
75228
75228
  const cypressOptions = {
75229
- headless: getInputBool('headless'),
75229
+ headed: getInputBool('headed'),
75230
75230
  record: getInputBool('record'),
75231
75231
  parallel: getInputBool('parallel'),
75232
75232
  quiet: getInputBool('quiet'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cypress/github-action",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "GitHub Action for running Cypress end-to-end tests",
5
5
  "private": false,
6
6
  "main": "dist/index.js",