Valentina Novgorodtceva
5afb3b6811
test: tests create and remove community category added
2023-12-08 14:46:20 +07:00
Jakub Sokołowski
124f482d31
feat(aut): wait for AUT comms port to become available
...
This avoids issues on slower systems where `startaut` does not have the
port ready when the `squishserver` tries to connect to it, resulting in:
```
Warning: Could not connect to attachable AUT at localhost:61500: Connection refused
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-07 10:28:57 +01:00
Valentina Novgorodtceva
ea7089dedc
chore: container for search text edit field changed
2023-12-07 16:24:38 +07:00
Valentina Novgorodtceva
7e967e286c
test: test_wallet_send_0_eth added
2023-12-07 16:24:38 +07:00
Valentina Novgorodtceva
fa48dad825
test: test_wallet_send_0_eth added
2023-12-07 16:24:38 +07:00
Anastasiya Semenkevich
2ad53d7599
chore: increase timeout for logout up to 10 seconds
2023-12-07 09:38:47 +03:00
Anastasiya Semenkevich
4214103a6a
chore: enable back balance test
2023-12-07 09:38:47 +03:00
Jakub Sokołowski
2fab5ca720
chore(ci): remove obsolete desktop-e2e-old CI label
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-06 15:03:15 +01:00
Jakub Sokołowski
6418fcd6c6
feat(conftest): set log level using LOG_LEVEL env var
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-05 23:31:44 +01:00
Jakub Sokołowski
920b54e94c
chore(all) rename _logger to LOG to match refactor
...
Related to:
https://github.com/status-im/desktop-qa-automation/pull/352
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-05 22:56:49 +01:00
Jakub Sokołowski
c00707cdd8
chore(conftest): improve log format for pytest.log
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-05 22:56:48 +01:00
Anastasiya Semenkevich
ae0b9d4d55
chore: remove unnecessary assert, timeout should do its job
2023-12-05 16:54:29 +03:00
Anastasiya
c2ac1db048
chore: add timeout and assert for the sign out test ( #361 )
2023-12-04 18:23:49 +03:00
Valentina1133
4500d0fb1d
chore: removed skip mark from syncing and messaging tests, these tests are passing now ( #360 )
2023-12-04 14:18:06 +03:00
Anastasiya
eb45281f2d
chore: change Squish version and disable flaky tests ( #359 )
...
* chore: use newer squish
* chore: test tests with squish 7.2.1
2023-12-01 22:04:11 +03:00
Jakub Sokołowski
255f88fbb0
chore(all): rename _logger to LOG to match changes
...
Some of them were renamed in:
https://github.com/status-im/desktop-qa-automation/pull/352
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:58:22 +01:00
Jakub Sokołowski
76c04968fe
feat(ci): add LOG_LEVEL parameter for Jenkins jobs
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:57:36 +01:00
Jakub Sokołowski
8351ae80ca
fix(logs): send logs to a single file
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:54 +01:00
Jakub Sokołowski
7eab188b32
feat(all): logging to files for drivers and fixtures
...
Otherwise it's very hard to debug anything at all.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:53 +01:00
Jakub Sokołowski
ca984fa7a0
chore(testrail): refactor init_testrail_api
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:52 +01:00
Jakub Sokołowski
1d1a0b7d44
feat(configs): add assert for SQUISH_DIR env var
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:52 +01:00
Jakub Sokołowski
128ae59d72
choer(driver): consistent formatting of server flags
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:51 +01:00
Jakub Sokołowski
9ae8173a0b
fix(driver): drop retries from AUT launch method
...
The retries are just adding complexity and not helping.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:50 +01:00
Jakub Sokołowski
861af374cd
feat(ci): archive AUT logs generated by tests
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:49 +01:00
Jakub Sokołowski
47f7a092b0
feat(driver): redirect AUT logs to files
...
Send application logs to `aut_stdout.log` and `aut_stderr.log` files.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:48 +01:00
Jakub Sokołowski
5d8d7aaa39
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
bbc81717ce
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
6c91ebef11
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
eec2e382d8
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
fc665cf5ec
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
917a4bfde1
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
81fe247d5a
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
c112b0492b
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
05ad2ebadb
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
2a9d8a4c29
chore: fix sign out test ( #353 )
2023-12-01 07:32:44 +03:00
Anastasiya
1232ff5ba8
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
0d85a8e1de
chore: comment out messaging tests because of bug
2023-11-28 17:10:38 +03:00
Valentina1133
44c3af82e5
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
848fca521d
chore: commented steps for toast message verification in accept request test ( #345 )
2023-11-28 15:22:49 +03:00
Valentina1133
f94f176bd3
test: test_messaging_settings accepting and rejecting request added ( #336 )
2023-11-27 14:44:42 +04:00
Valentina1133
7db3e94a96
test: test_cancel_setup_syncing added ( #334 )
2023-11-27 14:44:30 +04:00
Valentina1133
50ada60385
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
b74ba4f7eb
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
85b0aa1509
chore: update jenkins config ( #326 )
2023-11-20 23:43:09 +03:00
Anastasiya
bfa8000591
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
8c933e75bd
test: test_unlock_keycard with correct and incorrect PUK added ( #312 )
2023-11-17 17:54:57 +03:00
Valentina1133
fc2e6c3287
chore: keycard_tests fixes ( #318 )
2023-11-17 17:54:44 +03:00
Anastasiya
d7908775f0
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
5eeac9226a
chore: Fix create community test ( #315 )
2023-11-17 12:36:59 +03:00
Vladimir Druzhinin
62bf869602
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
41d431c136
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
5be0364ec4
chore: test_create_keycard_account_with_new_seed_phrase improved ( #307 )
2023-11-16 13:48:04 +03:00
Anastasiya
a8d6cd6382
chore: add env variable ( #310 )
2023-11-16 12:05:39 +03:00
Valentina1133
f0dd365dcc
test: test_factory_reset_keycard and test_factory_reset_keycard_incorrect_pin added ( #303 )
2023-11-15 19:28:11 +03:00
Vladimir Druzhinin
78733d8d9d
chore: Revert getattr ( #304 )
...
Co-authored-by: vlado@status.im <Vladimir Druzhinin>
2023-11-15 11:42:17 +03:00
Vladimir Druzhinin
ecd9067551
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
34add5b08e
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
7d4356b5c5
chore: image verifications added to keycard tests ( #297 )
2023-11-13 13:46:48 +03:00
Jakub Sokołowski
d44a4b9968
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
1dd73a0f92
test: test_check_whats_on_keycard added ( #294 )
2023-11-10 16:30:47 +01:00
Anastasiya
828b7fc02e
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
3587f94106
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
4d6c90acb3
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
9d2b9b547e
chore: managing accounts tests are having the toast verification for deletion ( #286 )
2023-11-10 15:59:17 +03:00
Valentina1133
7358849af2
test: test_setup_keycard_with_existing_account added ( #282 )
2023-11-10 12:34:49 +01:00
Valentina1133
026d0ebb06
test: test_import_restore_keycard_via_seed_phrase added ( #258 )
2023-11-08 15:33:16 +01:00
Jakub Sokołowski
5902bbbeee
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
29b78cc12e
chore: Create screenshot of multiple instances on test fail ( #273 )
...
#271
2023-11-07 18:26:07 +01:00
Vladimir Druzhinin
a5f5fe530b
chore: Mock keycard option added in test ( #268 )
...
#256
2023-11-07 17:39:47 +01:00
Vladimir Druzhinin
294119c08a
chore: squish waitFor method was customized ( #272 )
...
#262
2023-11-07 16:05:43 +01:00
Jakub Sokołowski
791ff10114
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
4a181ccf4c
chore: Mock keycard option added in start AUT ( #261 )
...
#260
2023-11-06 12:31:34 +01:00
Anastasiya Semenkevich
87b472e997
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
7ade33be7a
chore: image comparison replaced with other verifications ( #251 )
2023-11-03 17:33:13 +01:00
Vladimir Druzhinin
dbf485f669
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
Anastasiya
950b9dfa8a
Chore: improve emoji popup and syncing settings option selection ( #253 )
...
* chore: emoji popup for wallet account has verification for popup is hidden
* chore: add one more attempt to open syncing screen
2023-11-02 19:07:12 +03:00
Valentina1133
f402140d2f
test: test_create_keycard_account_with_new_seed_phrase added ( #236 )
2023-11-02 14:51:38 +01:00
Anastasiya
4dd9afe437
test: test_wallet_main_can_add_account_after_restart implemented ( #239 )
2023-11-01 16:58:38 +03:00
Anastasiya Semenkevich
733ab546ab
chore: change a reason for group chat test to skip
2023-11-01 10:57:15 +03:00
Vladimir Druzhinin
c7be5ef7bb
chore: fix test_sync_device_during_onboarding ( #240 )
2023-11-01 10:19:05 +03:00
Vladimir Druzhinin
46e77e14e9
Chore/display ( #234 )
...
* Using the name of the display from CI in grabbing screenshots
#233
* Test fail
2023-10-31 17:59:27 +03:00
Anastasiya
0f41c2c3cf
chore: improve reference for a popup in account deletion test ( #237 )
2023-10-31 17:59:07 +03:00
Vladimir Druzhinin
1b9a246d9a
chore: Extra logs added for UI Elements ( #235 )
...
#232
2023-10-31 11:53:49 +01:00
Anastasiya
5ff9b196c6
chore: add attempts to click on Next button for onboarding ( #231 )
2023-10-31 11:34:02 +03:00
Anastasiya
076e93d4d6
chore: saved_address test improved ( #230 )
2023-10-30 13:00:34 +03:00
Anastasiya
5f7c6c1fbf
chore: enable test_onboarding_syncing.py ( #229 )
2023-10-30 12:43:56 +03:00
Valentina1133
87819e0eb5
test: test_sign_out_and_quit added ( #224 )
2023-10-30 09:59:01 +01:00
Anastasiya
9661e9d247
test: test_delete_generated_account_from_wallet_settings implemented ( #226 )
...
Update test_wallet_settings_acct_interactions_delete_account.py
2023-10-30 09:58:45 +03:00
Jakub Sokołowski
b25cbb5ce3
ci: handle nightly build naming better
...
Nightly builds just don't provide enough info in the path itself.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-27 16:45:30 +02:00
Vladimir Druzhinin
0219df1eba
chore: Improve AUT methods ( #223 )
...
- Close and Detach methods are merged
- Saving pid in Aut changed to close after AttachError
- Collect all pid that use port
2023-10-27 13:44:45 +02:00
Anastasiya
5b693667b6
chore: verification for toast message, test decopling ( #222 )
...
- added toast message verification when adding account
- decoupled test for watch only account
2023-10-27 10:00:07 +03:00
Vladimir Druzhinin
df95604257
chore: failed tests in wallet skipped ( #221 )
2023-10-26 15:24:40 +03:00
Vladimir Druzhinin
63f0818bcd
chore: skip failed tests in onboarding ( #219 )
2023-10-26 15:09:06 +03:00
Anastasiya
5ed7dbd9cf
chore: add attempts for clicking networks and next buttons ( #216 )
2023-10-26 14:19:32 +03:00
Jakub Sokołowski
fa939e2cf7
ci: set short build name and better description ( #217 )
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-26 14:18:33 +03:00
Vladimir Druzhinin
898cfda832
chore: Detach and close AUT on Attach Error added ( #214 )
2023-10-26 12:57:06 +02:00
Valentina1133
285715be97
Tests Manage Tokens screen overview and Manage Airdrops screen overview added ( #210 )
2023-10-26 09:15:00 +03:00
Anastasiya
f6e9f41311
chore: disable community test for a while ( #213 )
2023-10-25 20:41:52 +03:00
Anastasiya
6a3e27b5af
chore: testnet switching tests updated ( #212 )
2023-10-25 18:44:19 +03:00
Vladimir Druzhinin
36de304675
test_sync_device_during_onboarding skipped ( #211 )
...
#167
2023-10-25 16:11:44 +02:00