cypress-svelte-unit-test
cypress-svelte-unit-test copied to clipboard
Old path stuck in preview
I'm loading whole app into Cypress.
I route pages of app with url prop
for example:
it('Homepage', () => {
mount(App, {
props: {
url: '/',
},
}, { cssFile: 'public/bundle.css'})
cy.contains('span', '33333')
})
I also can access Login page with props:{url:'/login'}.
Problem occurs when i do them in succession (one it() after another) The Homepage is show for both it(), basically - Login page doesn't show up.