Commit Graph
532 Commits
Author SHA1 Message Date
Chen, Tai-Lin 0ac1dbed96 Merge branch 'main' into feat-build-quests 2023-11-17 15:12:32 +08:00
Lin, Hung-Shin 6735c9e9da Feat automation test (#63)
Add cypress automation tests

- Verify Login and Register UI
- Verify Game Starting UI
- Verify Game Play
- Add global commands: Login with Password, Prepare for Game, Type
Command, Wait until active, Check pending
- Add .sh file for entering command
- Add .env loading in config
- Removed login using Google and GitHub
2023-11-17 14:07:02 +08:00
wancat 0e3b3cca11 fix: remove tear down step 2023-11-17 13:57:56 +08:00
wancat 535fef247f fix: fix login failure by NODE_ENV=developement 2023-11-17 13:46:42 +08:00
Lin, Hung-Shin 8827446b71 fix: add longer timeout for getting xterm 2023-11-17 11:50:04 +08:00
Lin, Hung-Shin e6de58d2ee fix: include quests data in cypress image 2023-11-17 11:41:38 +08:00
Lin, Hung-Shin 387f577ae1 fix: rename setupTest 2023-11-17 11:41:33 +08:00
Lin, Hung-Shin 9193b9518a fix: handle frontend error 2023-11-17 11:41:09 +08:00
Lin, Hung-Shin ca057a657b feat: disable rate limits when testing 2023-11-17 11:27:48 +08:00
Lin, Hung-Shin d0c01fffa8 fix: enhance error handling in frontend 2023-11-17 11:18:14 +08:00
Lin, Hung-Shin 1f77328362 feat: add testing setup in backend 2023-11-17 10:59:47 +08:00
Lin, Hung-Shin cb376caff0 Merge branch 'main' into feat-automation-test 2023-11-17 09:43:26 +08:00
wancat c438756bde feat: update CI/CD work, compose, and README 2023-11-16 21:13:18 +08:00
wancat cd22988a49 feat: limit networking and memory during build 2023-11-16 21:11:32 +08:00
wancat 7b1591a6e3 feat: add build qeust images script 2023-11-16 20:49:54 +08:00
wancat 8bbd5da513 feat: load create session by quest image 2023-11-16 19:48:22 +08:00
Annie Huang 5a90b26af6 add new command(not yet finish loop enter command) 2023-11-16 15:01:36 +08:00
Lin, Hung-Shin 08e28f7725 feat: load user progress and check before click
* not display completed and unlocked status yet
2023-11-16 13:22:24 +08:00
Lin, Hung-Shin 34e9b20f2e feat: fetch quests from api 2023-11-16 13:09:35 +08:00
Lin, Hung-Shin b19d6bf6e2 feat: center the same layers 2023-11-16 12:53:44 +08:00
Lin, Hung-Shin 7a8df716da feat: add x coordinates and links, use SVG 2023-11-16 12:46:53 +08:00
Lin, Hung-Shin e018e8dfe4 refactor: encapsulate DAG 2023-11-16 12:46:30 +08:00
Lin, Hung-Shin ca8215486c feat: add dag into frontend (work in progress) 2023-11-15 14:58:00 +08:00
Lin, Hung-Shin 14d6ab961b fix: move format into constructor 2023-11-15 14:46:41 +08:00
Lin, Hung-Shin e18f0db5ad feat: Add edges 2023-11-15 14:43:34 +08:00
Lin, Hung-Shin fae2d8199d feat: calculate layer 2023-11-15 14:30:37 +08:00
Lin, Hung-Shin c92a2e1d70 feat: install echarts and initialize graph chart 2023-11-15 14:02:33 +08:00
Lin, Hung-Shin 4d408333b7 Feat Multi-Quest support (#61) 2023-11-15 14:01:32 +08:00
wancat 92181d960f feat: check if a quest is unlocked before creating session 2023-11-14 10:45:24 +08:00
wancat c2dac8d385 fix: wrap all async controller with error handler
* add validations to newCommand
2023-11-14 10:45:24 +08:00
wancat 1af85651b8 fix: enhance error handling for frontend session 2023-11-14 10:45:24 +08:00
wancat d0e2a4125d feat: add vue-toastification for alerting 2023-11-14 10:45:24 +08:00
wancat 2d0fffc8f4 fix: update backend socket error handling 2023-11-14 10:44:52 +08:00
wancat 4ee88fe7ba feat: add requirements in quest list api 2023-11-14 10:44:52 +08:00
wancat f973982ec4 feat: use dynamic route to select quest (no error handling yet) 2023-11-14 10:44:52 +08:00
wancat cce6127d51 fix: allow optional value by removing noError in SessionList 2023-11-14 10:44:52 +08:00
wancat 1e728b413b fix: not reexport in default 2023-11-14 10:44:52 +08:00
wancat 5df4967a85 feat: delete "deleteSession" method, validate questId and sessionId 2023-11-14 10:44:52 +08:00
wancat a7422853fa feat: add /users/me endpoint 2023-11-14 10:44:52 +08:00
wancat ae221a696c fix: update repo url in package.json 2023-11-14 10:44:52 +08:00
wancat f49fb0e4da feat: finishSession and allow user command after finished 2023-11-14 10:44:52 +08:00
wancat 45f12acbd9 feat: add UserProfile collection, create on login
* add progress
2023-11-14 10:44:52 +08:00
Lin, Hung-Shin e981bff3bb feat: change base image to alpine 2023-11-14 10:44:52 +08:00
Lin, Hung-Shin fac91e0f10 feat: update quest and user schema
* add requirements in quest
* add progress in user
2023-11-14 10:44:52 +08:00
Annie Huang f9914b8095 renew config and package 2023-11-13 23:08:29 +08:00
Annie Huang 62fe65d53a Update tests:
- Add public command to press enter until story end
- Add public command to check status pending

(cherry picked from commit c86163fd10)
2023-11-13 22:31:45 +08:00
Annie Huang 3dd0aaedb2 remove usless code
addtional information:
- add loading .env file in config

(cherry picked from commit 5d7c922fa6)
2023-11-13 22:31:45 +08:00
Annie Huang bb63057e92 update tests
- having bug testing blocked by limited reset time
- not yet check the playing part is fine

(cherry picked from commit c510e4a541)
2023-11-13 22:31:45 +08:00
Annie Huang 610eb3d2b7 update tests
- having bug testing blocked by limited reset time
- not yet check the playing part is fine

(cherry picked from commit c510e4a541)
2023-11-13 22:20:10 +08:00
Annie Huang 837712b742 Update tests:
- Add public command to press enter until story end
- Add public command to check status pending

(cherry picked from commit c86163fd10)
2023-11-13 22:15:39 +08:00