Sha256: e1830405ec57612ec9f4b4d54116c8a6c392369576e5d5603054765113cc063e
Contents?: true
Size: 889 Bytes
Versions: 4
Compression:
Stored size: 889 Bytes
Contents
describe('Rails using scenarios examples', function() { beforeEach(() => { cy.app('clean') // have a look at e2e/app_commands/clean.rb }) it('setup basic scenario', function() { cy.appScenario('basic') cy.visit('/') cy.get('table').find('tbody').should(($tbody) => { // clean should of removed these from other tests expect($tbody).not.to.contain('Good bye Mars') expect($tbody).not.to.contain('Hello World') expect($tbody).to.contain('I am a Postman') }) }) it('example of missing scenario failure', function() { cy.visit('/') cy.appScenario('basic') // cy.appScenario('missing') // uncomment these if you want to see what happens }) it('example of missing app failure', function() { cy.visit('/') cy.appScenario('basic') // cy.app('run_me') // uncomment these if you want to see what happens }) })
Version data entries
4 entries across 4 versions & 1 rubygems