drive-server icon indicating copy to clipboard operation
drive-server copied to clipboard

[_]: test/e2e-auth

Open JoanVicens opened this issue 2 years ago • 1 comments

Added e2e test for register, login and access users (with credentials).

Depends on:

  • https://github.com/internxt/drive-server/pull/270
  • https://github.com/internxt/drive-server/pull/272

JoanVicens avatar Aug 18 '22 10:08 JoanVicens

As you commented on the weekly, @foxkdev, the issue on sequelize translating 0 and 1 to false and true was solved, and on my the test no longer occurs.

To have it written down the error occurred on the test: should be able to register a referred user, it was throwing the error: operator does not exist: boolean = integer on https://github.com/internxt/drive-server/blob/539238d265e0c010d07ab818ff34c21402f2120a/src/app/services/usersReferrals.js#L109

JoanVicens avatar Aug 18 '22 15:08 JoanVicens

Note: still waiting to merge as there is a conflict in running this along with storage e2e

fabioespinosa avatar Sep 01 '22 13:09 fabioespinosa

Note: still waiting to merge as there is a conflict in running this along with storage e2e

Solved by unifying the test into one file

JoanVicens avatar Sep 09 '22 12:09 JoanVicens