I am fairly new to automation and am trying to form the basic structure for my company moving forward. I have done some research and am trying to implement POM but am a bit confused over structure and length of test cases.
Should test cases include navigation to the intended test page or should this be included in the setup?
Say for example I am trying to add a new item, it requires:
- Logging in
- Navigation through 3 pages (button press on each and possible check)
- Reach page then filling out the form.
Now in my test case I am writing all these steps but it feels bloated and difficult to maintain, since all I am doing is basically clicking one button on several pages it makes the test case messy.
Most documentation online seems to deal only with login and rarely goes into more depth after that first step.