Cypress provides you with the below hooks describe('Hooks', () => { before(() => { // runs once before all tests in the block }) beforeEach(() => { // runs before…
It’s almost considered a sin to use Static sleep’s in Test Automation code.But using Dynamic sleep’s everywhere as a thumb rule can do more harm than good. I recently came across this scenario which…