logseq/e2e-tests
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
..
util chore: rename variable names in keyboard event e2e tests 2022-04-01 17:36:39 +08:00
basic.spec.ts test(e2e): fix fail on basic test 2022-07-26 14:59:31 +08:00
code-editing.spec.ts fix(test): random failure of code testing 2022-05-18 02:35:25 +08:00
dnd.spec.ts Fix dnd e2e tests (#5762) 2022-06-20 13:04:26 +08:00
editor.spec.ts Fix pasting race condition (#5964) 2022-08-02 10:54:09 -04:00
fixtures.ts Comment pageerror check on e2e tests 2022-04-24 11:17:47 +08:00
flashcards.spec.ts test(e2e): fix cards test 2022-07-26 12:48:04 +08:00
hotkey.spec.ts test(e2e): add test for backspace and cursor pos (#4896) 2022-04-15 19:50:25 +08:00
logseq-url.spec.ts test(e2e): codestyle tuning 2022-04-26 15:00:45 +08:00
page-rename.spec.ts test(e2e): title property change name tests 2022-04-26 13:57:07 +08:00
page-search.spec.ts test(e2e): temporarily skip alias testing 2022-07-15 16:35:43 +08:00
random.spec.ts Refactor randomized e2e tests (#4974) 2022-04-21 18:15:53 +08:00
sidebar.spec.ts Feature/onboarding Quick tour (#5247) 2022-05-31 16:41:17 +08:00
types.ts Refactor randomized e2e tests (#4974) 2022-04-21 18:15:53 +08:00
utils.ts Fix pasting race condition (#5964) 2022-08-02 10:54:09 -04:00