Commit Graph

20 Commits

Author SHA1 Message Date
Junyi Du
87e8bb94bb test(e2e): improve stability 2022-08-31 21:15:01 +08:00
Andelf
f111ec3f8e fix(test): resolve e2e fails 2022-08-22 19:07:40 +08:00
Phoenix Eliot
3c6514ee4b Fix moving cursor outside brackets (#6283)
* Add data attribute to modals for testing

* Add several tests for moving cursor outside/within brackets

Update tests to be more reliable and DRYer

Rename action menu to autocomplete menu; fix test race condition

Rename 'action modal' to 'autocomplete menu'

* Check for being outside of brackets on every keyup

Remove dead code

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-08-15 18:47:26 +08:00
Tienson Qin
c049f1dd9f Comment pageerror check on e2e tests 2022-04-24 11:17:47 +08:00
Andelf
93faf552ac fix(test): random fail while typing 2022-04-22 11:02:42 +08:00
Andelf
b92f48a047 Refactor randomized e2e tests (#4974)
* fix(test): disable some random check
* fix(test): fix template test
* fix(test): reduce random test size
2022-04-21 18:15:53 +08:00
Andelf
8e74b06103 fix(test): add delay to clickNew 2022-04-21 13:07:30 +08:00
Tienson Qin
a569d38f18 fix: e2e tests 2022-04-21 09:25:14 +08:00
Andelf
115054736d test(e2e): add test for backspace and cursor pos (#4896)
* test(e2e): add test for backspace and cursor pos
* fix(test): refine, fix wrong helper
2022-04-15 19:50:25 +08:00
Andelf
78d9c6f2fe fix(e2e): wrong log match condition 2022-04-11 11:45:32 +08:00
Andelf
d13b2a9dce refactor(e2e): add block fixture helpers 2022-04-11 11:45:32 +08:00
Andelf
ec43dd7ee1 fix(test): e2e fails
refactor(e2e): print logs when error
2022-04-02 21:52:28 +08:00
Andelf
f1af5344b2 fix(test): refactor and fix all e2e tests 2022-04-02 21:49:34 +08:00
Charlie
0d3ac91ca3 Feature/Setups of Onboarding Process (#4580)
UX enhancement: onboarding setup graphs 

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-04-02 21:37:38 +08:00
Tienson Qin
6aba8c3241 Improve long page editing performance (#3855)
* Remove expensive parsing when saving files

* Add limit to page blocks query

* Don't collapse block's body to make it compatible with other tools

* Alert if there're unsaved changes when switching graphs

* DB schema migration for :block/collapsed? from it's property

Co-authored-by: Andelf <andelf@gmail.com>
2022-01-18 10:37:31 +08:00
Andelf
ddbe7cabeb test(e2e): refine condition wait 2022-01-17 17:26:42 +08:00
Andelf
f5be683963 test(e2e): allow test with newly opened graph 2022-01-17 17:26:42 +08:00
Peng Xiao
17b5cdb9e8 feat: add a secret global flag to load graph progammtically (#3531)
* feat: add a secret global flag to load graph from a user defined dir

* fix: use LOGSEQ_OVERWRITE_OPEN_DIR env var to overwrite the openning graph dir

* e2e: add a test for load & check saved graph data

* fix: should also pass in process.env for testing fixtures

* feat: new way to set open dir folder

* fix: e2e

* fix: remove playwright global flag check

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-01-05 21:05:05 +08:00
Andelf
aaceac2c96 test(e2e): monitor error logs 2021-12-25 13:41:22 +08:00
Andelf
147b2ccf70 test(e2e): refactor using fixtures 2021-11-30 11:05:48 +08:00