Skip to content

Fix #50: Update login from username to email - #57

Open
mdraza7544 wants to merge 1 commit into
naveenanimation20:masterfrom
mdraza7544:fix/50-login-email
Open

Fix #50: Update login from username to email#57
mdraza7544 wants to merge 1 commit into
naveenanimation20:masterfrom
mdraza7544:fix/50-login-email

Conversation

@mdraza7544

Copy link
Copy Markdown

This PR fixes issue #50.

The website login now uses an email instead of a username, so the existing login tests were failing.

Changes made:

  • Changed username to email in config.properties
  • Updated the login URL to the current login page
  • Updated the login page locators for email, password and login button
  • Updated the related tests to use the email property

I also tested the login flow and the login test is now passing.

I did not change any unrelated files or tests.

The website login form no longer contains a username field; it now\nauthenticates with email + password.

- config.properties: rename 'username' property to 'email' and point 'url'\n  to the current login page (form now lives at ui.freecrm.com/login)\n- LoginPage: update locators to the live form (id=email, id=password,\n  button[type=submit]); rename login() param un -> emailId\n- LoginPageTest/HomePageTest/ContactsPageTest: read 'email' property
@mdraza7544

Copy link
Copy Markdown
Author

Issue #50 has been fixed. The login flow is now updated to use email instead of username, and the related login test is passing. No unrelated files or tests were changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant