Commit Graph

662 Commits

Author SHA1 Message Date
Anastasiya Semenkevich 7994739d04 chore: add random user attributes usage where possible 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 0ec1ddbdb0 chore: get rid of hardcoded values in 1x1 chat 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 9f0dc4bf8f chore: comment out tests to fix them later 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 9962d3580a chore: update 1x1 chat as well to use new method 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 1963553f39 chore: fix missing dot validation for display name 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 65dd9c542f chore: remove parametrization where it is not in use in fact 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 33251f2bfe chore: remove data usage for syncing test as we actually dont need it there and it was not working anyway 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 2a7d76bc78 chore: rename method in other places 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 9f73f5f393 chore: data for pin test 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 40ef7b0f51 chore: remove hardcoded values 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich f46152d07d chore: use proper data in test 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 4e2799f84f chore: add DBs for users (they are in contacts of each other) 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich cb4f422798 chore: add group_chat_user_3 account data 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 3245337f97 chore: add group_chat_user_2 account data 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 728cdef249 chore: add group_chat_user_1 account data 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 2858abeb98 add missing parameter, renamed function, removed super() from aut class (no parent exists) 2024-03-29 09:17:39 +03:00
Valentina Novgorodtceva bdeb0f6c3d chore: removed isFrozen 2024-03-29 09:00:38 +03:00
Anastasiya Semenkevich aaa7ff1dd4 chore: remove unnecessary step according to new designs 2024-03-26 12:50:17 +03:00
Anastasiya Semenkevich 241847a8b3 chore: replace links 2024-03-25 16:54:02 +03:00
Valentina Novgorodtceva 9da35aa9e7 test: assets sorting test added 2024-03-25 16:54:02 +03:00
Anastasiya Semenkevich ace8618b20 chore: change test section 2024-03-25 12:30:03 +03:00
Valentina Novgorodtceva 4098056468 chore: stabilised test (hopefully) 2024-03-25 12:30:03 +03:00
Valentina Novgorodtceva 684943adb8 chore: updated object name after changes in PR for object names 2024-03-25 12:30:03 +03:00
Valentina Novgorodtceva 0e83bfcb31 test: 1-1 chat, send reply, send emoji, edit, delete and cannot delete other member message 2024-03-25 12:30:03 +03:00
Anastasiya Semenkevich 31b895f1d0 сhore: attempt to fix endless waiting time in category and accounts tests 2024-03-22 21:33:44 +03:00
Valentina Novgorodtceva 7482a8f8d9 chore: isFrozen verification added to method click 2024-03-21 11:53:11 +03:00
Anastasiya Semenkevich aba501f025 chore: add missing marks and enabled profile edit test 2024-03-21 09:11:58 +03:00
Anastasiya Semenkevich fc33d7986e chore: enable tests
enable ens test because bug is fixed
bring back import seed test to critical path
bring back edit community test to critical path
2024-03-20 14:33:10 +03:00
Valentina Novgorodtceva ca44ce7915 chore: updated reference because there is a bug 2024-03-20 13:43:55 +03:00
Valentina Novgorodtceva 89387e9306 chore: skip test_member_role_cannot_add_edit_or_delete_category 2024-03-20 13:43:55 +03:00
Anastasiya Semenkevich 2121e89ef0 chore: switch off the test again to make the release 2.27 finally green 2024-03-19 08:44:16 +03:00
Anastasiya Semenkevich 0a8d8b4a97 chore: bring the test back 2024-03-18 18:45:20 +03:00
Valentina Novgorodtceva e8348661a0 chore: save changes locators updated 2024-03-18 10:18:52 +03:00
Anastasiya Semenkevich fa349e7762 chore: temp remove import seed test from suite to make release green 2024-03-15 16:20:12 +03:00
Anastasiya Semenkevich 7776869131 Update aut.py 2024-03-15 15:41:46 +03:00
Anastasiya Semenkevich e80774ccce chore: remove click from Button class 2024-03-14 17:37:50 +03:00
Anastasiya Semenkevich fb2133af86 chore: fix saved addresses test 2024-03-14 17:37:50 +03:00
Valentina Novgorodtceva 65ff9998b6 chore: skipped verification of toast message for now 2024-03-14 16:17:21 +03:00
Valentina Novgorodtceva 15b31601a3 chore: verify 1-1 chat creation 2024-03-14 16:17:21 +03:00
Valentina Novgorodtceva 70233330e5 chore: disabled test ens_name_purchase because of bug 2024-03-14 14:16:28 +03:00
Valentina Novgorodtceva 2c03f8b29a chore: test switch state to offline, online or automatic updated 2024-03-13 11:54:05 +03:00
Valentina Novgorodtceva 3174dc9f96 chore: enable ens name purchase test 2024-03-13 11:09:36 +03:00
Anastasiya Semenkevich 0f7c5821bc chore: fix edit profile test itself and added reference 2024-03-13 11:07:52 +03:00
Valentina Novgorodtceva a1e4591bc4 chore: attach logs for failed test and remove squish config from allure 2024-03-12 15:20:07 +03:00
Anastasiya Semenkevich 0150a0889a chore: enable for editing profile
Revert "chore: enable for editing profile"

This reverts commit 9f4448200a527cbfc45412aab4da5e37a29781d9.

Revert "Revert "chore: enable for editing profile""

This reverts commit 2cc997b65ea4bd65d251421f217ae15d7e9fa8b9.
2024-03-12 10:40:30 +03:00
Valentina Novgorodtceva 0d7c52c15e chore: replaced a method for toast message verification 2024-03-11 13:44:35 +03:00
Anastasiya Semenkevich 39445afd89 chore: screenshot on fail improved 2024-03-07 17:54:27 +03:00
Anastasiya Semenkevich 0848301498 chore: better dirs naming 2024-03-07 17:54:27 +03:00
Anastasiya Semenkevich 40530954db chore: do not remove logs after run 2024-03-07 17:54:27 +03:00
Valentina Novgorodtceva 4dc232e9d0 chore: object name added for status switch 2024-03-07 17:42:20 +03:00
Anastasiya Semenkevich 5b53e91f73 chore: replace references with dev task 2024-03-07 16:09:28 +03:00
Anastasiya Semenkevich adff1be5f5 chore: change validations for edit profile form 2024-03-07 16:09:28 +03:00
Anastasiya Semenkevich ac2c3fb55f chore: skip edit tests because of bug 2024-03-06 20:45:58 +03:00
Anastasiya Semenkevich 53979c9598 chore: change ticket reference and remove xfail mark 2024-03-06 15:08:48 +03:00
Valentina Novgorodtceva 8ea10c5bba chore: updated reference, new bug for ens name purchase 2024-03-06 14:25:14 +03:00
Valentina Novgorodtceva ee9c88130d chore: removed skip mark with bug reference (bug is closed) 2024-03-06 14:25:14 +03:00
Valentina Novgorodtceva 6a2bbe1904 chore: enabled login_with_wrong_password test 2024-03-06 14:25:14 +03:00
Anastasiya Semenkevich 385c7cf803 chore: reference in template is changed 2024-03-06 09:07:02 +03:00
Anastasiya Semenkevich abe87955a4 chore: improve the reference 2024-03-06 09:07:02 +03:00
Valentina Novgorodtceva c584d2ecdb chore: disabled toast messages verification for now, will be enabled in another task 2024-03-05 12:39:41 +03:00
Valentina Novgorodtceva 94753b9fc2 chore: fails fixed 2024-03-05 12:39:41 +03:00
Valentina Novgorodtceva 3ad918c561 chore: refactored pin and unpin message test, joined with join community test 2024-03-04 18:28:15 +03:00
Anastasiya Semenkevich b5e16807ea chore: added 2 attempts when clicking add buttons during permission creation and replaced id by object name 2024-03-04 18:07:10 +03:00
Valentina Novgorodtceva d0fc8ddc3d chore: replaced locator for account item, refactored method using index and added index in tests 2024-03-04 15:19:48 +03:00
Anastasiya Semenkevich 2117675172 chore: account reference for status account 2024-03-04 15:19:48 +03:00
Anastasiya Semenkevich dd2a2f132c chore: rerun failures enabled 2024-03-01 12:51:51 +03:00
Anastasiya Semenkevich 53f0fd1fa0 chore: general updates 2024-03-01 12:51:51 +03:00
Anastasiya Semenkevich 206e3da026 chore: change the datadir parameter 2024-03-01 12:51:51 +03:00
Anastasiya Semenkevich 0cacdade71 chore: permission test is flaky again 2024-02-29 19:48:34 +03:00
Anastasiya Semenkevich dc4346f1fd chore: increase more timeout for password test 2024-02-29 19:28:18 +03:00
Anastasiya Semenkevich 62ec470ab1 chore: update bug reference 2024-02-29 15:09:54 +03:00
Anastasiya Semenkevich 4821025802 chore: remove community edit test from critical path 2024-02-29 13:23:10 +03:00
Anastasiya Semenkevich f7b975ec17 chore: comment out password strength test and other minor updates 2024-02-29 13:23:10 +03:00
Anastasiya Semenkevich bc18f06367 chore: update timeouts for change password 2024-02-28 17:28:05 +03:00
Anastasiya Semenkevich 872ddf45dd chore: remove verifications for toast messages 2024-02-28 17:28:05 +03:00
Anastasiya Semenkevich 99716937f4 chore: fix reference in permission test 2024-02-28 17:28:05 +03:00
Anastasiya Semenkevich da7f01eec2 Update aut.py 2024-02-28 14:35:29 +03:00
Valentina Novgorodtceva 2fc228732e chore: verifications of dots in password field commented for now 2024-02-28 14:20:01 +03:00
Valentina Novgorodtceva ca6e8f12c1 chore: test_login_with_wrong_password skipped because of bug for now 2024-02-28 14:20:01 +03:00
Valentina Novgorodtceva ab3a46dc74 chore: removed verification that channel is selected (I did it in branch but let's do this for master to increase stability) 2024-02-28 14:20:01 +03:00
Valentina Novgorodtceva 838b91f03e chore: closing build showcase popup added 2024-02-28 14:20:01 +03:00
Valentina Novgorodtceva d793b3108c chore: fixed dots for password 2024-02-28 14:20:01 +03:00
Valentina Novgorodtceva 9d8a7dfbcc chore: skipping testrail report added if getting testrail error 2024-02-28 11:33:39 +03:00
Anastasiya Semenkevich 6bbdff0691 chore: add import seed test to critical suite for now 2024-02-28 10:42:40 +03:00
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 68de453760 chore: fix validations for members role community channel test 2024-02-27 12:55:14 +03:00
Anastasiya Semenkevich 7d6a681b74 ci: remove redundant env var 2024-02-26 13:52:20 +03:00
Anastasiya Semenkevich 37b2a065d9 chore: replace UI references 2024-02-26 13:52:20 +03:00
Anastasiya Semenkevich 9e22191ecd chore: fix network namings 2024-02-26 13:03:37 +03:00
Valentina Novgorodtceva 29142551cd chore: changed to sepolia 2024-02-26 10:55:05 +03:00
Valentina Novgorodtceva 08c851158e chore: ids changed for networks 2024-02-26 10:55:05 +03:00
Anastasiya Semenkevich 86d5537db6 chore: remove channel test from critical path for now
https://github.com/status-im/desktop-qa-automation/issues/535
2024-02-22 13:52:15 +03:00
Anastasiya Semenkevich 2bf83be9db chore: replace 1 community test with channels test in critical suite 2024-02-21 17:05:40 +03:00
Valentina Novgorodtceva a43e3bee2f chore: channels tests updated 2024-02-21 17:05:40 +03:00
Anastasiya Semenkevich 572a072e9f chore: fix edit test 2024-02-21 14:10:54 +03:00
Valentina Novgorodtceva 10bf994f39 chore: increased timeout for device synced 2024-02-21 10:34:32 +03:00
Valentina Novgorodtceva 688e619bdd chore: fixed locator for save changes button 2024-02-21 10:34:32 +03:00
Valentina Novgorodtceva ab8c1783e1 chore: category tests updated + created separate object maps for communities and messaging 2024-02-20 15:07:54 +03:00
Anastasiya Semenkevich 9a28b7b68c Revert "ci: test these changes with the nix build"
This reverts commit 801831949e50977f28ea5a0a533ffbf820df745c.
2024-02-20 12:48:33 +03:00
Anastasiya Semenkevich b383edaa1a ci: test these changes with the nix build 2024-02-20 12:48:33 +03:00
Anastasiya Semenkevich cf4547f5dd chore: trying to force the cycle work 2024-02-20 12:48:33 +03:00
Anastasiya Semenkevich f868d2c1de chore; try to fix connection refused error 2024-02-20 12:48:33 +03:00
Valentina Novgorodtceva cbd27f87cd chore: changed create community method in all community tests 2024-02-20 11:33:41 +03:00
Valentina Novgorodtceva 0f90508113 chore: create community test updated 2024-02-20 11:33:41 +03:00
Valentina Novgorodtceva 1081d9768e chore: marked xfail permissions test (bug), fixed messaging and sign up with wrong name 2024-02-19 15:28:05 +03:00
Anastasiya Semenkevich b309456a33 chore: combine 2 tests to save time 2024-02-19 11:13:44 +03:00
Anastasiya Semenkevich 24b2650872 chore: temp remove 1 permission test from critical suite because it is failing 2024-02-16 15:50:41 +03:00
Valentina Novgorodtceva 828946b9fb chore: changed test case id 2024-02-16 14:44:30 +03:00
Valentina Novgorodtceva 72c721af04 chore: attempt to fix AttributeError: Attempt to access a property of a null object 2024-02-16 14:44:30 +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 6608ceb019 chore: update critical path with adding 2 generated accounts with restart 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
Valentina Novgorodtceva 774916db18 chore: fixes of fails from nightly run (seed phrase + group chat) 2024-02-15 11:25:52 +03:00
Anastasiya Semenkevich d339629d59 chore: small changes to wallet settings tests 2024-02-15 10:37:53 +03:00
Jakub Sokołowski bad9bbfc39 ci: add Discord notifiction on failure
Depends on: https://github.com/status-im/status-jenkins-lib/pull/83

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-14 16:16:21 +01:00
Valentina Novgorodtceva a962014c58 chore: removed extra locator for save changes button and changed to the actual one in a couple of tests 2024-02-14 13:20:00 +03:00
Valentina Novgorodtceva 6823b1f5e2 chore: changed a way we access object locators in object map 2024-02-14 13:20:00 +03:00
Anastasiya Semenkevich e27bc01626 chore: added edit community test to critical path 2024-02-14 10:36:21 +03:00
Anastasiya Semenkevich 47f8297d87 chore: do not use file upload dialog for community creation and edit 2024-02-14 10:36:21 +03:00
Anastasiya Semenkevich 47e835e266 chore: added marks so tests could be ran by single mark 2024-02-14 10:36:21 +03:00
Anastasiya Semenkevich dda3e60793 chore: skip overkill test 2024-02-14 10:36:21 +03:00
Anastasiya Semenkevich 73b8037cee chore: replace locator for save changes button in community edit 2024-02-13 18:29:00 +03:00
Valentina Novgorodtceva 6a9f43c74e chore: categories and environment section added to allure report 2024-02-13 18:29:25 +07: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
Anastasiya Semenkevich 6132398b06 chore: fix settings references 2024-02-10 19:56:48 +03:00
Anastasiya Semenkevich a008164210 chore: fix syncing 2024-02-10 19:56:48 +03:00
Anastasiya Semenkevich 5d079ea01b chore: fix delete account from settings 2024-02-10 19:56:48 +03:00
Anastasiya Semenkevich eed9457a0f chore: fix sign out and quit 2024-02-10 19:56:48 +03:00
Anastasiya Semenkevich f5d188bec5 chore: fix back up seed test 2024-02-10 19:56:48 +03:00
Anastasiya Semenkevich e8023ca198 chore: fix some references to test rail 2024-02-09 13:34:58 +03:00
Valentina Novgorodtceva 2113b49863 test: test remove member if admin added 2024-02-09 13:06:40 +03:00
Valentina Novgorodtceva aa29339272 chore: fixes for edit profile test 2024-02-09 13:00:26 +03:00
Valentina Novgorodtceva b32bed058f chore: skipped tests and added more asserts 2024-02-09 12:52:45 +03:00
Anastasiya Semenkevich 2c22faa780 chore: reduce the critical set because of file dialog issue on release CI
https://github.com/status-im/status-desktop/issues/13483
2024-02-08 20:34:48 +03:00
Valentina Novgorodtceva 579cfb4f02 chore: fix for edit status account test 2024-02-08 10:26:12 +03:00
Valentina Novgorodtceva e4e520bc6b chore: added attempts for opening more options menu 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 0e26b834fc chore: fix for failed tests and enabling some tests after bug fix 2024-02-02 14:46:43 +03:00
Anastasiya Semenkevich fa40ce940c chore: update test with accounts with custom derivation paths 2024-02-02 14:22:18 +03:00
Valentina Novgorodtceva 472aeed2e7 chore: disabled one test because of bug and one because it's need to be fixed (tomorrow) 2024-02-01 13:49:05 +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
Valentina Novgorodtceva 0861b64af2 chore: fix for edit_community_channel test 2024-01-30 12:28:02 +07:00
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
Anastasiya Semenkevich b73346200b chore: increase process timeout for 10 seconds 2024-01-23 10:06:21 +03: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 7b188afd3e chore: enable tests back 2024-01-23 10:06:21 +03:00
Anastasiya Semenkevich a6589cd0a2 chore: temp remove adding ens name as saved address 2024-01-23 10:06:21 +03:00
Anastasiya Semenkevich 71d2520653 chore: bring back assert and remove reference (issue is fixed) 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 3cc46e5b7c chore: fixed join community test 2024-01-17 17:39:12 +07:00
Valentina Novgorodtceva e0656e2775 chore: messaging tests enabled back 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
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 a529dd04b7 test: test clicking category added 2024-01-15 16:07:59 +07:00
Valentina Novgorodtceva 1d09ffba48 chore: reporting test to 2 different test cases in Testrail 2024-01-15 16:07:26 +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 c7757a4bee chore: marked several tests with xfail mark because of bug with contact requests 2024-01-12 15:17:57 +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 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 4db703f2b3 chore: fix saved addresses test according to new designs 2024-01-10 10:39:54 +03:00
Anastasiya Semenkevich 234974ac44 chore: toast messages verifications 2024-01-10 10:39:54 +03:00
Anastasiya Semenkevich 8c38cb1616 chore: update error message
Error message has been changed in ff9062a1b0 (diff-4ac30c280b7ceca7b505ab0551b9e009295aae3147253c43ae8821e9d6c0ed69R682)
2024-01-09 16:03:31 +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 Semiankevich 1356df4838 chore: add timeout for group chat 2023-12-27 11:44:01 +03:00
Anastasiya Semenkevich fe4325b5e1 chore: introduce timeout mark and update requirements 2023-12-26 19:14:36 +03:00
Anton Iakimov fa5a0cbfb2 ci: remove debug 2023-12-25 13:07:09 +01:00
Anastasiya Semenkevich 81a7727f09 chore: replace is_visible 2023-12-23 11:02:58 +03:00
Anton Iakimov 4e13916d89 ci: set TEST_SCOPE_FLAG conditionally on JOB_NAME 2023-12-22 20:39:02 +03:00
Anastasiya Semenkevich b791930546 chore: fix syncing test and move it to critical suite 2023-12-22 19:13:41 +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 838c916fc2 chore: added random selection of pictures (diff types) 2023-12-21 23:10:47 +03:00
Anastasiya Semenkevich f31ffc21f5 chore: add randomisation for password 2023-12-21 23:10:47 +03:00
Anastasiya Semenkevich 875e8869b5 chore: add randomisation for display name generation 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 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 767f388b57 chore: raise exceptions when needed 2023-12-20 15:46:15 +03:00
Anastasiya Semenkevich a75d09fc5d chore: disable join community test until it is fixed 2023-12-19 14:24:50 +03:00
Anastasiya Semenkevich 099a199e1f ci: run critical tests by default 2023-12-18 16:22: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
Anastasiya Semenkevich f5f7734769 chore: update readme 2023-12-14 10:45:45 +03:00
Magnus 706e60ca0c Add priority pytest marks 2023-12-13 17:53:24 +03:00
Magnus e982cfe389 Introduce priority pytest marks 2023-12-13 17:53:24 +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 Semiankevich a45de2c28e chore: add attempts to click Delete button and removed awaiting 2023-12-13 17:20:30 +03:00
Anastasiya Semiankevich 87bcc83717 chore: skip Send test (https://github.com/status-im/status-desktop/issues/12987) 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
Anastasiya Semenkevich bce460abf8 chore: test test mode 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
Valentina Novgorodtceva eeaba5822d chore: test_join_community was separated from others 2023-12-12 10:40:39 +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
Magnus dd60992b22 speed up password strength indicator tests 2023-12-11 12:20:36 +03:00
Anastasiya Semenkevich 49ccfc5b8f chore: remove restart from import seed phrase
perhaps it was put there by mistake. we dont need the app restart in this test
2023-12-08 19:50:19 +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
Anastasiya Semenkevich 0ce2a1abb3 chore: skip add account and restart test because of bug
https://github.com/status-im/status-desktop/issues/12973
2023-12-08 19:50:19 +03:00
Anastasiya Semenkevich 92bb9d1bcc chore: skip sync test because of bug
https://github.com/status-im/status-desktop/issues/12972
2023-12-08 19:50:19 +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
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