unee-t / frontend

Meteor front end
https://case.dev.unee-t.com/
GNU Affero General Public License v3.0
9 stars 17 forks source link

Unable to log in to user account #872

Closed jmtiong closed 4 years ago

jmtiong commented 4 years ago

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

jmtiong commented 4 years ago

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

kaihendry commented 4 years ago

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?!

jmtiong commented 4 years ago

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?

franck-boullier commented 4 years ago

I just did the following test:

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

jmtiong commented 4 years ago

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