Commit Graph

73 Commits

Author SHA1 Message Date
Tienson Qin
6fd20c0638 fix: more tests 2024-01-16 00:40:56 +08:00
Tienson Qin
af895d68c9 fix: editor e2e tests 2024-01-15 23:04:49 +08:00
Tienson Qin
af8478a6ec fix: editor e2e tests 2024-01-15 15:35:34 +08:00
Tienson Qin
e04a5b4316 Merge branch 'master' into feat/db 2023-12-04 20:47:37 +08:00
Tienson Qin
1815f874fe fix: e2e tests 2023-11-30 22:31:27 +08:00
Tienson Qin
1041ebfb65 add timeout 2023-10-18 11:01:55 +08:00
Tienson Qin
6626db245d fix: e2e tests 2023-10-17 19:05:43 +08:00
Tienson Qin
7ea80938d3 fix: e2e tests 2023-10-17 16:58:40 +08:00
Tienson Qin
172cd305d5 fix: editor e2e tests 2023-10-16 23:56:33 +08:00
Tienson Qin
ffcc656d1a fix: fs e2e test 2023-10-08 22:00:29 +08:00
Tienson Qin
646975cef7 fix: reactive blocks refs count 2023-10-08 20:49:08 +08:00
Mega Yu
e97f580094 add delay to pass the tests 2023-07-05 18:30:43 +08:00
Mega Yu
1bf2371890 add e2e tests 2023-07-05 18:30:43 +08:00
Charlie
66bac62a90 enhance(e2e): add e2e tests for the logseq APIs (#9512)
* improve(e2e): tests for logseq apis
2023-05-30 16:08:45 +08:00
Bad3r
29b4936e5c enhance(E2E): editor string formatting and symbols autopairing tests (#9388)
* enhance: only autopair tilda when text is selected

* Enhance/editor string formatting e2e (#48)

* enhance(E2E): Test editor italic, bold, strikethrough and underline.

...

---------

Signed-off-by: Bad3r <bad3r@protonmail.com>
2023-05-24 13:19:58 +08:00
Tienson Qin
01479ef9da enhance(perf): insert and delete blocks (#9142)
* enhance(perf): improve performance for both insert and delete

* fix: remember cursor pos before executing the body in a transaction

Otherwise, the edit-block and position could be changed

* fix: disable delete-concat when there's no child or right sibling

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-05-09 17:24:09 +08:00
Tienson Qin
64050a4929 fix: typo 2023-04-19 15:44:06 +08:00
Tienson Qin
bcf575ebd3 add tests 2023-04-19 15:35:54 +08:00
Tienson Qin
045ae0e50b add e2e test for hashtag search 2023-04-04 23:48:38 +08:00
Tienson Qin
7318f3ca91 fix: e2e 2023-03-29 18:41:04 +08:00
Tienson Qin
3977aa4b6b fix: e2e 2023-03-29 18:41:04 +08:00
Tienson Qin
c876e47e8d fix: e2e test 2023-03-29 18:41:04 +08:00
Tienson Qin
7230938fca chore: remove hack 2023-03-29 18:41:04 +08:00
Konstantinos Kaloutas
f6b9a55cbc Revert "attempt to lock clipboard"
This reverts commit b659cb07ca.
2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas
0f393a7f46 attempt to lock clipboard 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas
cd7ca56d3f refactor: e2e tests modKey 2023-03-08 17:09:35 +08:00
Zhizhen He
25c15053d6 feat: add typos to GitHub action
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 12:01:58 -05:00
situ2001
e7a5119ce5 chore: add issue No to test description 2023-01-13 15:03:59 +08:00
situ2001
ef1febb771 fix(editor): incorrect undo/redo sequence of indent/outdent 2023-01-13 15:03:59 +08:00
Junyi Du
a84a8028bd test(e2e): alias test robustness 2 2022-12-01 15:41:37 +08:00
Junyi Du
1702993f06 test(e2e): alias test robustness 2022-12-01 15:41:37 +08:00
Andelf
fe5d9b92d9 test(e2e): refine test cases (#7542) 2022-12-01 10:47:41 +08:00
Andelf
8148bf4fc8 fix(test): rm wrong e2e tests 2022-11-23 14:31:31 +08:00
Andelf
40366f6dbf fix(test): use e2e to test hashtag 2022-11-23 12:21:36 +08:00
Phoenix Eliot
a4e581b4b9 Add test for cmd-down deleting typed text 2022-11-14 17:37:24 +08:00
Andelf
43dd321ce4 test(e2e): split build and test 2022-09-06 12:52:53 +08:00
Andelf
dee6c9a712 test(e2e): fix random fail in auto-completion 2022-09-06 12:52:53 +08:00
Viktor Moros
c7703e5e93 Adding E2E test for scenario with text after a soft return 2022-08-31 22:39:04 +08:00
Junyi Du
87e8bb94bb test(e2e): improve stability 2022-08-31 21:15:01 +08:00
Tienson Qin
0298fca343 fix: e2e 2022-08-19 13:04:43 +08:00
Andelf
18caeec139 test(e2e): pass test on windows 2022-08-18 10:50:04 +08:00
Tienson Qin
f502de3ad4 fix: e2e test 2022-08-18 08:18:58 +08:00
Phoenix Eliot
9d9d8b3474 Fix: Fix undo/redo while action menu is open (#6273)
* Add data attribute to modals for testing

* Add test for undoing with action menu open not destroying text

* Add test for undo closing the action menu

* Add simple fix for undo/redo with action menu open

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-08-15 18:58:35 +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
Phoenix Eliot
7cb1fc9c3c Add action whitelist and special handling for link/image input dialog 2022-08-15 17:45:39 +08:00
Phoenix Eliot
2970ff6c58 Add issue number to a previous PR's test 2022-08-15 17:45:39 +08:00
Phoenix Eliot
d39ae199fb Add test for escape closing action menu
Rename 'action menu' to 'autocomplete menu'
2022-08-15 17:45:39 +08:00
Phoenix Eliot
0747d5ccb7 Fix pasting race condition (#5964)
* Fix re-running e2e tests when it reuses old app instances

I'm not certain this doesn't break things for other OSes/setups, but it was required for e2e tests to run after the first time I ran them. It keeps a list of all previous (now missing) graphs in the sidebar, and this flow properly causes the new one to be selected, where the old flow did not match what the UI was doing anymore.

* Add e2e test for quickly pasting blocks after editing new blocks

* Fix pasting quickly after editing a new block

* Remove "test.only" focus

* Fix clicking add button in first test by closing error notification

* Improve some flaky race conditions in tests

* Remove unrelated waits in E2E tests

* Update playwright version; update tests to match

* Fix logic for checking if there are unsaved edits

* Fix typescript complaints

* Reduce how long we wait after closing each error popup
2022-08-02 10:54:09 -04:00
Junyi Du
10eb18a137 test(e2e): codestyle tuning 2022-04-26 15:00:45 +08:00
Junyi Du
dc8be8cdfc test(e2e): handle case that has no ClipboardItem available 2022-04-26 15:00:45 +08:00