Commit Graph

375 Commits

Author SHA1 Message Date
Peng Xiao
4d86f4f53f Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-10 00:45:27 +08:00
Konstantinos Kaloutas
44d0cd172f chore: use the axe core playwright package 2022-09-09 12:13:56 +08:00
Peng Xiao
839b5f35f9 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-06 21:31:57 +08:00
Andelf
320024f764 fix(e2e): wrong promise usage 2022-09-06 12:52:53 +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
Konstantinos Kaloutas
ed743d9895 fix: drawing test 2022-09-05 13:32:39 +03:00
Konstantinos Kaloutas
1e15062896 chore: add more tests and ids 2022-09-05 13:24:04 +03:00
Konstantinos Kaloutas
8ccd6f0507 chore: add whiteboard tests 2022-09-02 16:21:25 +03:00
Peng Xiao
33885e619b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-01 10:29:29 +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
Junyi Du
663cd6df7f dev: e2e testing workflow of running multiple times 2022-08-31 21:15:01 +08:00
Peng Xiao
694e626b5d fix: page rename e2e 2022-08-29 21:38:05 +08:00
Konstantinos Kaloutas
6bf5c441d9 feat: enable detailed report 2022-08-26 11:52:23 +08:00
Konstantinos Kaloutas
c3799b3f23 feat: skip to main content button 2022-08-26 11:52:23 +08:00
Konstantinos Kaloutas
54e43c71dd enhance: add basic a11y test 2022-08-26 11:52:23 +08:00
Andelf
f111ec3f8e fix(test): resolve e2e fails 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas
b4fbd023a7 fix: remove inconsistent test 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas
f60fe88855 enhance: work on e2e tests 2022-08-22 19:07:40 +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
Andelf
52b7a5e203 test(e2e): add test case page name
fix: lint
2022-08-08 13:34:47 +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
Andelf
57a54078fc test(e2e): fix fail on basic test 2022-07-26 14:59:31 +08:00
Andelf
38c5a62415 test(e2e): fix cards test 2022-07-26 12:48:04 +08:00
Gabriel Horner
f26681c2ee Skip intermittent failing test and add more testing advice 2022-07-25 14:17:46 -04:00
Gabriel Horner
25943d253d Unskip test as it was fixed in #6088 2022-07-20 10:38:08 -04:00
Tienson Qin
19455ed2c7 wait for 6s 2022-07-20 13:56:04 +08:00
Tienson Qin
91c09889f0 Wait a bit longer for the cards number update 2022-07-20 13:56:04 +08:00
Gabriel Horner
48306d37aa test: temporarily skip intermittently failing test 2022-07-18 10:54:55 -04:00
Junyi Du
33318c395b test(e2e): temporarily skip alias testing 2022-07-15 16:35:43 +08:00
Junyi Du
ee3ac7dd21 fix: blocking hooks when setup repo; recover diacritic e2e test (#5952)
* fix: blocking hooks when setup repo; recover diacritic e2e test

* test(e2e): update e2e test for the new selection UI
2022-07-13 21:30:17 +08:00
Andelf
53c0e79483 test(e2e): add simple flashcards check 2022-07-12 10:56:50 +08:00
Andelf
d05392e139 test(e2e): skip page-search test for now 2022-07-07 01:42:16 +08:00
Andelf
dda818c26a fix(e2e): add missing esc for (()) 2022-07-07 01:42:16 +08:00
Andelf
6afdfedb51 fix(test): add delay to e2e testing (#5804) 2022-06-23 22:38:57 +08:00
Andelf
0f30893636 Fix dnd e2e tests (#5762) 2022-06-20 13:04:26 +08:00
Charlie
55ccdd5dba Feature/onboarding Quick tour (#5247)
* enhance(ui): polish elements of left sidebar

* enhance(ui): active state of nav item from left sidebar

* enhance(ui): active state of nav item from left sidebar

* enhance(ui): WIP quick tour tips

* enhance(ui): WIP quick tour tips

* enhance(ui): WIP quick tour tips

* enhance(ux): add quick tour palette command

* enhance(ui): add step dots for quick tour tips

* enhance(ux): title hints for sidebar link items

* fix(ui): active state for journals from left sidebar

* enhance(ux): support quick tour command when initial app

* fix(ui): position of journal page quick tour tip box

* fix: cljs lint

* fix: remove unused method

* fix(e2e): e2e test for new left sidebar
2022-05-31 16:41:17 +08:00
Andelf
f94c0184d1 fix(test): random failure of code testing 2022-05-18 02:35:25 +08:00
Junyi Du
8d8dde5024 test(e2e): eliminate timeouts of fav tests 2022-04-26 15:00:45 +08: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
Junyi Du
ae29310cff test(e2e): activate copy & paste block ref test 2022-04-26 15:00:45 +08:00