Middle+
Have you had tests? Do you have experience writing E2E automated tests?
sobes.tech AI
Answer from AI
Yes, I have experience writing automated tests, including end-to-end (E2E) tests.
E2E tests verify the entire application — from the user interface to the backend and database, simulating real user actions.
An example of using Cypress for an E2E test on the frontend:
describe('Main page', () => {
it('opens and displays the header', () => {
cy.visit('https://example.com')
cy.contains('h1', 'Welcome')
})
})
Such a test helps ensure that key user scenarios work correctly after code changes.