Skip to Content
Full Stack Development with JHipster
book

Full Stack Development with JHipster

by Deepu K Sasidharan, Sendil Kumar N
March 2018
Intermediate to advanced content levelIntermediate to advanced
380 pages
9h 23m
English
Packt Publishing
Content preview from Full Stack Development with JHipster

Improving end-to-end tests

In Chapter 6Testing and Continuous Integration, we saw that some of the e2e tests were commented out due to the difficulty in generating tests for an entity with a required relationship. Try to fix the tests with the following approach:

  1. Add a method to delete entities after creation, similar to what we saw in Chapter 6Testing and Continuous Integration, for the customer entity spec.

 

  1. Uncomment the commented out e2e tests in the files under src/test/javascript/e2e/entities.
  2. Navigate the protractor to the related entity page and create a new item. If the related entity has required relationships then follow the same approach and nest them until all the required entities are in place. This can be done in a  ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Full Stack Development with JHipster - Second Edition

Full Stack Development with JHipster - Second Edition

Deepu K Sasidharan, Sendil Kumar Nellaiyapen
Jasmine Cookbook

Jasmine Cookbook

Munish Kumar

Publisher Resources

ISBN: 9781788476317Supplemental Content