github-readme-stats icon indicating copy to clipboard operation
github-readme-stats copied to clipboard

Test action fails

Open rickstaa opened this issue 3 years ago • 1 comments

Describe the bug

After 1975116b4b97e8ee11773fae1cd31a46cb1c73ea and 1975116b4b97e8ee11773fae1cd31a46cb1c73ea 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 avatar Jul 06 '22 14:07 rickstaa

@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.

rickstaa avatar Jul 06 '22 14:07 rickstaa