Commit Graph

26 Commits

Author SHA1 Message Date
thecodrr
dd5a249ea8 test: add stress test for note creation & switching 2021-12-08 23:25:09 +05:00
thecodrr
284f46ad02 test: add tests for tags 2021-12-07 19:03:44 +05:00
thecodrr
8b0f1a09e3 test: update snapshots 2021-12-06 12:59:16 +05:00
thecodrr
d64dfa90fb test: fix "add tags to note" test 2021-11-23 20:54:54 +05:00
thecodrr
45d33d90f6 refactor: improve app startup perf many times 2021-10-23 10:58:44 +05:00
thecodrr
aec2fd20bd test: fix all tests 2021-10-22 16:29:12 +05:00
thecodrr
3e41686b52 test: fix all tests 2021-09-13 12:45:57 +05:00
thecodrr
45323ced12 test: add editor focus mode test 2021-07-18 18:20:35 +05:00
thecodrr
96f61df686 test: add test for note unlocking and editing 2021-07-18 18:02:13 +05:00
thecodrr
2234a11e6f test: fix all tests 2021-07-17 13:19:03 +05:00
thecodrr
8be672e620 test: add tests for note export 2021-07-09 01:13:26 +05:00
thecodrr
9538b93629 test: add timeouts for failing tests 2021-07-08 12:40:53 +05:00
thecodrr
110fb11f9c test: wait before opening menu to check for color 2021-07-07 22:08:45 +05:00
thecodrr
7d265db894 tests: use zx for running tests 2021-07-07 14:09:51 +05:00
thecodrr
b31cde906f ci: faster debug build 2021-07-07 12:46:24 +05:00
thecodrr
f14f329034 ci: do not compare snapshots 2021-07-07 12:46:24 +05:00
thecodrr
574fc935b2 ci: use @playwright/test 2021-07-07 12:46:20 +05:00
thecodrr
437f71a1a5 edits 2021-07-07 12:44:55 +05:00
thecodrr
99aaa76024 ci: run tests in parallel 2021-07-07 12:44:55 +05:00
thecodrr
22ae3583db ci: fix all tests on all browsers 2021-07-07 12:44:50 +05:00
thecodrr
da5fad2488 test: enable sequential tests 2020-12-03 15:04:45 +05:00
thecodrr
0df518b81e test: wait a little bit before checking for colored note 2020-12-03 14:24:25 +05:00
thecodrr
ef3904445b test: ignore snapshot size 2020-12-03 13:23:56 +05:00
thecodrr
ed5046ce1c fix: notes test should now pass 2020-12-01 12:56:09 +05:00
thecodrr
4602c72788 test: make unfavorite test pass 2020-09-29 15:44:07 +05:00
Abdullah Atta
c0a99427d9 test: setup E2E Tests (#161)
* test: intialize testing environment

* test: add an example test for reference

* test: add simple navigation test

* some initial tests

* some changes

* name and other small changes

* permanently delete a note

* permanenlt delete a note

* test: improve test readability

I have added different id builders for building test ids. They make the tests more readable and fluent.

* test lock a note

* test add a note to notebook

* test favorite a note

* test pin a note

* test: further improve test readability

basically I refactored some frequently performed actions into helper functions

* test: check for presence of toast

* test: properly test pinned note

* test: increase tests reliability

* test: fix all tests

* perf: load 2co script & fonts when needed

* ci: initialize e2e gh test runner

* ci: do not run npm ci

* test: fix lock note test for all browsers

* ci: fix playwright tests

* ci: fix yaml syntax error

* ci: no need to use custom ssh-agent action for eslint

* test: improve lock a note test

* ci: add GH_DEPLOY_KEY env in eslint.yml

* test: check for state: "visible" in isPresent

* test: do not check for toast in lock a note test

* test: log crypto error to console

* test: skip "lock a note" test for now until further investigation

* ci: only run tests on firefox & chromium

* fix: fix useMediaQuery for WebKit browsers

* ci: try webkit once again

* properties tests

* test tag a color /properties

* test: run some tests sequentially and independently

* test: reenable all tests

* fix: user only able to type on character in title box

* test: skip lock/unlock tests in CI

* test edit a notebook

* test: fix all tests

* test: fix and add more notebook tests

* test: do not only run edit topics test

* test: make sure all notes tests pass

* test: skip add note to notebook tests for now

* test: make sure all tests pass

Co-authored-by: alihamuh <alihamuh@gmail.com>
2020-09-28 14:31:45 +05:00