Created
January 24, 2019 22:21
-
-
Save san-kumar/7a52f874c18861d4661063984a226de2 to your computer and use it in GitHub Desktop.
first test
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
describe('My First Test', function() { | |
it('Check if popup loads properly', function() { | |
cy.visit('https://www.uploader.win'); | |
cy.contains('Open Uploader').click(); | |
cy.get('iframe').then($iframe => { | |
const $body = $iframe.contents().find('body'); | |
cy.wrap($body).find('#sidebar'); | |
}); | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment