Chore: Initialize Cypress tests (#1078)

Addresses: #412

Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
This commit is contained in:
Sojan Jose
2020-07-21 20:11:22 +05:30
committed by GitHub
parent fcb7625616
commit d6f309ce22
25 changed files with 654 additions and 38 deletions

View File

@@ -0,0 +1,20 @@
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');
});
});