Jakub Sokołowski
c5b5ac3c0a
fix(all): rename APP_DIR to AUT_PATH to reflect purpose
...
The name APP_DIR suggests the path is a directory, but it's not.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:47 +01:00
Jakub Sokołowski
1d5ca2dc7b
fix(all): refactor killing processes and waiting
...
* Use `psutils.pid_exists()` instead of iterating processes for no reason.
* Drop use of recursion which is completely unnecessarily complex. Use loop.
* Remove checking of `returncode` right away after process starts, it's too soon.
* Lower `PROCESS_TIMEOUT_SEC` to 5 seconds to avoid needless delays.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:46 +01:00
Jakub Sokołowski
5032ed01d4
feat(driver): add squish.ini config file to repo
...
Creating it by calling `squishserver` is a waste of time.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:45 +01:00
Jakub Sokołowski
d84af0fb5a
feat(driver): wait for Squish server port to listen
...
Doing silly retries is just not reliable, this is.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:44 +01:00
Jakub Sokołowski
a3ddc6c08d
fix(driver): killing process using pid not port number
...
* Drop unnecessary killing of processes by port, we have the PID.
* Split `stop()` method into `_detach_context()` and `_kill_process()`.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:43 +01:00
Jakub Sokołowski
3efd1dcc4d
fix(driver): remove pointless ATTACH_MODE config value
...
Removing `ATTACH_MODE` since as far as I can tell it's always `true`.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:42 +01:00
Jakub Sokołowski
a1e8c04aa3
feat(gitignore): add .venv folder to .gitignore
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:41 +01:00
Anastasiya
0b8ad5df90
chore: reorganise wallet tests ( #355 )
...
* chore: reorganise wallet tests
* chore: enable wallet tests that have parametrization
2023-12-01 15:56:57 +03:00
Jakub Sokołowski
d9a8e68639
fix: remove windows carrige returns from files
...
Drives me crazy.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 10:00:56 +03:00
Anastasiya
f195ab90e4
chore: fix sign out test ( #353 )
2023-12-01 07:32:44 +03:00
Anastasiya
a1f1977bf2
Disable wallet tests and syncing test ( #351 )
...
* chore: skip wallets tests temp
Possible reason: https://github.com/status-im/status-desktop/issues/12914 is causing crashes, which we don't yet identify as crashes
* chore: skip syncing test temp
https://github.com/status-im/desktop-qa-automation/issues/350
2023-11-30 14:27:35 +03:00
Anastasiya Semenkevich
6f22ff6f80
chore: comment out messaging tests because of bug
2023-11-28 17:10:38 +03:00
Valentina1133
47d70565d5
Test/test settings messaging identity verification ( #341 )
...
* test: test_messaging_settings_identity_verification added
* chore: skipped test_settings_include_in_total_balance
2023-11-28 15:26:05 +03:00
Valentina1133
b7f79a5d75
chore: commented steps for toast message verification in accept request test ( #345 )
2023-11-28 15:22:49 +03:00
Valentina1133
7efea5191f
test: test_messaging_settings accepting and rejecting request added ( #336 )
2023-11-27 14:44:42 +04:00
Valentina1133
9accca2b36
test: test_cancel_setup_syncing added ( #334 )
2023-11-27 14:44:30 +04:00
Valentina1133
d7c4378e6b
Chore/onboarding tests ( #331 )
...
* chore: added clicking on back button and checking correct views appear during onboarding
* chore: click clear button on profile view and checking field is empty added
* chore: show and hide password verifications added to test_check_password_strength_and_login
2023-11-27 14:44:08 +04:00
Anastasiya
5691004e55
chore: stabilise test ( #333 )
...
* chore: fix testnet toggle test and total balace wallet test
* chore: increase timeout for syncing test
* chore: disable test mode and remove keycard hide steps
2023-11-22 13:42:26 +03:00
Anastasiya
3923e9d7f0
chore: update jenkins config ( #326 )
2023-11-20 23:43:09 +03:00
Anastasiya
98454cd7e8
chore: make the verification of banner conditional in back up seed phrase test ( #321 )
...
We don't have banners when running the app in test mode. I added condition to check the test mode and verify banner when not in test mode, otherwise skip
2023-11-20 16:06:02 +03:00
Valentina1133
de0f30d09e
test: test_unlock_keycard with correct and incorrect PUK added ( #312 )
2023-11-17 17:54:57 +03:00
Valentina1133
867d9c7467
chore: keycard_tests fixes ( #318 )
2023-11-17 17:54:44 +03:00
Anastasiya
e6c5443d3d
chore: several changes for wallet settings tests ( #317 )
...
* chore: fix several wallet tests
* disable account ordering because of bug
* remove test self as not needed anymore
* add log level
* click the revert button 2 times
2023-11-17 17:27:51 +03:00
Vladimir Druzhinin
a67646ec99
chore: Fix create community test ( #315 )
2023-11-17 12:36:59 +03:00
Vladimir Druzhinin
a9af83fda4
Chore/key card handler ( #314 )
...
* chore: fix seed phrase test and edit status account test
* chore: change the locator for profile layout
* chore: close Keycard Controller
---------
Co-authored-by: Anastasiya Semenkevich <anastasija.ig@gmail.com>
2023-11-17 08:53:17 +03:00
Anastasiya
98ecaea67c
chore: add object names to beta consent popup and test mode env variable condition ( #308 )
...
* chore: add object names to beta popup
* chore: add check for env variable
2023-11-16 13:48:17 +03:00
Valentina1133
b72846e8b3
chore: test_create_keycard_account_with_new_seed_phrase improved ( #307 )
2023-11-16 13:48:04 +03:00
Anastasiya
0609eff86f
chore: add env variable ( #310 )
2023-11-16 12:05:39 +03:00
Valentina1133
420f3872b1
test: test_factory_reset_keycard and test_factory_reset_keycard_incorrect_pin added ( #303 )
2023-11-15 19:28:11 +03:00
Vladimir Druzhinin
96190f3593
chore: Revert getattr ( #304 )
...
Co-authored-by: vlado@status.im <Vladimir Druzhinin>
2023-11-15 11:42:17 +03:00
Vladimir Druzhinin
a1f405164e
chore: Dependence on Jenkins Job name removed in TestRail configs ( #287 )
...
#276
Co-authored-by: vlado@status.im <Vladimir Druzhinin>
2023-11-15 11:42:02 +03:00
Anastasiya
ddcbae155b
chore: add waiting condition for total balance test so it is not failing on CI ( #299 )
2023-11-13 16:42:55 +03:00
Valentina1133
9491e0b28f
chore: image verifications added to keycard tests ( #297 )
2023-11-13 13:46:48 +03:00
Jakub Sokołowski
1ab9c878e9
ci: don't run on agents with desktop-e2e-old label ( #298 )
...
A temporary attempt to debug apparent delays possibly caused by running
both old and new e2e tests on the same host.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-13 12:29:47 +03:00
Valentina1133
3f65549e98
test: test_check_whats_on_keycard added ( #294 )
2023-11-10 16:30:47 +01:00
Anastasiya
ae39ba0fcf
Test: exclude from total balance ( #288 )
...
* chore: added verification for keypair name in status account and added steps
* test: test to check total balance for watched addresses added
* chore: added verification for keypair name in status account and added steps
* test: test to check total balance for watched addresses added
* review addressed
2023-11-10 18:04:49 +03:00
Jakub Sokołowski
4e306fed06
ci: don't call startsWith on a null
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-10 14:57:46 +01:00
Jakub Sokołowski
fcc423849b
ci: fix filename parsing, add sane fallback ( #296 )
...
Depends on:
https://github.com/status-im/status-jenkins-lib/pull/79
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-10 16:00:52 +03:00
Anastasiya
c198bad7eb
chore: managing accounts tests are having the toast verification for deletion ( #286 )
2023-11-10 15:59:17 +03:00
Valentina1133
ab40f7198f
test: test_setup_keycard_with_existing_account added ( #282 )
2023-11-10 12:34:49 +01:00
Valentina1133
0480243cd4
test: test_import_restore_keycard_via_seed_phrase added ( #258 )
2023-11-08 15:33:16 +01:00
Jakub Sokołowski
a014e3d797
ci: improve build names and descriptions
...
Currently the logic is a bit messy and results are not great.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-08 14:52:44 +01:00
Vladimir Druzhinin
2e7d110fd3
chore: Create screenshot of multiple instances on test fail ( #273 )
...
#271
2023-11-07 18:26:07 +01:00
Vladimir Druzhinin
b35b2d5e7c
chore: Mock keycard option added in test ( #268 )
...
#256
2023-11-07 17:39:47 +01:00
Vladimir Druzhinin
3ec67fda26
chore: squish waitFor method was customized ( #272 )
...
#262
2023-11-07 16:05:43 +01:00
Jakub Sokołowski
c9ca683324
ci: default to using nightly build for QA PR builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-07 14:30:03 +01:00
Vladimir Druzhinin
8ac0133de0
chore: Mock keycard option added in start AUT ( #261 )
...
#260
2023-11-06 12:31:34 +01:00
Anastasiya Semenkevich
24e9a11544
chore: add watched address is now standalone
...
Move the Add watched address to a separate file
Added a small verification to origin option selected
Removed steps with deletion as i plan to cover differently
The delete functionality is still being checked in another test
Added a verification for authentication button is not available for adding of watched addresses
2023-11-03 20:39:40 +03:00
Valentina1133
9414c15086
chore: image comparison replaced with other verifications ( #251 )
2023-11-03 17:33:13 +01:00
Vladimir Druzhinin
0f475fcea8
chore: add reporting of nightly results to test rail ( #228 )
...
* chore: Rerun failed test added
* chore: Create Test Run in TestRail if it not exists
#227
2023-11-02 17:08:22 +01:00