Created
February 27, 2021 07:45
-
-
Save NilukaSripalim/73a8389de3b91c84dbe89b94d13b39ed to your computer and use it in GitHub Desktop.
Cypress then() Example1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types="cypress" /> | |
describe('Cypress Test Automation with then command', () => { | |
const log = console.log | |
it('then functionality example', () => { | |
/** | |
* then() calls the passed anonymous functions | |
*/ | |
cy.then(() => log("The basic with then command")); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment