Commit Graph

36 Commits

Author SHA1 Message Date
thecodrr
ac7d43f48d ci: disable build ci 2020-12-08 10:43:04 +05:00
thecodrr
babeac04df ci: disable e2e ci testing 2020-12-08 10:39:54 +05:00
thecodrr
5bf422a48d ci: make deploy faster 2020-12-03 14:26:05 +05:00
Abdullah Atta
22ddd24b8f ci: fix ci (#162)
* Update build.yml

* ci: update

* ci: upgrade to use vercel-action
2020-12-02 20:45:51 +05:00
thecodrr
cbe9fcc40a ci: use action env 2020-12-02 19:55:36 +05:00
thecodrr
7e422e9e4f ci: do not use env 2020-12-01 12:57:08 +05:00
Abdullah Atta
f12c5b99dd ci: do not use env 2020-11-30 14:32:28 +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
Abdullah Atta
f0f209e1f6 ci: use script/ci.sh to handle ssh keys 2020-04-20 12:06:02 +05:00
Abdullah Atta
f9310f9cd3 ci: use script/ci.sh to handle ssh keys 2020-04-20 12:04:20 +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
Abdullah Atta
52c0887458 ci: add build action (#118) 2020-03-10 10:16:46 +05:00
Abdullah Atta
a4f77c331e ci: add deploy action (#117) 2020-03-09 21:28:16 +05:00
Abdullah Atta
91570ca86e ci: linting using reviewdog (#116) 2020-03-09 20:07:47 +05:00
Abdullah Atta
852668191f Update eslint.yml 2020-03-09 19:33:25 +05:00
Abdullah Atta
f829eb39c8 Update eslint.yml 2020-03-09 19:31:02 +05:00
Abdullah Atta
bac8e4bc2a Update eslint.yml 2020-03-09 19:23:00 +05:00
Abdullah Atta
faa2bd6be5 Update eslint.yml 2020-03-09 19:19:35 +05:00
Abdullah Atta
3ef1d3c17c Update eslint.yml 2020-03-09 19:11:41 +05:00
Abdullah Atta
9ef20df56b Update eslint.yml 2020-03-09 19:08:51 +05:00
Abdullah Atta
907a0f0621 Update eslint.yml 2020-03-09 19:02:41 +05:00
Abdullah Atta
1a76857c22 ci: add eslint checker (#113)
* Update eslint.yml

* Update eslint.yml

* ssh url

* url

* Update eslint.yml

* uurl

* Update eslint.yml

* Update eslint.yml

* Update eslint.yml

* Update eslint.yml

* Update eslint.yml

* Update eslint.yml

* Update eslint.yml

* Update eslint.yml
2020-03-09 18:40:59 +05:00
Abdullah Atta
a4ce2ae284 Update eslint.yml 2020-03-09 17:52:12 +05:00
Abdullah Atta
d74554fbd7 Update eslint.yml 2020-03-09 17:43:06 +05:00
Abdullah Atta
b11677c3d1 Update eslint.yml 2020-03-09 17:42:06 +05:00
Abdullah Atta
3e68dd9a54 Update eslint.yml 2020-03-09 17:35:37 +05:00
Abdullah Atta
51534a8f34 Update eslint.yml 2020-03-09 17:31:53 +05:00
Abdullah Atta
e06c2581fc Update eslint.yml 2020-03-09 17:30:13 +05:00
Abdullah Atta
5c783d139c Update eslint.yml 2020-03-09 17:23:36 +05:00
thecodrr
025a4f64f9 ci: remove 2020-03-09 17:16:36 +05:00
Abdullah Atta
9d141c117a Update eslint.yml 2020-03-09 17:15:23 +05:00
thecodrr
1fcb11ac83 ci: testing 2020-03-09 15:38:18 +05:00
thecodrr
0b9705e98e ci: testing 2020-03-09 15:36:31 +05:00
Abdullah Atta
2a569afa2f Update eslint.yml 2020-03-09 15:26:21 +05:00
Abdullah Atta
95836897d3 Update eslint.yml 2020-03-09 15:21:11 +05:00
Abdullah Atta
a162cbde99 Create eslint.yml 2020-03-09 15:17:58 +05:00