validation_test.js 494 B

12345678910111213
  1. // Note: validation.html has its own way of testing; this test simply tests if the output of that test conforms to the expected output
  2. Feature('Validations');
  3. Scenario('test validations in validation.html', (I) => {
  4. I.amOnPage('validation.html');
  5. var numberOfTestItemsExpected = 129;
  6. I.waitForElement("#output div:nth-child("+numberOfTestItemsExpected+")", 10);
  7. I.seeNumberOfElements("#output div", numberOfTestItemsExpected);
  8. I.see("success");
  9. I.dontSee('Fail');
  10. });