Skip to content

CI: Workflow chrome shows Annotations warnings #669

@MikeMcC399

Description

@MikeMcC399

Describe the bug

Running the example workflow .github/workflows/example-chrome.yml produces Annotation warnings:

  1. "Unexpected input(s) 'headless', valid inputs are ['record', 'config', 'config-file', 'env', 'browser', 'command', 'start', 'start-windows', 'build', 'install', 'install-command', 'runTests', 'wait-on', 'wait-on-timeout', 'parallel', 'group', 'tag', 'working-directory', 'headed', 'spec', 'project', 'command-prefix', 'ci-build-id', 'cache-key', 'quiet', 'component']"

  2. "No files were found with the provided path: examples/chrome/cypress/videos. No artifacts will be uploaded."

  3. "No files were found with the provided path: examples/chrome/cypress/screenshots. No artifacts will be uploaded."

See for example run 3687891756.

Steps to reproduce the issue

Open a pull request
View the the action logs for https://github.com/cypress-io/github-action/actions/workflows/example-chrome.yml

Expected behavior

There should be no Annotations warnings in the log.

Suggested Fixes

  1. Correct the paths for artifact uploads. Add v9 for v9 tests.
  2. Ensure that the artifact names are unique. Append -v10 to v10 tests.
  3. Convert the incorrect parameter headless: true to headed: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions