Created
October 27, 2020 20:11
-
-
Save cmosguy/30e2ec12217c84f0f0fb717e5f122269 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
context('Currency Converter Test', () => { | |
it('', () => { | |
cy.visit('https://www.xe.com/') | |
cy.get('#amount').type(100) | |
cy.get('button[data-test-id=converter-submit-button]').click() | |
cy.get('.converterresult-toAmount').invoke('text').then(parseFloat).should('be.gt', 84) | |
}) | |
}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment