Created
October 29, 2018 03:32
-
-
Save nottyo/e57017f86d20b73a7adb37a8df3b71f0 to your computer and use it in GitHub Desktop.
cypress_sample.spec.js
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', () => { | |
beforeEach(() => { | |
cy.visit('https://www.cypress.io') | |
}) | |
it('should has text \'npm install cypress\'', () => { | |
cy.get('[class="filler"]').should('contain', 'npm install cypress') | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment