Commit Graph

940 Commits

Author SHA1 Message Date
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
Alexandra Betouni 480985ca4e
[Settings]: Added change password view (#13284)
* [Settings]: Added change password view

Closes #10037

Adding configuration options to PasswordView

* feat(ChangePassword): Integrate ConfirmChangePasswordModal

1. Integrate with backend
2. Clean unused components

* feat: Add support to restart application

1. Adding restart app support in DOtherSide
2. Integrating nimqml
3. Expose in qml in Utils

* chore: Move changeDatabasePassword call to threadpool

* chore(squish): Fix failing tests due to settings index changes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-02-09 13:31:37 +02: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 92c58d9cbf fix locator 2024-02-07 10:39:18 +01: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
Stefan 40396dcf6f test(wallet) add dev integration tests for incremental activity updates
Test used to investigate the deadlock caused by sending message while
in a message handler.
2024-02-01 21:21:13 +01: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
Michal Iskierko 0a18dda176 feat(@desktop/chat): Displaying new type of chat message - bridge message
Show discord user as a message sender.
Show discord avatar next to user name.
Show "Bridged from Discord" label.
Open adjusted profile context menu.

Issue #13098
2024-01-30 13:06:17 +01: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
Godfrain Jacques ab61784816
(fix/desktop) removing custom picture is not reflected on contact's side (#13197)
* chore: bump status-go

* (fix/desktop) removing custom picture is not reflected on contact's side

This PR fixes [9947](#9947) and contains :

- Commit to fix the changing of custom picture and having the change
  reflected on contact's side
- Commit to fix the deleting of picture and having the change reflected
  on contact's side
2024-01-26 07:54:30 -08: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
Michal Iskierko f00493ec02 fix(@desktop/communities): Fix displaying token holders
Add displaying holders for ERC20 - only community members.
Add json conversions test for some holders structs.

Fix #12062
2024-01-17 13:23:59 +01: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
Stefan 70767213ff chore(wallet): add integration dev tests for pending tx status update
Remove the wallet connect backend dev test code

Updates: #13124
2024-01-12 22:23:39 +01:00
Sale Djenic 4510bc1e18 fix(tests): mark saved addresses as may fail
For the difference adding saved addresses providing ens name now waits for an address
associated to that ens to be resolved. And also when adding saved address using an address
we're checking if there is an ens name associated with it.

All that works in local just fine, but on CI fails. Could be due to internet connection loss.

Till we figure out why it's like that, disabling that case.
2024-01-12 14:23:35 +01:00
Sale Djenic ba5e259296 chore(savedaddresses): saved addresses improvements
Closes #13140
2024-01-12 14:23:35 +01: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
Sale Djenic 40ed061402 bug(savedaddresses): the send modal should be run clicking on the send button of a saved address item
Fixes #13172
2024-01-12 11:29:35 +01: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
Sale Djenic cf09505071 feat(savedaddresses): context menu - remove saved address
Closes #13093
2024-01-08 14:41:30 +01:00
Sale Djenic 9da47c5294 fix(tests): e2e saved addresses related tests fixed 2024-01-04 17:45:57 +01:00
Sale Djenic 3d5b24b87f fix(tests): e2e saved addresses related tests fixed 2024-01-04 17:45:57 +01: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
Anastasiya Semenkevich 73025c5a0a chore: several object names for permissions tags 2023-12-28 22:06:36 +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
Stefan a8fb355a8d feat(wallet) activate Wallet connect modal from deep-links
- Open wallet connect modal when the application is opened from a
  deep link
- Add test entry that opens wallet connect modal with mocked
  StatusDesktop app that can be used for testing
- Add tests

Closes #12641
2023-12-12 20:12:53 +01:00
Anastasiya Semenkevich dadfc58126 chore: fix test with new design 2023-12-12 13:25:39 +01: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
Godfrain Jacques 7a5e691c90
feature(@desktop/chat) Enhance message context menu with mark as unread (#12879)
* chore: bump status-go

* feature(@desktop/chat) Enhance message context menu with mark as unread
fixes #10329

linked with PR #12879

- Adds capacity to mark a message as unread
- Adds capacity to mark a message with mention as unread
- Adds persistence to the marking of the message (change can be seen at
  after reboot)
- Adds marking in right click contextual menu
2023-12-11 20:16:06 -06: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
Stefan 17c7e46917 feat(wallet) Wallet Connect: process delete_session
Requires the specific status-go changes that brings WCChangePairingState

Process delete session and update internal pairing history state

Updated testing while fighting for the issue of not deleting the session
Found out that the client requests a different topic in the delete
session request.

Also:

- update debugging UX to support session events
- update storybook to support mocking session events
- fix go test utility to account for refactoring

Updates #12858
2023-11-30 10:47:41 +01: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
Jonathan Rainville d66540d74f feat(messages): add deleted system message that tells who deleted
Fixes #11712
2023-11-23 16:14:54 -05:00
Godfrain Jacques aaa759f70c
Fix(@message) Album of images disappears from reply after reloading the application (#12806)
Fixes #10986

This PR contains 2 changes :

1- Adding of properties for the quotedMessage
2- Update of the view with the properties with Qml binding
2023-11-22 14:32:50 -08: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
Stefan 8721f2a5d9 chore(test) remove ganache test fixture 2023-11-21 15:05:58 +01: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
Jakub Sokołowski f8d78cdb95
chore(test): drop usage of ganache in old E2E tests
The Ganache tool has been replaced by Hardhat:
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-16 12:21:25 +01: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
Stefan 783a755230 feat(wallet) integrate Wallet Connect sign APIs
Bump status-go that brings the sign APIs support for send transaction
and personal sign

Extend SDK

- simple SDK event handling in QML
- support session request response APIs
- pairing management

Closes #12637
2023-11-15 17:21:27 +01:00
Stefan bcf5b64298 feat(wallet) Wallet Connect Pair integration
Implement Controller to forward requests between status-go and SDK
implementation in QML.

Other changes:

- Source Wallet Connect projectId from env vars
- Mock controller in storybook

Updates #12551
2023-11-15 15:51:50 +01:00
Stefan d4e15fe932 chore(wallet) WalletConnect quick prototype environment for integration
Add GO helper to:
- loads WalletConnect SDK bundle
- bootstraps status-go user session
- provides a way to call status-go API from webview
- forwards status-go signals to webview

Updates: #12551
2023-11-15 15:51:50 +01: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
Alex Jbanca 81fd27526e fix: Fixing broken binding on text input enabled property
The enabled property of the text input needs to have a binding to the StatusChatInput enabled property

+ re-enable the squish test
2023-11-03 14:53:44 +02: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 cc34375744 chore(@community_tests): disabling test with reply because of bug
Reason: https://github.com/status-im/status-desktop/issues/12440
2023-11-01 11:10:07 +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
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
Jakub Sokołowski 7c02011373 ci: fix missing bracket for timeout
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 18:50:59 +02:00
Jakub Sokołowski 814f8f1470 ci: bump number of builds to keep
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 18:34:55 +02:00
Jakub Sokołowski 613d5db7a4 ci: add timeouts per each stage
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 18:34:54 +02:00
Jakub Sokołowski 678331de28 ci: update GitHub check status at job start too
This way we'll see in GitHub PRs that the new job is in progress.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 16:35:57 +02:00
Anastasiya 8460e9f2c3 chore(@wallet_account_tests): add several verifications for wallet tests (#202) 2023-10-24 15:32:19 +03:00
Jakub Sokołowski 3c48317ce2 ci: add GitHub check status update for desktop repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 14:08:38 +02:00
Jakub Sokołowski 0a09b141df ci: update build name to be more descriptive
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 14:08:37 +02:00
Jakub Sokołowski df6c0a3b9a ci: replace BUILD_URL with BUILD_SOURCE parameter
This parameter can take both URL or a path to Jenkins job.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 13:59:24 +02:00
Jakub Sokołowski ebf0f819ac ci: refactor Jenkinsfile for clarity
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 13:59:23 +02:00
Jakub Sokołowski 8362b93734 config: use filenames that end in .py
They are Python files, changing their file extension is a bad idea.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 13:59:22 +02:00
Anastasiya 2258ecfd45 chore(@onboarding_test): add verification for wallet address (#201) 2023-10-23 18:43:17 +03:00
Vladimir Druzhinin 8c278b6052 Fix AttachError because of parallel execution (#197)
* Fix AttachError because of parallel execution

* Fix X connection failed
2023-10-23 14:53:11 +03:00
Anastasiya e68c19681b chore(@onboarding_syncing): uncomment sync devices test (#199) 2023-10-22 19:37: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 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
Vladimir Druzhinin 3343bc675e Fix AUT AttachError (#180)
* Fix AUT AttachError

#174

* Test close by port

* Method to add a screenshot on fail added for multiple instances AUT

#177
2023-10-19 14:26:05 +02:00
Anastasiya 733ccdfd92 chore(@back_up_seed_test): improve validations (#189) 2023-10-18 15:34:11 +03:00
Igor Sirotin e5b68e8823
fix: messaging settings and url unfurling fixes (#12457)
* remove browser selection setting
* remove main whitelist settings. replace tenorGif setting with gifUnfurlingEnabled
* remove old unfurling
* move history nodes section
* disable outdated e2e tests step
* remove isGifWidgetEnabled setting
* fix: StatusMessage height when gif unfurling disabled

---------

Co-authored-by: Anastasiya Semenkevich <anastasija.ig@gmail.com>
2023-10-18 10:03:32 +01:00
Anastasiya Semenkevich e56307e38f chore(@tests): skip flaky test with image comparison failure 2023-10-17 20:20:06 +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 4d189a6151 chore(@onboarding_negative_tests): fix test 2023-10-17 18:10:16 +03:00
Anastasiya Semenkevich 0f9c1236a3 chore(@tests): fix import seed phrase test, comment out syncing test 2023-10-17 17:57:39 +03:00
Anastasiya Semenkevich 29ee283262 chore(@tests): skip messaging test because of attach error 2023-10-17 17:43:52 +03:00
Anastasiya Semenkevich 402afaef72 chore(@tests): skip community permissions test because it is getting stuck 2023-10-17 17:37:37 +03:00
Anastasiya Semenkevich 10b646f7de chore(@tests): skip communities tests to fix later 2023-10-17 17:23:16 +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
Vladimir Druzhinin 0f3742631e Improving jenkinsfile (#175) 2023-10-13 16:37:06 +02: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
Vladimir Druzhinin 243f8f5e20 Jenkinsfiles were merged (#164)
#163
2023-10-13 13:22:50 +02: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
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 4e22a69423 Ci/144 jenkins file (#158)
* Jenkins file for nightly regression added

* Downloading build by URL added

#144
2023-10-10 10:30:56 +02: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
Vladimir Druzhinin e768492703 Fix/143 image comparison (#150)
* Attach squish server config to test report

* Fix image comparison on CI 

#143

* Fix failed image comparison

#143

* List branches added

#144
2023-10-09 11:38:48 +02:00
Anastasiya Semenkevich 87fc8cbb38 chore(@online_identitifer): disabled 2 tests to refactor later 2023-10-06 19:13:04 +06: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 d545829724 Attach app logs added (#129)
#123
2023-10-04 10:54:13 +02: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 f7db677c95 chore(@tests): switch off some tests that are failing on linux 2023-09-27 18:23:22 +03:00
Anastasiya Semenkevich f94f0b66ed tests(@wallet_settings): add negative scenarios (#125) 2023-09-27 15:26:10 +03:00
Lukáš Tinkl e6408724c9 feat(settings): add Privacy Statement and Terms of Use
- bundle those 2 documents as Markdown
- some UI fixes according to latest Figma

Fixes #12192
2023-09-25 14:09:45 +02: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
Anastasiya Semenkevich 87c16b26bf chore(@tests): remove ui_pytest
QA team has migrated the pytest framework to https://github.com/status-im/desktop-qa-automation.
This change is needed to clean up unnecessary code and to separate the code of a product and code for tests
2023-09-20 10:00:17 +03:00
Anastasiya Semenkevich 02cb848a1d Update README.md 2023-09-19 13:14:45 +03:00
Valentina1133 181ee8f678 test(Wallet) Settings - account reordering not possible with 1 account (#109) 2023-09-19 15:59:31 +07:00
Vladimir Druzhinin cf8a32f72d Restart application added (#111)
#110
2023-09-15 10:15:28 +02: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
Vladimir Druzhinin 66b260fb48 Fix test on inviting to community for Mac (#104)
#96
2023-09-14 10:51:22 +02: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
Vladimir Druzhinin e84fb5c70a Tests migrated from application repo
#100
2023-09-11 17:09:11 +02:00
Vladimir Druzhinin 964c38a122 Initial commit 2023-09-11 11:55:46 +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 f11b2b1e86
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
Valentina1133 428ff4d089
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
Vladimir Druzhinin a3b739b81d
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
Valentina1133 20de907982
test(Wallet) Test Manage a saved address automated (#12034) 2023-09-01 18:18:04 +07:00
Valentina1133 c86fb40fb7
test(Communities) Small fix for adding permissions test (#12050) 2023-08-31 17:27:42 +07:00
Valentina1133 d684acd835
test(Communities) Adding permission test automated (#11993) 2023-08-31 12:31:43 +07:00
Vladimir Druzhinin 0d17fafb88 Test(Community) Create, edit community (#12021)
#90
2023-08-29 16:43:00 +02:00
Vladimir Druzhinin 0405ea0b89
Test(Community) Create, edit community (#12021)
#90
2023-08-29 16:43:00 +02:00
Vladimir Druzhinin 22d1913f47
Test(Hotfix) Fix import module (#11991)
* Test(Hotfix) Fix import module

* test(suite_messaging) tst_OneToOneChatFlow skipped
2023-08-23 12:32:43 +02:00
Vladimir Druzhinin 8b4c31fe63 test(AUT Close) The closing AUT process by pid (#11955)
#85
2023-08-22 17:15:25 +02:00
Vladimir Druzhinin 18b1579cfd
test(AUT Close) The closing AUT process by pid (#11955)
#85
2023-08-22 17:15:25 +02:00
Valentina Novgorodtceva e9d0727ea1 test(Onboarding and Wallet) Fixes of user sign up with profile image test and using Keycard wallet test 2023-08-15 17:05:38 +03: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 52fed9d5c2 test(Onboarding) Test on Import: 12 word seed phrase added
#86
2023-08-14 10:26:58 +03:00
Alex Jbanca 7d4df690c5 feat: Add Ban/Kick Pending state in the Community members settings. 2023-08-11 17:55:51 +03:00
Vladimir Druzhinin 768b05ac1b test(Onboarding) Skip closing test app (#11837)
- Closing all app instances by port for local run and by process name for CI
- Threshold for emoji hash decreased in image
comparison 
- Verification point for cropped user icon added
2023-08-10 08:58:50 +02:00
Vladimir Druzhinin 5fc1ecc858
test(Onboarding) Skip closing test app (#11837)
- Closing all app instances by port for local run and by process name for CI
- Threshold for emoji hash decreased in image
comparison 
- Verification point for cropped user icon added
2023-08-10 08:58:50 +02: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 b09504be36
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 13228f4c28
test(AUT) Skip closing AUT process at the end of the test (#11701)
#85
2023-07-28 17:20:29 +02:00
Anastasiya Semenkevich 6fa519a4c0 test(@tst_wallet_settingsManagement): add test to add new account from settings 2023-07-27 11:27:00 +03:00
Anastasiya Semenkevich ffc5029be1 chore(@e2e_tests): enable back disabled tests
1. enabled back the tests which were disabled because of context menu changes
2. renamed several to make them look alike
3. disabled 2 tests because they need to be changed a little (additional verifications needed), for now they are duplicating existing stuff
2023-07-25 14:23:37 +03:00
Igor Sirotin cc5f057b3a
Replace link previews with new unfurled data from the message (#11603) 2023-07-22 02:08:44 +03:00
Khushboo Mehta 9800dad3ba feat(@desktop/wallet): Account view - New Account view UI
fixes #11537
2023-07-21 15:37:30 +02:00
Cuteivist ae6630911e
feat(@desktop/wallet): Adjust options in wallet account menu (#11368)
* feat(@desktop/wallet): Adjust options in wallet account menu

closes #10682

* test(wallet suite) Fix failed test (#11577)

---------

Co-authored-by: Vladimir Druzhinin <128374224+StateOf-Vlado@users.noreply.github.com>
2023-07-19 16:05:21 +02:00
Anastasiya Semenkevich 32952e4e01 Update test.feature 2023-07-19 10:26:54 +03:00
Khushboo Mehta a468635ddc feat(@desktop/wallet): Networks - New List UX with link mainnet/testnet + testnet mode enable/disable
fixes #11252
2023-07-14 08:57:36 +02:00
Noelia eb37f44a23 feat(OwnerToken): Create Get started panel and add it to Tokens and Airdrops welcome views
- Added start panel in tokens welcome page.
- Added start panel in airdrop welcome page.
- Updated e2e tests according to new requirements.

Closes #11284
2023-07-11 11:07:01 +02:00
Noelia d4afc1fba6 feat(CommunitySettings): Changes section name from `Mint Tokens` to `Tokens`
Updated text according to new design.

Updated e2e tests according to new requirement.
2023-07-11 11:07:01 +02:00
Vladimir Druzhinin 13af133ab6 test(pytest) Import squish as a python module. (#11421)
#66
2023-07-10 17:55:10 +02:00
Vladimir Druzhinin db826253c7
test(pytest) Import squish as a python module. (#11421)
#66
2023-07-10 17:55:10 +02:00
Alex Jbanca 9629a145da feat: Update Community Overview header based on the new design
[Design](https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?type=design&node-id=31229-627216&mode=design&t=KoQOW7vmoNc7f41m-0)
1. Update header layout and size
2. Add OverviewSettingsPanel in storybook

feat: Update Community Overview Header based on the new design

Removing squish tests related to the community identicon in the Overview page. The identicon is removed in the new designs
2023-07-08 11:56:33 +03:00
Alex Jbanca 3b57915155 feat: Implement Community Overview footer with mocked data
1. Adding OverviewSettingsFooter.qml according to design
2. Adding the footer to storybook
3. Add the footer in the overview page
4. Remove the squish tests for the old footer
2023-07-07 21:07:35 +03:00
Vladimir Druzhinin 04a63ce07d
Tests on Language settings skipped (#11432) 2023-07-06 13:10:14 +02:00
Alex Jbanca 0efca3f0bd feat: Update Edit community settings based on new design
[Design for edit community settings](https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?node-id=3132%3A383870&mode=dev)
[Design for create community popup](https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?type=design&node-id=2636-359221&mode=design&t=Z888PCuW1eTwF5RY-0)

1. Update alignments, paddings and item size to match the new design
2. Update subtitles (Only for edit community settings. Create community popup has different subtitles)
3. Create new EditCommunitySettingsLayout with the new design to be reused in CreateCommunityPopup
4. Update CreateCommunity popup to align it with the new design
5. Add basic EditSettingsPanelPage to storybook
6. Fix TagsPicker bug where the tags were not showing when opening the edit community settings for the first time
2023-07-06 09:47:46 +03:00
Michał Cieślak cd142a74fc chore(Community Settings): Squish tests fixed 2023-07-03 12:47:35 +02:00
Noelia d763a09cac feat(Communities): File renames
- Removed redundant `community` word in some files from: `controls`, `views`, `popups`, `helpers ` and `panels` folders.
- Updated storybook.
- Updated squish files.

Closes #6204
2023-06-28 14:28:47 +02:00
Vladimir Druzhinin 2ff798b686
test(suite wallet) Fix BDD syntax error (#11283) 2023-06-28 11:23:18 +02:00
Anastasiya Semiankevich 26c4eaa75b chore(@e2e_tests): disable test for hiding w/o accounts
Hide/show w/o accounts button should not hide/show accounts but should reflect the total balance. This will be implemented in the app soon and the test has to be re-written to handle that
2023-06-27 13:35:25 +03:00
Khushboo Mehta c47140a406 feat(@desktop/wallet): Wallet accounts - Account List
fixes #11189
2023-06-23 16:55:36 +02:00