You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the below test case:
`describe('My Test Suite', () => {
before(() => {
cy.reportLog ("1st before")
});
before(() => {
cy.reportLog ("2st before")
});
it('Test Case 1', () => {
cy.reportLog ("1st it")
});
before(() => {
cy.reportLog ("3rd before ")
});
it('Test Case 2', () => {
cy.reportLog ("2nd it")
});
after(() => {
cy.reportLog ("after")
});
});`
I am expecting the output be
1st before
2st before
1st it
3rd before
2nd it
after
Instead cypress Version 12.17.4 gives the output
1st before
2st before
3rd before
1st it
2nd it
after
Is the output from cypress is expected behaviour?
Beta Was this translation helpful? Give feedback.
All reactions