Merge pull request #4774 from ltegman/fix/wp-add-fa-icon-tests
Fix Waypoint Add Font Awesome Icons Testspull/4785/head
commit
066fbed7dd
|
@ -1073,6 +1073,7 @@
|
|||
],
|
||||
"tests": [
|
||||
"assert($(\"i\").hasClass(\"fa fa-thumbs-up\"), 'Add an <code>i</code> element with the classes <code>fa</code> and <code>fa-thumbs-up</code>.')",
|
||||
"assert($(\"i.fa-thumbs-up\").parent().text().match(/Like/gi), 'Your <code>fa-thumbs-up</code> icon should be located within the Like button.')",
|
||||
"assert($(\"button\").children(\"i\").length > 0, 'Nest your <code>i</code> element within your <code>button</code> element.')",
|
||||
"assert(editor.match(/<\\/i>/g), 'Make sure your <code>i</code> element has a closing tag.')"
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue