Commit Graph

48 Commits

Author SHA1 Message Date
moughxyz
2f07f7a3d1 test: refactor flakey test to use app context 2023-01-16 09:53:39 -06:00
Karol Sójko
854f1654d1 Revert "fix(snjs): missing deinit procedures in application tests"
This reverts commit 939012b2a1.
2023-01-16 15:46:46 +01:00
Karol Sójko
939012b2a1 fix(snjs): missing deinit procedures in application tests 2023-01-16 14:12:59 +01:00
Karol Sójko
5e6c901c21 feat: recovery codes UI (recovery sign in + get recovery codes) (#2139)
* feat(web): show recovery codes

* feat(web): add recovery sign in

* fix: copy

* fix: styles

* feat: add "copy to clipboard" button

* style: copy

* fix: copy button bg

* style: singularize recovery codes

* style: singularize recovery codes

* feat: password validation

Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
Co-authored-by: Mo <mo@standardnotes.com>
2023-01-10 21:33:44 +01:00
Karol Sójko
8deeae5a16 feat(snjs): add account recovery e2e test suite (#2134)
* feat(snjs): add account recovery e2e test suite

* fix(snjs): request params in account recovery tests

* fix(snjs): context password passing

* refactor: replace factory functions with context

Co-authored-by: Mo <mo@standardnotes.com>
2023-01-09 17:25:52 +01:00
Karol Sójko
be028ff87b feat(snjs): add sign in with recovery codes use case (#2130)
* feat(snjs): add sign in with recovery codes use case

* fix(snjs): code review adjustments

* fix(snjs): remove unnecessary exposed getter

* fix(services): waiting for event handling

* fix: preferences test

Co-authored-by: Mo <mo@standardnotes.com>
2023-01-09 06:52:56 +01:00
Mo
59fc68296b refactor: optimize delay between batches on mobile to allow UI interactivity during load (#2129) 2023-01-04 13:31:45 -06:00
Mo
3c332a35f6 feat: improve initial load performance on mobile (#2126) 2023-01-03 14:15:45 -06:00
Mo
a447fa1ad7 test: fix e2e testing setup 2023-01-03 11:00:12 -06:00
Karol Sójko
8311271a49 fix(snjs): skip workspaces tests as they are a pending backlog feature 2022-12-27 13:49:02 +01:00
Karol Sójko
dd41082e71 fix(snjs): add error log upon not being able to reach the mock event publisher 2022-12-27 10:48:55 +01:00
Karol Sójko
2696b07759 fix(api): handling expired token responses (#2113) 2022-12-21 14:22:20 +01:00
Karol Sójko
a1ec13d0b0 fix(snjs): skip subscriptions test suite until fixed 2022-12-19 15:52:32 +01:00
Karol Sójko
b8bf8ca112 fix(snjs): mark flaky subscription test as skipped until fixed 2022-12-19 14:23:34 +01:00
Karol Sójko
bb4f1ff099 fix(snjs): refreshing sessions (#2106)
* fix(snjs): refreshing sessions

* fix(snjs): bring back all tests

* fix(snjs): passing session tokens values

* fix(api): remove redundant specs

* fix(snjs): add projecting sessions to storage values

* fix(snjs): deps tree

* fix(snjs): bring back subscription tests

* fix(snjs): remove only tag for migration tests

* fix(snjs): session specs
2022-12-19 08:28:10 +01:00
Mo
c7b158eb64 ci(temp): skip subscription tests 2022-12-13 10:50:44 -06:00
Karol Sójko
cd8596b14e Revert "fix(snjs): add sleep intervals for subscription sharing tests"
This reverts commit 4e576d7526.
2022-12-13 06:39:23 +01:00
Karol Sójko
4e576d7526 fix(snjs): add sleep intervals for subscription sharing tests 2022-12-12 13:22:53 +01:00
Karol Sójko
81b5123294 fix(snjs): initial value of subscription ids on files test - run e2e 2022-11-24 19:14:07 +01:00
Karol Sójko
7a89a3cd9c fix(snjs): subscription id increments - run e2e 2022-11-24 19:06:04 +01:00
Karol Sójko
0fac2dd939 fix(snjs): decrease factory sleep in order to have a continuing session - run e2e 2022-11-24 17:03:37 +01:00
Karol Sójko
212e7843ec fix(snjs): remove extra sign in - run e2e 2022-11-24 16:56:08 +01:00
Karol Sójko
6bbf0c02bd fix(snjs): add additional sign in missing - run e2e 2022-11-24 16:40:24 +01:00
Karol Sójko
07e26915b0 fix: subscription expiring event 2022-11-24 15:59:57 +01:00
Karol Sójko
c40b17bd4c fix(snjs): factory timeout to propagate subscription purchase 2022-11-24 11:40:23 +01:00
Karol Sójko
99163d90d2 fix(snjs): wait timeout after subscription purchase 2022-11-23 18:00:29 +01:00
Karol Sójko
25cf4cfd22 fix(snjs): file subscriptions tests subscription assignment 2022-11-23 16:02:14 +01:00
Karol Sójko
e36a1ffea0 fix(snjs): adjust file bytes used expected 2022-11-23 15:28:33 +01:00
Karol Sójko
b05c793fe9 fix(snjs): remove unnecessary file uploaded event in tests 2022-11-23 15:04:04 +01:00
Karol Sójko
c45417623c fix(snjs): subscription events in tests 2022-11-23 13:59:52 +01:00
Mo
87f86693a6 fix(snjs): keep apply payload timestamp when using keep base conflict strategy (#2031) 2022-11-17 21:51:06 -06:00
Mo
fd170cfd0e chore: add retry to e2e test 2022-11-17 06:13:50 -06:00
Aman Harwara
a6ef658dae feat: prioritize loading latest selected items (#1930) 2022-11-03 00:11:17 +05:30
Mo
2b66ff82ee refactor: note editor relationships (#1821) 2022-10-18 08:59:24 -05:00
Karol Sójko
3f7d4a4cd9 feat: add workspaces workflow e2e tests (#1810)
* feat: add workspaces workflow e2e tests

* fix: collection finding data for assertions
2022-10-17 15:07:30 +02:00
Mo
18c821d8eb feat: replace private workspaces with private usernames (#1783) 2022-10-12 13:52:34 -05:00
Aman Harwara
e3f28421ff feat: item linking (#1779) 2022-10-11 23:54:00 +05:30
Aman Harwara
27d2c95b5b fix: dark mode not working in editors (#1773) 2022-10-10 21:47:57 +05:30
Mo
cbbe913cd6 feat: experimental 005 operator (#1753) 2022-10-06 11:03:43 -05:00
Mo
6c26b96cdc fix(mobile): passcode timing options (#1744) 2022-10-05 10:08:54 -05:00
Mo
d7a90c4d91 refactor: add pkc fields for registration endpoint (#1680) 2022-09-29 09:13:05 -05:00
Karol Sójko
5ffffbff20 feat(snjs): add e2e test for subsequent subscriptions settings persistance 2022-09-29 15:11:44 +02:00
Karol Sójko
33226000f5 fix(snjs): increase wait time in retrieving settings test for processing replaceable settings 2022-09-29 11:30:36 +02:00
Mo
c5e225d335 fix: move wrapped storage to unwrapped if not encrypted (#1603) 2022-09-20 12:18:00 -05:00
Karol Sójko
038320b2fd fix(snjs): pass unencrypted file size to comply with file service interface (#1595) 2022-09-19 14:36:53 +02:00
Karol Sójko
55b1409a80 feat: add subscription manager to handle subscription sharing (#1517)
* feat: add subscription manager to handle subscription sharing

* fix(services): add missing methods to the interface

* fix(services): add subscription manager specs

* feat(snjs): add subscriptions e2e tests

* fix(snjs): add wait in subscription cancelling test

* fix(snjs): checking for canceled invitations in tests

* fix(snjs): add e2e test for restored limit of subscription invitations

* chore(lint): fix linter issues
2022-09-13 10:28:11 +02:00
Karol Sójko
3e4e7fd0e0 feat: add building of SNJS Docker image for e2e testing purposes (#1225)
* feat: add building of SNJS Docker image for e2e testing purposes

* fix: contents of snjs package

* feat: add running e2e test suite

* fix: include mocha directory in the snjs yarn package

* fix: add triggering e2e tests with specific image tag

* fix: mocha tests url

* fix: add tests before publishing new version

* fix: temporary skip linter errors

* Revert "fix: temporary skip linter errors"

This reverts commit c989536930a291677f6ef8cad402feb13f066b8c.

* fix: replace test libraries with unpkg CDN versions

* fix: update yarn lock and remove cached libs

* fix: add missing library to mocha tests

* fix: restore chai-as-promised built version

* fix: serving sncrypto-web in mocha test suite

* fix: add copy of sncrypto-web to gitignore files
2022-07-08 11:36:12 +02:00
Karol Sójko
0e40469e2f feat: add snjs package 2022-07-06 14:04:30 +02:00