Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add e2e Tests #34

Open
kensodemann opened this issue Jan 14, 2019 · 2 comments
Open

Add e2e Tests #34

kensodemann opened this issue Jan 14, 2019 · 2 comments
Assignees
Labels
Enhancement A small feature or improvement to an existing feature Priority: Low

Comments

@kensodemann
Copy link
Owner

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 kensodemann added Enhancement A small feature or improvement to an existing feature Priority: Low labels Jan 14, 2019
@kensodemann kensodemann self-assigned this Jan 16, 2019
@kensodemann
Copy link
Owner Author

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

Need to add a simple one for tasks.

@kensodemann
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A small feature or improvement to an existing feature Priority: Low
Projects
None yet
Development

No branches or pull requests

1 participant