chore: Cypress test case for create label flow
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
describe('AdminDashboardAuthentication', function() {
|
||||
describe('AdminDashboardAuthentication', function () {
|
||||
before(() => {
|
||||
cy.app('clean');
|
||||
cy.appScenario('default')
|
||||
cy.appScenario('default');
|
||||
});
|
||||
|
||||
it('authenticates an admin ', function() {
|
||||
it('authenticates an admin ', function () {
|
||||
cy.visit('/');
|
||||
|
||||
cy.get("[data-testid='email_input']")
|
||||
@@ -12,9 +12,9 @@ describe('AdminDashboardAuthentication', function() {
|
||||
.type('john@acme.inc');
|
||||
cy.get("[data-testid='password_input']")
|
||||
.clear()
|
||||
.type('123456');
|
||||
.type('Password1!');
|
||||
|
||||
cy.get("[data-testid='submit_button']").click();
|
||||
cy.contains('Conversations');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user