Commit Graph

145 Commits

Author SHA1 Message Date
Anastasiya Semenkevich 7e139e27ae chore: remove flaky mark from change password test
- removed the flaky mark from change password test
- increased timeout for 30 seconds just now (i communicated that to be enough)

We need this test to show actual result , because we missed https://github.com/status-im/status-desktop/issues/13748 because of this
2024-02-28 10:42:40 +03:00
Anastasiya Semenkevich 9e22191ecd chore: fix network namings 2024-02-26 13:03:37 +03:00
Anastasiya Semenkevich b309456a33 chore: combine 2 tests to save time 2024-02-19 11:13:44 +03:00
Valentina Novgorodtceva 9b11caf5a2 test: updated permission test with editing and deleting 2024-02-16 14:44:30 +03:00
Anastasiya Semenkevich af5c5a7650 chore: remove change password test from critical path 2024-02-16 10:10:59 +03:00
Anastasiya Semenkevich 1fc44f5e3d chore: replace file dialog interactions with direct function 2024-02-16 10:10:59 +03:00
Anastasiya Semenkevich d339629d59 chore: small changes to wallet settings tests 2024-02-15 10:37:53 +03:00
Anastasiya Semenkevich 5d4a6d631d chore: mark change password test as xfail again 2024-02-12 17:26:20 +03:00
Valentina Novgorodtceva 6f84fe7c08 chore: fixes for fails from nightly run 2024-02-12 10:27:31 +03:00
Anastasiya Semenkevich 299a702e33 chore: change password test fixed 2024-02-10 19:56:48 +03:00
Valentina Novgorodtceva 579cfb4f02 chore: fix for edit status account test 2024-02-08 10:26:12 +03:00
Anastasiya Semenkevich 9334508711 chore: align wallet tests with test rail 2024-02-05 07:39:10 +03:00
Valentina Novgorodtceva ace7e27fc3 chore: enabling tests with contact requests 2024-01-31 16:04:14 +03:00
Valentina Novgorodtceva 17a3f06e32 chore: disabled tests with contact requests because it's broken 2024-01-30 12:28:02 +07:00
Anastasiya Semenkevich e2f2a34a8b Increase timeout for wait_for_port
Following up Squish advise:

In the wait_for_port.py, you are using socket.create_connection() where the timeout is set to 1.
Could you increase the timeout here and also put a check before to make sure that port is not in the use anymore, before proceeding to launch the AUT.
2024-01-23 10:06:21 +03:00
Anastasiya Semenkevich a9427fc15b chore: disable tests because of broken contact requests
Contact requests are dead again in status.prod fleet
Ticket logged: https://github.com/status-im/status-desktop/issues/13246
2024-01-19 11:08:54 +03:00
Valentina Novgorodtceva e0656e2775 chore: messaging tests enabled back 2024-01-17 17:39:12 +07:00
Anastasiya Semenkevich 2a5684a2f7 chore: fix references for test cases in test rail (remove experimental stuff) 2024-01-17 13:22:30 +03:00
Valentina Novgorodtceva a467cbf9f9 chore: test edit network fixed 2024-01-16 15:26:18 +07:00
Valentina Novgorodtceva f2721bc0b1 chore: fixes for saved addresses tests, edit network tests disabled for now 2024-01-16 14:42:27 +07:00
Valentina Novgorodtceva 1d09ffba48 chore: reporting test to 2 different test cases in Testrail 2024-01-15 16:07:26 +07:00
Valentina Novgorodtceva c7757a4bee chore: marked several tests with xfail mark because of bug with contact requests 2024-01-12 15:17:57 +03:00
Anastasiya Semenkevich e45da2c9b6 test: adding test for ability to add saved address from wallet settings 2024-01-11 17:49:36 +03:00
Anastasiya Semenkevich 7b1e303156 chore: add multiple references for tests 2024-01-10 18:17:38 +03:00
Anastasiya Semenkevich 0cdadf063e chore: remove change password test from critical suite
Remove `@pytest.critical` mark from `test_settings_profile_change_password.py`. The test is timing out very often now (addressed in https://github.com/status-im/status-desktop/issues/13013)

This test will be still executed in nightly runs
2024-01-10 11:56:50 +03:00
Anastasiya Semenkevich fe4325b5e1 chore: introduce timeout mark and update requirements 2023-12-26 19:14:36 +03:00
Anastasiya Semenkevich 1d3994f720 chore: add smaller steps and asserts, rename method 2023-12-21 23:10:47 +03:00
Anastasiya Semenkevich ba3626e017 chore: update marks and readMe file
Fixes https://github.com/status-im/desktop-qa-automation/issues/391

1. replaced all the skip marks for tests that are linked to status-desktop tickets to xfail
2. updated readme to explain marks
2023-12-20 17:38:27 +03:00
Anastasiya Semenkevich 8b65d1ca43 chore: mark password change test as flaky
Reason: https://github.com/status-im/status-desktop/issues/13013
2023-12-18 11:52:57 +03:00
Anastasiya Semenkevich 0edf28f14d chore: add asserts for change password test 2023-12-18 11:52:57 +03:00
Anastasiya Semenkevich caef79d2ee chore: select tests to run against PRs
Selected a few to run by critical mark in PRs
2023-12-18 11:52:57 +03:00
Anastasiya Semenkevich 467f65ac1a chore: introduce flaky mark
A “flaky” test is a test that usually pass but sometimes it fails.
If a flaky test pass it will be reported normally as test succeed. If the test fails, instead of being reported as failure it will be reported as a xfail.
2023-12-15 16:07:13 +03:00
Magnus b900ee72d6 set up pytest marks for different sections of the app 2023-12-13 17:53:24 +03:00
Anastasiya Semiankevich 8fe9b4731c chore: move the TEST MODE back off for now and add some more fixes 2023-12-13 17:20:30 +03:00
Anastasiya Semiankevich 0573a1ea29 chore: fix delete account test according new designs 2023-12-13 17:20:30 +03:00
Anastasiya Semiankevich 4f73e0eb52 chore: refactor edit account test a bit 2023-12-13 17:20:30 +03:00
Anastasiya Semenkevich 427682f143 chore: skip ENS name test because of bug
https://github.com/status-im/status-desktop/issues/12988
2023-12-12 14:29:41 +03:00
Anastasiya Semenkevich d91eae246e chore: skip balance test because of cryptocompare API limit
I logged https://github.com/status-im/status-desktop/issues/12987 which has some details
2023-12-12 14:29:41 +03:00
Valentina Novgorodtceva 4f69111778 test: test_ens_name_purchase added 2023-12-12 10:43:20 +07:00
Anastasiya Semenkevich 6614475ddc chore: wait until appears removed 2023-12-11 18:31:08 +03:00
Anastasiya Semenkevich b8202244b3 chore: extend the limit for balance to appear up to 10 seconds 2023-12-08 19:50:19 +03: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
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 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
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
Anastasiya 2a9d8a4c29 chore: fix sign out test (#353) 2023-12-01 07:32:44 +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
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 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 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
Valentina1133 5be0364ec4 chore: test_create_keycard_account_with_new_seed_phrase improved (#307) 2023-11-16 13:48:04 +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
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
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
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
Vladimir Druzhinin a5f5fe530b chore: Mock keycard option added in test (#268)
#256
2023-11-07 17:39:47 +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
Valentina1133 f402140d2f test: test_create_keycard_account_with_new_seed_phrase added (#236) 2023-11-02 14:51:38 +01: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
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
Anastasiya 6a3e27b5af chore: testnet switching tests updated (#212) 2023-10-25 18:44:19 +03:00
Valentina1133 923c9d6284 Fixed get toast messages method (#209) 2023-10-25 15:34:00 +03:00
Anastasiya 5f94f36a35 chore(@wallet_account_tests): add several verifications for wallet tests (#205)
- added methods to check values for details
- improve test for status account so it has more verifications
- clean up for add account test
- added object name for toast message
2023-10-25 15:33:18 +03:00
Anastasiya 3c897508cb chore(@main_window): add attempts for button click (#198) 2023-10-20 20:54:04 +03:00
Anastasiya 22501517e4 chore(@edit_account_test): add verification for delete button (#196) 2023-10-20 13:06:07 +03:00
Anastasiya e4d548a1ca chore(@wallet_settings_tests): enable back account ordering (#194) 2023-10-19 18:20:36 +03:00
Anastasiya d659cbd980 test(@wallet_settings): add test for editing status default account from wallet settings (#191) 2023-10-19 16:56:33 +03:00
Anastasiya 733ccdfd92 chore(@back_up_seed_test): improve validations (#189) 2023-10-18 15:34:11 +03:00
Anastasiya 71c0550611 chore(@edit_network_test): get rid of 1x1 comparison (#176) 2023-10-13 17:49:44 +03:00
Anastasiya c088e03ed5 chore(@test_wallet_edit_network): test both tabs (#173) 2023-10-13 16:41:09 +03:00
Anastasiya 6fce607b61 fix(@wallet_edit_network): adjust to new designs (#172) 2023-10-12 19:28:04 +03:00
Anastasiya Semenkevich cdb8635220 test for editing network fixed and disabled with new bug (#168) 2023-10-12 09:25:49 +03:00
Anastasiya Semenkevich 2013b784db chore(@tests): disable broken tests temporarily 2023-10-11 16:25:49 +03:00
Vladimir Druzhinin e292a0d347 Fix/147 test sync device (#157)
* Code was formatted with pep8 recommendations

* Fix attaching squish server config
2023-10-09 19:04:29 +02:00
Anastasiya Semenkevich 227e20512d fix(@tests): fixing flaky tests (#156) 2023-10-09 20:01:13 +03:00
Anastasiya Semenkevich d59ddbe28a fix(@settings_profile): fixed change password and edit tests (#148) 2023-10-06 19:02:26 +06:00
Anastasiya Semenkevich b0c4f0e9a4 chore: tests ordering and tesseract removal (#145) 2023-10-06 17:32:08 +06:00