Skip to content

Test action fails #1851

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

Closed
rickstaa opened this issue Jul 6, 2022 · 1 comment · Fixed by #1954
Closed

Test action fails #1851

rickstaa opened this issue Jul 6, 2022 · 1 comment · Fixed by #1954
Assignees
Labels
bug Something isn't working. ci CI related features.

Comments

@rickstaa
Copy link
Collaborator

rickstaa commented Jul 6, 2022

Describe the bug

After 1975116 and 1975116 were merged the tests/card.test.js` now fails. This is strange since these commits do not change any of the code that is tested. See https://github.com/anuraghazra/github-readme-stats/runs/7215331182?check_suite_focus=true.

Expected behaviour

The test should pass (See https://github.com/anuraghazra/github-readme-stats/runs/7020934858?check_suite_focus=true). @anuraghazra, did you encounter this problem before? It seems that the latest release of ubuntu-latest breaks the test. The stop element inside lineargradient is no longer found by querySelector method.

@rickstaa rickstaa added bug Something isn't working. ci CI related features. labels Jul 6, 2022
@rickstaa
Copy link
Collaborator Author

rickstaa commented Jul 6, 2022

@anuraghazra I tried updating the dependencies and changing the SVG syntax (i.e. removing commas between the stop elements and changing the query selection syntax), but I couldn't find the cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. ci CI related features.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants