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

[Bug] Specs with no tags throw exception when grouping by tags #106

Closed
sserrata opened this issue May 25, 2022 · 0 comments
Closed

[Bug] Specs with no tags throw exception when grouping by tags #106

sserrata opened this issue May 25, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sserrata
Copy link
Member

Describe the bug

Using groupPathsby: "tags" on a spec with no tags results in the following error:

[ERROR] TypeError: Cannot read properties of undefined (reading 'includes')

Expected behavior

A spec with no tags should use a fallback "UNTAGGED" grouping to handle grouping paths.

Current behavior

See error above.

Possible solution

Reinstate the UNTAGGED group and add additional checks to determine if tags exist before proceeding.

Steps to reproduce

Screenshots

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
  • Operating System and version (desktop or mobile):
  • Link to your project:
@sserrata sserrata added the bug Something isn't working label May 25, 2022
@sserrata sserrata self-assigned this May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant