Commit Graph

352 Commits

Author SHA1 Message Date
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