mysterious-belgium-25713
11/19/2022, 7:26 PMjs
const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
experimentalSessionAndOrigin: true,
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
});
And this is my test file.
js
describe('empty spec', () => {
it('passes', () => {
cy.visit('https://example.cypress.io')
cy.origin('https://the-internet.herokuapp.com/', () => {
cy.visit('https://the-internet.herokuapp.com/')
cy.contains('Checkboxes').click()
})
})
})