Commit Graph

287 Commits

Author SHA1 Message Date
Valentina Novgorodtceva 0b2bcd2999 test: pin and unpin message test added 2024-01-26 12:50:53 +07:00
Valentina Novgorodtceva 30eba15010 chore: user data replaced and join community test fixed 2024-01-23 17:54:23 +03:00
Valentina Novgorodtceva 3cc46e5b7c chore: fixed join community test 2024-01-17 17:39:12 +07:00
Anastasiya Semenkevich 16cd947b1a chore: fix saved addresses on main wallet screen 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 a529dd04b7 test: test clicking category added 2024-01-15 16:07:59 +07:00
Anastasiya Semenkevich 6f9b8e5313 chore: replace methods of waiting views with methods of checking elements on these views
- added verify_account_popup_present() function
- added verify_profile_view_present() function
- added verify_emojihash_view_present()

Mostly done as an attempt to fix flaky navigation in new keys test. (see https://ci.status.im/job/status-desktop/job/e2e/job/prs/1136/allure/#suites/c48b221cdcfecf89e1eb75d0b8e79672/f41783642f763391/)

So the test clicks Next button twice and then thinks he is already on next screen when it is not. So i added a verification for Profile and Emoji screens that when we returning these views, we first check screen titles and if they are correct - then proceed further

Same function is added for Add Account popup earlier, i forgot to add a call for it

Uncomment the test of adding watch only address, related issue seems to be fixed
2024-01-12 15:54:26 +03:00
Valentina Novgorodtceva 72a8d9e396 chore: test_edit_community_channel fix 2024-01-12 15:17:57 +03:00
Valentina Novgorodtceva f8ee8f08bc chore: fixes for wallet tests 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 4db703f2b3 chore: fix saved addresses test according to new designs 2024-01-10 10:39:54 +03:00
Anastasiya Semenkevich 8321066a63 chore: combine tests for community screens to reduce total run time 2023-12-29 17:48:03 +03:00
Anastasiya Semenkevich 9ea888891c chore: add another verification which will take a bit of time so the UI wont be frozen 2023-12-29 16:42:34 +03:00
Anastasiya Semenkevich be835506fb chore: fix test for creating permissions 2023-12-29 11:47:48 +03:00
Valentina Novgorodtceva acdbdbe7f1 test: member role tests added 2023-12-28 15:37:02 +03:00
Valentina Novgorodtceva d941bc031a test: edit_community_category 2023-12-28 13:58:52 +03:00
Valentina Novgorodtceva e6d752ba4c chore: fix join community test according changes in UI 2023-12-28 13:58:22 +03:00
Anastasiya Semenkevich 55ebd85637 chore: change locator for InsertDetailsView 2023-12-27 17:42:34 +03:00
Anastasiya Semenkevich 81a7727f09 chore: replace is_visible 2023-12-23 11:02:58 +03:00
Anastasiya Semenkevich 1cc8807174 chore: replace waitFor with waitForObjectExists
There is a problem with is_visible method now, it is not raising any assertions in case it did not find any object, therefore i suspect it as a potential endless loop (always returns True it seems). I will try to fix that, however it is being used across all the framework so it takes time.

The main idea here is to get rid of endless loop and 15 minutes if waiting for nothing in this certain test
2023-12-22 16:52:55 +03:00
Anastasiya Semenkevich 0e96fd0e57 chore: add validation for emoji hash across screens 2023-12-21 23:10:47 +03:00
Anastasiya Semenkevich b59590aa1f chore: better init for online identifier 2023-12-21 23:10:47 +03:00
Anastasiya Semenkevich 3deeeda620 chore: add verification for identicon ring on the profile screen 2023-12-21 23:10:47 +03:00
Anastasiya Semenkevich 1d3994f720 chore: add smaller steps and asserts, rename method 2023-12-21 23:10:47 +03:00
Anastasiya Semenkevich 767f388b57 chore: raise exceptions when needed 2023-12-20 15:46:15 +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 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 Semiankevich a45de2c28e chore: add attempts to click Delete button and removed awaiting 2023-12-13 17:20:30 +03:00
Anastasiya Semiankevich 01382bd16e chore: fix community channel tests in test mode 2023-12-13 17:20:30 +03:00
Valentina Novgorodtceva 4f69111778 test: test_ens_name_purchase added 2023-12-12 10:43:20 +07:00
Valentina Novgorodtceva 53717439f7 chore: communities tests enabled and fixed, replaced image comparison 2023-12-12 10:40:39 +07:00
Anastasiya Semenkevich 6614475ddc chore: wait until appears removed 2023-12-11 18:31:08 +03:00
Anastasiya Semenkevich d953db7a31 chore: add attempts for clicking sign out button 2023-12-08 19:50:19 +03:00
Anastasiya Semenkevich 5a6d35fde2 chore: add attempts to click the cross button
1. test_toggle_testnet_toggle_on_and_close_the_confirmation fails now in nightly. I added attempts to click the cross button and removed wait_untll_appears (and related assert)
2023-12-08 19:50:19 +03:00
Valentina Novgorodtceva 5afb3b6811 test: tests create and remove community category added 2023-12-08 14:46:20 +07: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
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 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
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
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 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
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
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
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
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 294119c08a chore: squish waitFor method was customized (#272)
#262
2023-11-07 16:05:43 +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
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
Vladimir Druzhinin c7be5ef7bb chore: fix test_sync_device_during_onboarding (#240) 2023-11-01 10:19:05 +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
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 5ed7dbd9cf chore: add attempts for clicking networks and next buttons (#216) 2023-10-26 14:19:32 +03:00
Valentina1133 285715be97 Tests Manage Tokens screen overview and Manage Airdrops screen overview added (#210) 2023-10-26 09:15:00 +03:00
Anastasiya 6a3e27b5af chore: testnet switching tests updated (#212) 2023-10-25 18:44:19 +03:00
Vladimir Druzhinin 7a1bcedd30 Fix/167 communities (#207)
* Fix test_create_community

#167

* Setup cursor animation

#167

* Fix test_sync_device_during_onboarding

#167
2023-10-25 15:38:48 +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
Valentina1133 2da105f727 Test password strength (#203) 2023-10-25 14:43:06 +03:00
Anastasiya 8460e9f2c3 chore(@wallet_account_tests): add several verifications for wallet tests (#202) 2023-10-24 15:32:19 +03:00
Anastasiya 2258ecfd45 chore(@onboarding_test): add verification for wallet address (#201) 2023-10-23 18:43:17 +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 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 Semenkevich 081020dcd6 chore(@wallet_settings_tests): fix broken test after files decoupling 2023-10-17 18:57:59 +03:00
Anastasiya Semenkevich 44fc5adb9c chore(@tests): fix import 2023-10-16 10:27:46 +03:00
Anastasiya 48854c03ea chore(@gui files): split settings screen file to separate settings screens (as in UI) (#179) 2023-10-13 18:55:44 +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
Valentina1133 a4ab8a7a01 Negative scenario of signing in and logging in (#169)
Co-authored-by: Anastasiya <82375995+anastasiyaig@users.noreply.github.com>
2023-10-13 16:26:39 +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
Valentina1133 e3c750bf4d Tests Permissions (#152)
* Test Adding permissions

* Permissions overview test added
2023-10-11 19:00:17 +07:00
Valentina1133 74e1cab6bc Added type of selection of words with enter in seed phrase popup (#159) 2023-10-11 18:28:34 +07:00
Anastasiya Semenkevich 0b09050410 fix(@wallet_manage_accounts_test): fix test for watched address (#162)
* fix(@wallet_manage_accounts_test): fix test for watched address

* Start squish server on new port

---------

Co-authored-by: Vladimir Druzhinin <vlado@status.im>
2023-10-11 13:38:55 +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
Vladimir Druzhinin 0c63fc6f93 Ci/74 jenkins file (#142)
* OS native dialog replaced on Qt dialog

* Starting fluxbox added to make File Dialog visible
2023-10-06 10:33:42 +02:00
Anastasiya Semenkevich b9129b96af chore(@edit_network): add verifications for checkbox and error messages (#138) 2023-10-06 12:05:32 +06:00
Valentina1133 b25af97160 Negative scenario: wrong sync code (#139) 2023-10-06 10:17:13 +07:00
Valentina1133 326b74c6bb Group chat (#137) 2023-10-06 10:02:48 +07:00
Anastasiya Semenkevich cbc7d55259 tests(@wallet_settings): edit network (#127) 2023-10-04 16:46:17 +06:00
Vladimir Druzhinin 12ff7e2340 Fix failed tests for Mac (#128) 2023-10-02 11:21:12 +02:00
Vladimir Druzhinin fd7926f49f Fix multiple instances (#126) 2023-09-29 13:01:43 +02:00
Vladimir Druzhinin fd64142295 Ci/74 jenkins file (#118)
* Set up Jenkins file

#74

* Fix Allure trend

* Display resolution changed on CI

* TestRail integration

* Fix test on create community

* Fix wallet tests

* Fix field description in jenkinsfile

* Test name and test scope parameters were split in Jenkinsfile

* Clean up moved in post stage

* Environment variables set up changed in JenkinsFile

* Fix test ID

* Fix warnings in JenkinsFile

* Copy artifacts directory changed

* Fix of two space indentations in Jenkinsfile

* Extra environment variable removed

* Move tests wallet in one folder

---------

Co-authored-by: Valentina Novgorodtceva <valentina@status.im>
2023-09-28 14:44:13 +02:00
Valentina1133 62a32d9b37 Syncing - Sync device during onboarding (#120)
* Syncing - Sync device during onboarding
2023-09-28 13:45:49 +07:00
Anastasiya Semenkevich f94f0b66ed tests(@wallet_settings): add negative scenarios (#125) 2023-09-27 15:26:10 +03:00
Anastasiya Semenkevich b742ec0ee8 test(@wallet_settings): add account from wallet settings view (#121) 2023-09-25 11:39:22 +03:00
Vladimir Druzhinin 963a5c8ea6 Fix open_settings method (#122) 2023-09-22 19:02:50 +03:00
Valentina1133 45a701355a Settings - set name, bio and social links and backup seed phrase (#116) 2023-09-22 15:44:29 +07:00
Anastasiya Semenkevich 230fe2aa02 chore(@onborading): added several verifications (#117) 2023-09-22 06:58:45 +03:00
Anastasiya Semenkevich f5f94a70d4 chore(@wallet_settings): added verifications for back button and subtitle (#114)
Added back button field to NetworkWalletSettings class
Added subtitle field to NetworkWalletSettings class
Added step to verify the testnet subtitle
2023-09-20 17:18:00 +03:00
Valentina1133 bd07b1d0dd Profile settings - display name, states, change password (#112) 2023-09-20 18:35:56 +07:00
Valentina1133 181ee8f678 test(Wallet) Settings - account reordering not possible with 1 account (#109) 2023-09-19 15:59:31 +07:00
Vladimir Druzhinin e0b5b88199 Testnet mode and account order (#105)
Co-authored-by: Valentina Novgorodtceva <valentina@status.im>
2023-09-15 11:17:07 +07:00
Valentina1133 ccb2f3f50c test(Wallet) Manage seed phrase account(imported and generated) and k… (#103)
* test(Wallet) Manage seed phrase account(imported and generated) and keycard settings

* test(Wallet) Manage seed phrase account(imported and generated) and keycard settings

---------

Co-authored-by: Vladimir Druzhinin <vlado@status.im>
2023-09-14 10:52:27 +07:00
Vladimir Druzhinin 61b87e0d23 Fix start AUT 2023-09-13 09:47:51 +02:00
Vladimir Druzhinin 26b77dba45 Test(Community) Join community via owner invite
#96
2023-09-11 21:48:52 +02:00
Valentina1133 31f3e62d82 Test/97 wallet generated custom private key account (#12080)
* test(Wallet) Edit the default wallet account and Manage a watch-only account cases automated

* test(Wallet) Manage generated and custom generated account

* test(Wallet) Manage private key imported account
2023-09-07 11:13:38 +07:00
Valentina1133 f2482e3992 test(Wallet) Edit the default wallet account and Manage a watch-only account cases automated (#12070) 2023-09-05 13:22:44 +07:00
Vladimir Druzhinin 02ad676fdc Test/93 community channel (#12057)
* Test(Community) Create, edit community

#90

* Test(Community) Create, Edit and Delete Channel

#93

* Test(Fix) System dialog for local build fixed on Mac

#95

* Test(Fix) Typo

#93
2023-09-04 20:36:48 +02:00
Valentina1133 e56aac906f test(Wallet) Test Manage a saved address automated (#12034) 2023-09-01 18:18:04 +07:00
Vladimir Druzhinin 0d17fafb88 Test(Community) Create, edit community (#12021)
#90
2023-08-29 16:43:00 +02:00
Vladimir Druzhinin bfa7866cee test(Onboarding) Test on Import: 12 word seed phrase added
#86
2023-08-14 10:26:58 +03:00
Vladimir Druzhinin fe724ef186 Test(pytest) start aut (#11482)
* test(pytest) The driver methods added. Wrappers for UI elements added.

#67

* test(pytest) Squishserver added

#68

* test(pytest) Attach/Detach AUT methods added

#69

* test(pytest) Main window handler added

#70

* test(pytest) Save screenshot on fail added

#71

* test(pytest) Wait for squishserver added

#71

* test(pytest) Setup Windows

#71

* Generate new keys (#11804)

* test(pytest) Image comparison methods added

#76

* test(pytest) Tesseract methods added

#77

* test(pytest) The Methods to search color on image added

#80

* test(onboarding) Test on generation new keys added

#75

* test(pytest) Handlers for OS Native File dialog added

#81

* test(Onboarding) Test on Profile image added

#83

* Allure and TestRail integration (#11806)

* test(Allure) Steps descriptions added

#72

* test(TestRail) Integration

#72
2023-08-04 20:27:03 +02:00
Vladimir Druzhinin 13af133ab6 test(pytest) Import squish as a python module. (#11421)
#66
2023-07-10 17:55:10 +02:00