Is the example bellow running Unit or a End-to-End tests. Should End-to-End tests always open a browser?
Scenario('search', async I => {
I.say(`I wait for results to appear.`)
I.wait4UrlToContain('#q=foo')
I.wait4ElementVisible('.search-results__item', 20)
I.wait4DataLayerEvent({
eventInfo: {
eventName: 'Onsite Search',
eventAction: 'Success'
},
...
})
Aucun commentaire:
Enregistrer un commentaire