https://cypress.io logo
My doubt is do we automate a UI story as it is dev...
# best-practices
a
My doubt is do we automate a UI story as it is developed in the same sprint or do we wait for one manual run in the current sprint and take it up for automation in the next sprint . Kindly suggest best practices
m
Best is to first have manual testing on new story, find bugs in current sprint. Till then we can identify automation feasibility for manual test cases. Once we fix priority bugs and feature becomes stable then only automate the story. For functional testing for the first time manual testing would be ideal and for regression automation would be used.
m
it shouldn't even get merged to master/main without a green PR with the new feats and tests that come with the feat, that's the meta you can achieve
a
Thanks Preeti and Murat .That helps . In our team we follow a practice of developing the story and developing a test automation for that at the same time . Then when the user story is ready to be tested the manual run is done for the user story to identify bugs and flow breaks . And then the automation suite should be corrected and developed based on the ui and must be ready for run from next sprint as part of regression . But without the UI completely developed we donot know the cy-data attributes and also the flow . Hence I was wondering if we need to follow processes in a better manner . This needs to be raised in my team as well .
p
That also might depend on what type of methodology you workin in. in scrum were making separated tasks for e2e tests in our stories, so it was pretty easy to see what's done. e2e tasks were picked up when UI was done, we also agreed that delivering feature with e2e tests in the same sprint (like 2 weeks period) is difficult, and Automation QA work was some sort of detached form what devs were doing so e2e tests were never included in the spirt goal. We were just making sure everything is covered with regression tests before important releases
a
Oh and yes in my team also we follow scrum and it’s exactly 2 week sprint , so it became difficult to deliver the UI automation. Hence I asked the suggestion .
2 Views