seq-logging
Version:
Sends structured log events to the Seq HTTP ingestion API
16 lines (11 loc) • 362 B
JavaScript
context('The app', () => {
beforeEach(() => {
cy.visit('http://localhost:8080');
});
it('logs to Seq', () => {
cy.get('#log-event').click();
cy.get('#status').should('have.text', 'Logging an event...');
// After a little while...
cy.get('#status').should('have.text', 'The event was logged!');
});
});