Select div by element instead of by class to test background-color (#16638)

This commit is contained in:
jpdail01
2018-02-08 01:02:57 -05:00
committed by mrugesh mohapatra
parent 536ef79213
commit 0dec10e0fb

View File

@ -1466,7 +1466,7 @@
],
"tests": [
"assert($(\"div\").hasClass(\"silver-background\"), 'message: Give your <code>div</code> element the class <code>silver-background</code>.');",
"assert($(\".silver-background\").css(\"background-color\") === \"rgb(192, 192, 192)\", 'message: Your <code>div</code> element should have a silver background.');"
"assert($(\"div\").css(\"background-color\") === \"rgb(192, 192, 192)\", 'message: Your <code>div</code> element should have a silver background.');"
],
"type": "waypoint",
"challengeType": 0,