Chatwoot/spec/cypress/integration/happy_paths/admin_dashboard_authentication.js

21 lines
462 B
JavaScript
Raw Normal View History

describe('AdminDashboardAuthentication', function() {
before(() => {
cy.app('clean');
cy.appScenario('default')
});
it('authenticates an admin ', function() {
cy.visit('/');
cy.get("[data-testid='email_input']")
.clear()
.type('john@acme.inc');
cy.get("[data-testid='password_input']")
.clear()
.type('123456');
cy.get("[data-testid='submit_button']").click();
cy.contains('Conversations');
});
});