Testcase: Verify video resume point
- Open chrome browser
- Launch web application
- Login with an user
- Play a video
- Note video played time
- Close browser
- Open chrome browser again
- Launch web application and login with same user
- Play the same video
- Video should resume from where the browser was closed
At step 10, Is there a way to automate such that browser opens, closes and again opens in the same cucumber scenario?
I have referred https://github.com/rquellh/testcafe-cucumber for designing my testcafe-cucumber framework.