I have an MVC project and lots of TDD unit tests for testing the passing of data which all work fine.
However, I am now going to add some tests for the GUI.
How would I go about testing something such as the below:
If home/page1, pressing “next” submit should goto “/Page2”.
I still dont quite understand how to do tests on UI based features.
If you want to test the actions of the controller you can do something like that
(i’m assuming a lot of things in this test but I hope you get the essentials)