I'm using cypress to automate testing at my companies' website, and upon logging in, clicking on any of the interactive elements immediately logs me out. however, this is only when I run it through cypress. manually clicking around still works. What could I do to fix this?
this is for a website built with javascript.
I expect the website to not log me out.
describe('signing in', function() {
it('Visits the safe and reliable sign-in page', function() {
cy.visit('https://testing.safeandreliable.care/sign-in')
cy.get('[id="at-field-username_and_email"]').type('bcramer@safeandreliablecare.com')
cy.get('[id="at-field-password"]').type('******')
cy.contains('Sign In').click()
})
it('signs into the default entity', function(){
cy.get('[id="help-text-board"]').click({force:true})
cy.wait(9000)
})
})