kensodemann / customer-task-list

2 stars 0 forks source link

Add e2e Tests #34

Open kensodemann opened 5 years ago

kensodemann commented 5 years ago

Add end-to-end tests now that there is a test/dev backend.

In any case that involves creating new data, the data items should be removed as part of the test. In any case that involves changing the data, the data should be changed back as part of the test.

Start with just a navigation script that does a login and some nav then a logout.

kensodemann commented 5 years ago

I currently have the login and customer handling scripts in place.

Need to add a simple one for tasks.

kensodemann commented 5 years ago

The current e2e tests are too fragile. I am going to change tact here and just use them to ensure that I can open screens and display data properly, etc. The data entry bits will just have to be covered only by unit tests.

1 - remove any test that adds data 2 - remove the data removal code 3 - create data in the testing database 4 - script tests that read the data and verify screens open, etc.