Commit Graph

42 Commits (dev/add-playwright-nbb-tests)

Author SHA1 Message Date
Gabriel Horner 56b58566be Basic example using browser with test ns and test runner cleanly split 2022-03-23 12:41:50 -04:00
Peng Xiao 4ea3d6eef8 fix: replace-block-reference-with-content-at-point not working 2022-03-17 16:16:24 +08:00
Andelf d985501186 test(e2e): add drag and drop test skeleton 2022-03-15 11:56:32 +08:00
Andelf 2106a3ec44 test(e2e): add test case for #4320 2022-02-24 23:44:57 +08:00
Junyi Du 541a2ccd50 test(e2e): add test for favorite and recent items 2022-02-19 10:47:16 +08:00
Junyi Du bb0df09cd9 test(e2e): add test for renaming pages 2022-02-19 10:47:16 +08:00
Andelf 4735a981a0 test(e2e): add test case for #4178 2022-02-11 10:57:38 +08:00
Tienson Qin d18d2f24ca fix e2e tests 2022-01-28 20:28:50 +08:00
Junyi Du 694dfe52ec enhance: page name index sync normalization; e2e alias diacritic test 2022-01-20 10:33:50 +08:00
Andelf 5ce66ac215 test(e2e): add test case for #3944 2022-01-19 11:12: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
Junyi Du 29c4bb4048 test(e2e): fix CI page ref check with no content display 2022-01-13 14:42:18 +08:00
Junyi Du 8279f008c6 test(e2e): tailor test cases 2022-01-13 12:21:22 +08:00
Junyi Du 1612a306f5 test(e2e): improve page-ref test robustness 2022-01-13 12:21:22 +08:00
Junyi Du 4775be1baf fix: lowercased block content in search result 2022-01-13 12:21:22 +08:00
Junyi Du 9270c79078 test(e2e): examinate search results 2022-01-13 12:21:22 +08:00
Junyi Du 6c686c4ead test(e2e): page alias with diacritics tests 2022-01-13 12:21:22 +08:00
Andelf 893d42af52 test(e2e): shorten sleep wait 2022-01-08 13:36:52 +08:00
Charlie 3ea7635daa
Enhance/marketplace (#3686)
Marketplace enhancement

Nested modal support
2022-01-07 19:00:35 +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
Junyi Du 977add22ff test(e2e): fix playwright test timeout 2022-01-04 21:37:44 +08:00
Junyi Du 6fe10a587e test(e2e): text normalization 2022-01-04 21:37:44 +08:00
Andelf aaceac2c96 test(e2e): monitor error logs 2021-12-25 13:41:22 +08:00
Junyi Du 6aafeb40ca test(e2e): split util functions 2021-12-21 12:38:08 +08:00
Junyi Du 8798ffed06 test(e2e): add page alias tests 2021-12-21 12:38:08 +08:00
Junyi Du 09120cfce2 test(e2e): add more autocomplete test 2021-12-20 12:11:11 +08:00
Junyi Du c5d39cdb8a fix: abuse of keycode cause unexpected behaviour under different keyboard layouts 2021-12-20 12:11:11 +08:00
Andelf 585e7ba1f5 test(e2e): add test for block with code and multi properties 2021-12-16 19:23:10 +08:00
Andelf 34769bc989 test(e2e): add cases for code editing 2021-12-15 12:28:02 +08:00
Andelf 13e3ee2cc9 fix(editor): handle code block with non-latin1 chars 2021-12-13 14:59:29 +08:00
Andelf 0f650741a8 fix(test): unused imports 2021-12-12 16:24:14 +08:00
Andelf 0d26856206 test(e2e): add cases for code-editing 2021-12-12 16:24:14 +08:00
Andelf d5a85c959f fix(test): adapt tests to the new left sidebar 2021-12-10 14:14:57 +08:00
Charlie c63f1f0d15
Enhance/left sidebar responsive (#3376)
* improve(ui): [WIP] refactor left sidebar component

* improve(ui): [WIP] refactor left sidebar component

* improve(ui): polish left sidebar for mobile

* improve(ui): polish left sidebar for mobile native

* fix: unnecessary stateful component

* improve(ui): tweak padding inner left sidebar

* fix(tests): update tests

* fix(ui): close left sidebar when create page on sm breakpoint

* improve(ui): tweak `--ls-left-sidebar-sm-width` to 70%

* fix(ui): overlap between left sidebar and toolbar right area on mobile
2021-12-08 21:13:57 +08:00
Andelf 295c6d7b91 fix(test): make a fixme in autocompletion 2021-11-30 11:05:48 +08:00
Andelf 147b2ccf70 test(e2e): refactor using fixtures 2021-11-30 11:05:48 +08:00
Andelf ee38781656 test(e2e): add test cases for hotkey 2021-11-30 11:05:48 +08:00
Andelf 13aefde53c fix(test): minor fix for e2e test 2021-11-24 17:20:01 +08:00
Andelf aae4a8b18c test(e2e): add test cases for auto-completion 2021-11-24 17:20:01 +08:00
Andelf 8d0d4ae3a2 test(e2e): add playwright test 2021-11-23 17:26:53 +08:00