jasmine - Anyway to use OR in expects for Protractor -
jasmine - Anyway to use OR in expects for Protractor -
it possible x.toequal('hello').or.toequal('bye')
?
i want able expects
have multiple right possibilities.
you can if
statement returns boolean , check if boolean true.
var test = false; if(x=='hello' || x=='bye'){ test = true; } expect(test).toequal(true);
jasmine protractor
Comments
Post a Comment