question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sass Challenges intermittently report failed tests for correct solutions

See original GitHub issue

Describe your problem and - if possible - how to reproduce it

The test cases for this challenge do not accept valid formatted code which follows the instructions and example given.


Note: The example I give is one specific challenge, but this issue is NOT unique to the challenge, it happens throughout the Sass Challenges.


Frequently in the sass challenges, valid solutions are not accepted. However, submitting the challenge again (making no changes whatsoever) a few times will cause the challenge to pass.

Steps to reproduce:

  @each $color in blue, black, red {
    .#{$color}-bg {background-color: $color;}
  }
  • Submit the solution multiple times

Sometimes, the solution will pass, other times, it will fail. There are no errors to the console, and whether the challenge will accept a correct solution seems completely random. Just press submit a few times and it will finally pass.

Add a Link to the page with the problem

https://learn.freecodecamp.org/front-end-libraries/sass/use-each-to-map-over-items-in-a-list

Tell us about your browser and operating system

  • Browser Name: Chrome
  • Browser Version: Version 66.0.3359.181 (Official Build) (64-bit)
  • Operating System: Manjaro Linux 17.1.10

If possible, add a screenshot here

sass_challenge

sass_same_challenge_passed

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
P1xtcommented, Jun 14, 2018

@QuincyLarson It may just wildly vary depending on OS/Browser - reproducable for me on Chrome, but not for @ipa-1 on Chrome, but I’m on linux and they’re on windows.

0reactions
scissorsneedfoodtoocommented, Jan 1, 2019

Thanks for confirming this was fixed, @thecodingaviator. @P1xt, I’ll close this for now, but it will take some time for the fix to be reflected on the live site. Please feel free to reopen it if you’re still having problems with this in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Speedrun progress — entry 5. A public service announcement | by ...
If you are doing one of the FCC Sass challenges, enter a solution you believe ... Sass Challenges intermittently report failed tests for...
Read more >
(CSS-Sass-3.6.0) `make test` failure on MacOS · Issue #41 ... - GitHub
BTW, I see a similar failure on some of my FreeBSD smokers (various OS versions, from 10 to 13). A sample one: t/11_sass_plugins.t...
Read more >
SaaS Testing: Challenges, Tools and Testing Approach
In this article, you will learn the SaaS testing and its process, SaaS implementation, challenges, SaaS tools, and much more such aspects.
Read more >
Export Validation Logs – Pressbooks User Guide
You can receive validation logs (or error reports) from Pressbooks directly to ... SASS errors report problems with your book's CSS (cascading style...
Read more >
Error When Installing node-sass for Vue JS Project
My solution was to download Vue 3 without the node-sass option and then after it was done installing, npm i -D sass sass-loader@7...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found