Commit graph

5 commits

Author SHA1 Message Date
Walstan Baptista
a15e1a7d59
test: sort folders and files before running tests for consistency (#12689)
* fix: sorted folders list befor adding tests

* fix: sort files as well

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: remove unnecessary cstr

* fix: minor code quality change

* test: use unique `user_email` in `TestAuth`

* test: Use unique username for auth test

* test: Delete DocType Doc A completely after test is done

* test: Fix permission issue & typo in test cases

Co-authored-by: Sagar Vora <sagar@resilient.tech>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2021-03-26 12:33:46 +00:00
Leela vadlamudi
2984026035
fix: Login with username fails (#12658)
With the recent refactoring we missed to include username check in auth
flow. Added test cases along with the fix.
2021-03-24 21:18:37 +05:30
leela
b22f53e74b test: basic authentication test is added 2021-03-22 19:17:57 +05:30
leela
6e5e0890f3 refactor: Cleaned authentication logic
Auth flow is changed to use login attempt tracker.
2021-02-22 21:11:18 +05:30
leela
49317ce045 refactor: Track login attempts of a user
Existing login attempt tracker is a set of funcions those are not easy
to understand. Created a tracker class that handles all tracker logic and provides
useful methods to access.

Testcases added for the same.
2021-02-22 21:08:33 +05:30