============================================================
CuCu Note API E2E Test Suite
============================================================

[1] AUTH - Sign In
  POST /auth/signin -> 200 PASS | token=eyJhbGciOiJIUzI1NiIsInR5cCI6Ik...

[2] AUTH - Get Me
  GET /auth/me -> 200 PASS | user_id=1 email=test@example.com

[3] MEMOS - Create new memo
  POST /memos -> 200 PASS | memo_id=192 uid=TmsZnaMMB-8Of87WY0BvYg

[4] MEMOS - List memos
  GET /memos -> 200 PASS | count=33

[5] MEMOS - Edit memo
  PATCH /memos/192 -> 200 PASS

[6] MEMOS - Change Visibility to PUBLIC
  PATCH /memos/192 visibility=PUBLIC -> 200 PASS

[7] MEMOS - Pin memo
  PIN /memos/192/pin -> 404 FAIL

[8] REACTIONS - Add emoji reaction
  POST /memos/192/reactions -> 200 PASS | {'name': 'memos/192/reactions/THUMBS_UP', 'creator': 'users/1', 'contentId': 'memos/192', 'reactionType': 'THUMBS_UP'}

[9] COMMENTS - Post a comment on memo
  POST /memos (comment) -> 200 PASS | 193

[10] TEAMS - List teams
.venv\Scripts\python.exe : Traceback (most recent call last):
At line:1 char:1
+ .venv\Scripts\python.exe e2e_api_test.py > e2e_output.txt 2>&1; Get-C ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
  File "C:\canifa-idea\chatbot-canifa-feedback\miniapp\cuccu_note\backend\e2e_api_test.py", line 133, in <module>
    code, data = request("GET", "/api/v1/teams", token=token)
                 ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\canifa-idea\chatbot-canifa-feedback\miniapp\cuccu_note\backend\e2e_api_test.py", line 21, in request
    return e.code, json.loads(e.read())
                   ~~~~~~~~~~^^^^^^^^^^
  File "C:\Users\FPTSHOP\Miniconda3\Lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^
  File "C:\Users\FPTSHOP\Miniconda3\Lib\json\decoder.py", line 345, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\FPTSHOP\Miniconda3\Lib\json\decoder.py", line 363, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
