Front End Development Libraries Projects - Build a Random Quote Machine

Tell us what’s happening:

All of 11 tests are passed, but the last one failed. Why? Element id is correct, text fetching takes place as demanded… obviously everything works exept the 9th test. Why?

Here is the link to codepen of mine: QMachine (codepen.io)

Your code so far

QMachine (codepen.io)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0

Challenge Information:

Front End Development Libraries Projects - Build a Random Quote Machine

Hello!
The request is missing “action.author” at REQUESTING_DATA.
That’s what the error message means:

element with id=“author” should contain an authors name: expected +0 to be above +0
AssertionError: element with id=“author” should contain an authors name: expected +0 to be above +0

:grinning: nailed it, thank you very much

Very nice!

In case you should see this bug again at some point: it means it expected a result with length > 0, but got length = 0, since the request was empty.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.