unee-t / frontend

Meteor front end

Home Page:https://case.dev.unee-t.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to log in to user account

jmtiong opened this issue · comments

https://snippet.uilicious.com/embed/test/private/Bzf9tAzuMpK3yizY6Da8F9?step=1&autoplay=1
At step 65 onwards, the test failed due to the system unable to log in to the user account.

When I manually did a manual login, it could not do so as well. Looking into the console tabs, there are errors from the API indicating that the user is not found.
image

When I attempt to sign up this user, there is an API error as well.
image

Looking into the details of the error message

"Error: [[object Object]]
    at w._livedata_result (https://case.demo.unee-t.com/bc718099c4bfbe691c7508c34c88c18a1ebb0fd4.js?meteor_js_resource=true:63:17834)
    at w.onMessage (https://case.demo.unee-t.com/bc718099c4bfbe691c7508c34c88c18a1ebb0fd4.js?meteor_js_resource=true:63:20175)
    at https://case.demo.unee-t.com/bc718099c4bfbe691c7508c34c88c18a1ebb0fd4.js?meteor_js_resource=true:61:2772
    at Array.forEach (<anonymous>)
    at l.forEachCallback (https://case.demo.unee-t.com/bc718099c4bfbe691c7508c34c88c18a1ebb0fd4.js?meteor_js_resource=true:61:3967)
    at k.socket.onmessage (https://case.demo.unee-t.com/bc718099c4bfbe691c7508c34c88c18a1ebb0fd4.js?meteor_js_resource=true:61:2742)
    at k.r.dispatchEvent (https://case.demo.unee-t.com/bc718099c4bfbe691c7508c34c88c18a1ebb0fd4.js?meteor_js_resource=true:61:6474)
    at k._dispatchMessage (https://case.demo.unee-t.com/bc718099c4bfbe691c7508c34c88c18a1ebb0fd4.js?meteor_js_resource=true:61:20111)
    at k._didMessage (https://case.demo.unee-t.com/bc718099c4bfbe691c7508c34c88c18a1ebb0fd4.js?meteor_js_resource=true:61:21011)
    at WebSocket.o.ws.onmessage (https://case.demo.unee-t.com/bc718099c4bfbe691c7508c34c88c18a1ebb0fd4.js?meteor_js_resource=true:61:23160)"

This is what I obtained during the sign up
image

This test seems to assume a uneet-static-test@inboxkitten.com account exists, to be logged into.

I am not sure how you can make that assumption?!

This particular account was created for this testing purpose, however, even so when we try to create this non-existence user, the sign up failed as well.
image

So if neither the log in works nor the sign up works for this particular account, there should be a problem within the API server?

I just did the following test:

  • In the DEMO environment
  • Create a new user - PASSED
  • check the email confirmation is received - PASSED
  • click on the link in email confirmation email. Expected result: I'm logged in to Unee-T - PASSED
  • Log out PASSED
  • Log back in with the user credentials I just created - PASSED

AFAICT the DEMO envo works as expected. I see no API issue or anything out of the ordinary.

Okay understood, I will be changing and refactoring the test cases on Uilicious side, and I believe this is just a one time off issue. Seems like only this specific email cannot be created nor logged in