File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ QUnit.test( 'Render test pass', function( assert ) {
5959 assert . ok ( $ ( '.wpe-results-card' ) . length == 2 , 'There are 2 results.' ) ;
6060 assert . ok ( $ ( '#standardMode' ) . text ( ) . includes ( 'Your WordPress install is PHP 5.5 compatible.' ) , 'Test did pass.' ) ;
6161 assert . ok ( '#038103' === helpers . rgb2hex ( $ ( ".wpe-results-card" ) . eq ( 0 ) . css ( 'border-left-color' ) ) , 'First plugin marked as passed.' ) ;
62+ assert . ok ( ! $ ( '#standardMode' ) . text ( ) . includes ( '0 out of 2' ) , 'No scan stats are shown.' ) ;
6263} ) ;
6364
6465QUnit . test ( 'Render test fail' , function ( assert ) {
@@ -79,6 +80,7 @@ QUnit.test( 'Render test fail', function( assert ) {
7980 assert . ok ( ! $ ( '#runButton' ) . hasClass ( 'button-primary-disabled' ) , "Run button isn't disabled" ) ;
8081 assert . ok ( $ ( '.wpe-results-card' ) . length == 7 , 'There are 7 results.' ) ;
8182 assert . ok ( $ ( '#standardMode' ) . text ( ) . includes ( 'Your WordPress install is not PHP 5.5 compatible.' ) , 'Test did not pass.' ) ;
83+ assert . ok ( $ ( '#standardMode' ) . text ( ) . includes ( '1 out of 7' ) , 'Scan stats are correct' ) ;
8284} ) ;
8385
8486QUnit . test ( 'Render test skip' , function ( assert ) {
You can’t perform that action at this time.
0 commit comments