Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Workflow chrome shows Annotations warnings #669

Closed
MikeMcC399 opened this issue Dec 14, 2022 · 1 comment
Closed

CI: Workflow chrome shows Annotations warnings #669

MikeMcC399 opened this issue Dec 14, 2022 · 1 comment

Comments

@MikeMcC399
Copy link
Collaborator

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
@MikeMcC399
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant