Commit Graph

27 Commits

Author SHA1 Message Date
thecodrr
df9fe90d62 chore: migrate to @notesnook/crypto package 2022-02-02 10:39:09 +05:00
thecodrr
df18f4afaf chore: add script to transform github issues to changelog 2021-12-18 11:11:17 +05:00
thecodrr
3b96cef16a chore: add script to build all packages 2021-10-15 11:16:16 +05:00
thecodrr
e9780306c7 test: remove timeout from login test 2021-09-13 11:08:28 +05:00
thecodrr
e2eca47daf test: kill previous server instances before start 2021-07-17 08:26:28 +05:00
thecodrr
8679dbed62 ci: improve test runner script 2021-07-09 01:17:08 +05:00
thecodrr
ef2a83c575 ci: properly kill react-server on tests complete 2021-07-08 13:23:39 +05:00
thecodrr
6a6b1aebe4 ci: ignore args when running tests 2021-07-07 14:22:49 +05:00
thecodrr
7d265db894 tests: use zx for running tests 2021-07-07 14:09:51 +05:00
thecodrr
0bf11e881d ci: pass testRunner exit code when exiting script 2021-07-07 12:46:24 +05:00
thecodrr
574fc935b2 ci: use @playwright/test 2021-07-07 12:46:20 +05:00
thecodrr
49e9def5b5 chore: remove all desktop packaging from web app 2021-07-07 00:59:49 +05:00
thecodrr
d7c46614cb chore: exclude .map & .txt files during deployment 2021-05-28 21:27:59 +05:00
thecodrr
ca81051f5b chore: remove gh token from script 2021-05-28 21:27:59 +05:00
thecodrr
3eb2a52fd5 chore: set gh token for mac electron-builder 2021-05-28 21:27:59 +05:00
thecodrr
6ef11183f1 chore: add mac electron build script 2021-05-28 21:27:59 +05:00
thecodrr
f43d6fee3c feat: improve electron app build 2021-05-28 21:26:11 +05:00
thecodrr
99f3582f68 chore: do not delete old assets on deploy 2021-05-28 21:26:11 +05:00
thecodrr
9eb5f37cf7 ci: use simple http for fetching notes-core 2021-05-28 21:25:35 +05:00
thecodrr
7d6c6e3387 ci: use node version 12 again 2021-05-28 21:25:35 +05:00
thecodrr
e574ac364d revert: use id_rsa again 2021-05-28 21:25:35 +05:00
thecodrr
a13597984a ci: use ed25519 ssh key 2021-05-28 21:25:35 +05:00
thecodrr
ebd655e0ae chore: make ready for deployment 2021-01-04 12:28:54 +05:00
thecodrr
77231d8b53 ci: echo deploy key for debugging 2020-12-02 20:03:45 +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
thecodrr
3fe29c3dd1 ci: fix deployment to vercel 2020-09-07 10:05:04 +05:00
Abdullah Atta
f89e6a8c2e ci: add ZEIT deployment (#120)
* ci: init zeit now

* add now.json

* add ssh key

* execute script

* add preinstall command

* use sh to execute script

* check

* add env var
2020-03-10 13:06:04 +05:00