session-desktop/app
Audric Ackermann 9ddda73ca2
Integration tests (#975)
* add first integration test Session

Checking window title
Checking window count
Can restore from seed

* FIXME torevert once found why this crash on app close

* [test] add join valid open group test

* [test] validate cannot join two times the same open group

* [test] move common things to common.js

* [test] move tests to separate files

* [test] clean

* [test] add send message to open group test

* [test] lint

* [test] rename hooks -> common

* [test] add 15s delay before considering test as slow

* upgrade electron 8.0.3 and spectron 10.0.0

* [test] signin from seed: validate pubkey

* Replace spellchecker in favor of typo-js

* [test] refactor common calls to common.js

* [test] add two different pubkey, mnemonic and displayname

* [test] FIXME unsafe eval needed for now

* [test] add: add friends test

* [test] working multi instance tests

* [test] FIXME disable snodeproxy

* [test] update yarn.lock

* [test] make tests more robust with restart from scratch each test

* [test] add link of two devices test and hard rm of apps before start (rm -r)

* remove unused file

* [test] lint

* [test] add registration from generated pubkey test

* [test] add beginning of network stub

* [test] stub "token" endpoint

* [test] add test of one message on pub group pull

* [test] add starting port randomize. looks to help for some bad start with multi instance

* [test] add stub for one to one chats (sessions)

* [test] clean code

* [test] finish add friend test and stub snode server

* [test] stub calls during link device test

* [test] add a flag to show some logs on stubbed snode

* [test] finish link of two device test. check both pubkey matches

* [test] add and use function to wrap erase+start+login+stub app

* [test] add method to login as friend and closed group test&messages

* Revert "[test] FIXME unsafe eval needed for now"

This reverts commit de5322fdae6cdab8e3b9bd9a52b7d172c9bc2d26.

* [test] apply review

* [test] fix lint

* [test] fix existing test with new spectron version

* [test] fix lint

* [test] refactor page objects

* [test] add delete account test

* [test] add unlink of two device test

* [test] make tiny waitForExists -> isExisting

* [test] add checks of link new device buttons

* upgrade fs-extra@9.0.0

* address pr review

* [test] fix spell_check test

Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
2020-03-25 11:42:53 +11:00
..
.eslintrc.js Use window.log in browser context, turn on console eslint rule 2018-07-21 14:52:43 -07:00
attachment_channel.js Re-enable orphaned attachment cleanup 2018-08-15 17:45:24 -07:00
attachments.js Eliminate orphaned external message files on startup 2018-08-06 18:08:10 -07:00
base_config.d.ts Lint 2020-03-10 14:30:24 +11:00
base_config.js Merge signal changes into branch. 2018-11-07 15:26:37 +11:00
config.js Allow start-prod and start-prod-multi so launch in production (mainnet) mode 2019-08-05 14:34:16 +10:00
ephemeral_config.js Merge signal changes into branch. 2018-11-07 15:26:37 +11:00
global_errors.js Update sqlcipher to 4.2.0. 2020-03-04 09:52:14 +11:00
locale.js Let's make it all pretty, shall we? 2018-05-02 13:40:57 -07:00
logging.js If logs are malformed on startup, delete them all and start over 2019-03-12 17:44:14 -07:00
menu.js disable menubar by default and remove old preferences from menubar 2020-01-22 15:52:43 +11:00
password_util.js Changed registration to be a 2 step process. 2019-04-04 11:09:50 +11:00
permissions.js Permissions: 'return callback(true)' instead of 'return true' 2018-07-12 14:52:34 -07:00
profile_images.js Added JazzIcon 2019-09-05 15:24:58 +10:00
protocol_filter.js Windows: Return real path, not lowercase path 2019-04-10 13:57:27 -07:00
sql.js Update sqlcipher to 4.2.0. 2020-03-04 09:52:14 +11:00
sql_channel.js Integration tests (#975) 2020-03-25 11:42:53 +11:00
tray_icon.js Partial Merge commit 'bf904ddd129ceba8fa363ccf6d10ecd256c65f63' into signal-1.23 2019-04-17 13:47:17 +10:00
user_config.d.ts Lint 2020-03-10 14:30:24 +11:00
user_config.js Changed development folder to 'Loki-Messenger-Development` instead of 'Signal-Development' 2019-01-29 13:13:37 +11:00
window_state.d.ts Download and install updates without the help of electron-updater 2019-04-05 17:18:37 -07:00
window_state.js Clean logs on start - and eslint/mocha with code coverage (#1945) 2018-01-08 13:19:25 -08:00