diff --git a/seed_data/challenges/bootstrap.json b/seed_data/challenges/bootstrap.json index e6f80586a6..8932032fa6 100644 --- a/seed_data/challenges/bootstrap.json +++ b/seed_data/challenges/bootstrap.json @@ -1232,9 +1232,9 @@ "Give your form's text input field a class of form-control. Give your form's submit button the classes btn btn-primary and give it the Font Awesome icon of fa-paper-plane." ], "tests": [ - "assert($('.btn-primary').length > 1, 'Give the submit button in your form the classes \"btn btn-primary\".')", - "assert($('.fa-paper-plane').length > 0, 'Add a <i class=\"fa fa-paper-plane\"></i> within your submit button element.')", - "assert($('.form-control').length > 0, 'Give the text input field in your form the class \"form-control\".')" + "assert($('button[type=\\'submit\\']').hasClass('btn btn-primary'), 'Give the submit button in your form the classes \"btn btn-primary\".')", + "assert($('button[type=\\'submit\\']:has(i.fa.fa-paper-plane)').length > 0, 'Add a <i class=\"fa fa-paper-plane\"></i> within your submit button element.')", + "assert($('input[type=\\'text\\']').hasClass('form-control'), 'Give the text input field in your form the class \"form-control\".')" ], "challengeSeed": [ "",