Commit Graph

982 Commits

Author SHA1 Message Date
Stefan 248ba1c1c8 feat(dapps): Add support for max fees in WalletConnect requests
Compute max fees for transaction related requests and display the
results to user.

Also:

- Add helper to convert from hex (backend) to decimal (frontend) values.
- Add helper to convert from float gwei to hex wei
- Update tests to accommodate for the new dependencies.

Sourcing of account balances is not included therefore the transaction is
allowed to go through even if the account balance is insufficient. An error
will be generated by the backend in this case.

Updates: #15192
2024-07-19 10:02:50 +02:00
Valentina1133 e1611cbc83
chore: keycard tests fixed, improved and other tests fixed accordingly (#15656) 2024-07-19 13:43:44 +07:00
Valentina1133 2b415bdc53
test: block and unblock user test added (#15577) 2024-07-18 17:57:24 +07:00
Valentina1133 e73df3da11
chore: raise Assertion error correctly (#15654) 2024-07-18 17:27:56 +07:00
Anastasiya Semenkevich 021d06deb8 chore: add background color verification for avatar 2024-07-18 13:06:11 +03:00
Anastasiya Semenkevich 9f03c2d425 tests: enable back test for account creation in settings
Closes https://github.com/status-im/status-desktop/issues/15286
2024-07-17 12:32:33 +03:00
Valentina Novgorodtceva b0f373f1dc chore: removed duplicated method, updated test according to changes 2024-07-17 12:32:16 +03:00
Anastasiya Semenkevich 7e69a2e465 tests: fix broken reference in links preview test 2024-07-15 14:33:56 +03:00
Anastasiya Semenkevich 046892dd98 chore: temp remove the wrong test case reference 2024-07-15 07:59:08 +03:00
Valentina Novgorodtceva 2a4e341f9d chore: keycard env set separately for keycard tests only 2024-07-12 14:02:11 +03:00
Anastasiya Semenkevich d814ec12ef chore: remove repetitive code and re-order some classes 2024-07-12 13:00:10 +03:00
Valentina Novgorodtceva 01b4d1305d test: verifications for share profile popup added 2024-07-11 16:56:27 +03:00
Valentina1133 4dc170688e
test: hidden community channel test added (#15485) 2024-07-11 17:51:56 +07:00
Valentina1133 6672816f84
chore: changes for tests stability (#15500) 2024-07-11 17:04:32 +07:00
Valentina1133 48b3c72957
chore: added removing of watched account (#15517) 2024-07-11 16:15:22 +07:00
Valentina Novgorodtceva 78e605d928 chore: reworked scroll method 2024-07-10 15:06:32 +03:00
Lukáš Tinkl 8504fb55a1 chore[UI - Wallet Stability] Rename SendModalFooter to TransactionModalFooter
... and remove particular code for send modal

- derive the footer from the standard `StatusDialogFooter` to reduce
code duplication (drop shadow, divider, margins, etc)
- rename the default button text
- expose the icon name and make it used the correct login/auth type icon
- some minor fixes and cleanups

Fixes #15212
2024-07-10 10:29:05 +02:00
Valentina1133 7b8361ec0f
chore: created separate files for onboarding, settings, wallet names (#15457) 2024-07-09 17:05:39 +07:00
Anastasiya 9662c974a0 chore: use uuid in screenshot name instead of timestamp to make the filename smaller 2024-07-08 18:23:07 +03:00
Valentina Novgorodtceva e1bb235b4e chore: method to set waku mode added 2024-07-08 17:31:41 +03:00
Valentina1133 50b0d7d039
chore: fix link preview and add more verifications (#15435) 2024-07-04 16:02:54 +07:00
Valentina Novgorodtceva cd37994e6b chore: some changes to stabilise tests, skipped assets sorting 2024-07-01 13:56:22 +03:00
Anastasiya Semenkevich 5684aac868 tests: replace seed recovery with new user creation instead 2024-07-01 13:41:57 +03:00
Anastasiya Semenkevich f038d83281 chore: address review from https://github.com/status-im/status-desktop/pull/15251/ 2024-06-28 17:27:59 +03:00
Anastasiya Semenkevich 8bf4199433 chore: add geth.log to allure 2024-06-28 17:27:59 +03:00
Valentina Novgorodtceva 1c38b209c1 chore: replaced steps with user data for online identifier test 2024-06-28 16:53:59 +03:00
Valentina Novgorodtceva 4693660226 chore: replaced watched address to another one and enabled test 2024-06-28 16:53:49 +03:00
Anastasiya Semiankevich e2d7265d5b chore: custom timeout where app freezes with ticket reference 2024-06-27 12:08:03 +03:00
Anastasiya Semiankevich 289d3561bd chore: add isFrozen function and make the timeout for click a param 2024-06-27 12:08:03 +03:00
Valentina Novgorodtceva c71d11e990 chore: duplicate permission step added to permission test 2024-06-27 09:58:24 +03:00
Valentina Novgorodtceva 8bc24c5803 chore: fix for community name 2024-06-26 11:41:10 +03:00
Valentina Novgorodtceva 37edd927f5 chore: fixes for mint owner token test 2024-06-26 11:41:00 +03:00
Anastasiya Semiankevich 5b30d25387 chore: add more logging to QT components 2024-06-26 11:19:06 +03:00
Valentina Novgorodtceva afde836517 test: replaced old test of sending request to send/accept/decline request and remove contact 2024-06-24 16:24:57 +03:00
Valentina Novgorodtceva 50553f623a test: prepared user data for future tests 2024-06-24 16:24:57 +03:00
Alex Jbanca eb6f037df0 fix(e2e): Fixing ComboBox isChecked flag to allow 3 state checkboxes 2024-06-21 16:18:51 +03:00
Anastasiya 033bf99974 chore: add reference to skipped test 2024-06-20 22:07:19 +03:00
Anastasiya Semenkevich d975dc66a1 tests: test for adding account from settings is disabled 2024-06-20 22:07:19 +03:00
Anastasiya Semenkevich 527654e579 chore: fix locator for RoundImage to use object name 2024-06-20 15:13:54 +03:00
Valentina1133 c3112e9f23
chore: replaced inviting people to community by another method (#15226) 2024-06-20 17:18:10 +07:00
Valentina1133 c8eb48cf04 chore: changes for mint owner token test (#15270) 2024-06-20 11:24:35 +03:00
Patryk Osmaczko 774c08eec7 chore(tests): make permissions tests required for PRs 2024-06-19 13:58:55 +02:00
Patryk Osmaczko dc49843948 Revert "chore: disabled permissions tests, there is a bug"
This reverts commit 4226eaed0b.
2024-06-19 13:58:55 +02:00
Valentina Novgorodtceva 4226eaed0b chore: disabled permissions tests, there is a bug 2024-06-19 11:44:19 +03:00
Anastasiya Semenkevich 1c5aad7733 chore: replace conditions with function call in system.py 2024-06-18 15:04:44 +03:00
Anastasiya Semenkevich dc628f300a chore: terminate process on windows 2024-06-18 15:04:44 +03:00
Valentina1133 4170f589b3
chore: improved 1-1 chat so it will decrease duration of test + added verification that message was edited (#15201) 2024-06-18 16:42:55 +07:00
Valentina Novgorodtceva 28a7b691cd chore: fix for click_mint 2024-06-17 15:43:32 +03:00
Anastasiya Semenkevich 469d527cf0 chore: remove semicolon from the paths files to make windows happy 2024-06-17 15:43:32 +03:00
Anastasiya Semenkevich c67785100b chore: click indicator on before get started modal instead of checkboxes 2024-06-17 15:43:32 +03:00
Anastasiya Semenkevich 3b4a50b46f chore: click check boxes specifically, other elements in the middle 2024-06-17 15:43:32 +03:00
Anastasiya Semenkevich 5508cd96c9 chore: do not hardcode fileuri so it becomes OS agnostic 2024-06-17 13:39:18 +03:00
Anastasiya Semenkevich e2f06fb204 test: disable change password test because it creates ghost instances
https://github.com/status-im/status-desktop/issues/15178
2024-06-14 12:52:14 +03:00
Valentina1133 1250373037
chore: more verifications added (community title and description on web page) (#15022) 2024-06-13 21:18:41 +07:00
Anastasiya Semenkevich e896267874 chore: fix typo for keypair error string 2024-06-12 13:09:23 +03:00
Anastasiya Semenkevich 9ce23fe556 chore: squeeze 2 kill methods to 1 2024-06-12 13:09:23 +03:00
Anastasiya Semenkevich 19f6cf9e11 chore: removed unnecessary steps, brought back commented ones 2024-06-12 13:09:23 +03:00
Anastasiya Semenkevich e8e1e08a89 chore: use sigkill to kill the process 2024-06-11 14:20:04 +03:00
Valentina Novgorodtceva 3d34b30390 test: 5 characters minimum length for account name and keypair name 2024-06-11 12:33:44 +03:00
Valentina Novgorodtceva 97291731ac chore: fix for nightly fail 2024-06-11 12:33:44 +03:00
Anastasiya Semenkevich b2f6b68ddb chore: temp disable application restart step 2024-06-11 12:25:04 +03:00
Belal Shehab f0bcea0044
fix(wallet): Renamed KeyPair to key pair throughout the entire app (#15051)
* fix(wallet): Renamed KeyPair to key pair throughout the entire app

replaced the keypair occurances with key pair in the entire qml ui files
fixes: #13612 
---------

Co-authored-by: belalshehab <belal@status.im>
Co-authored-by: Valentina Novgorodtceva <valentina@status.im>
2024-06-07 16:29:09 +03:00
Valentina1133 675ef05eaa
Fixes and changes for tests stability (#15034)
* chore: fixes for community channel test

* chore: changes for wallet tests stabilisation and increase of timeout for pin unpin test
2024-06-05 14:52:32 +07:00
Anastasiya Semenkevich c016333aad chore: use correct variable in default config template 2024-06-04 10:55:56 +03:00
Anastasiya Semenkevich 225fe15464 chore: update local config template file 2024-06-04 09:26:21 +03:00
Jakub Sokołowski 862a1400d1
fix(e2e): remove colons from test filenames
They cause weird Git errors on Windows slaves:
```
stderr: error: invalid path 'test/e2e/tests/wallet_main_screen/wallet: assets tab/test_wallet_assets_sorting.py'
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-03 12:57:04 +02:00
Jakub Sokołowski c8ed4a37c4
chore(ci): fix e2e test directories and build path
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-03 10:02:58 +02:00
Jakub Sokołowski 3f7484f0fc
chore: merge qa automation repo as subfolder
Because as far as we know there's no good reason why
Volodimir insisted on it being a separate repository.

The merging of `desktop-qa-automation` was one using
[`git-filter-repo`](https://github.com/newren/git-filter-repo) tool and these instructions:
https://gist.github.com/x-yuri/9890ab1079cf4357d6f269d073fd9731

Steps:
```sh
git clone git@github.com:status-im/status-desktop
git clone git@github.com:status-im/desktop-qa-automation
cd desktop-qa-automation
git filter-repo --to-subdirectory-filter test/e2e
cd ../status-desktop
git remote add test-e2e ../desktop-qa-automation
git fetch test-e2e --no-tags
git merge --no-edit --allow-unrelated-histories test-e2e/master
```

Here's proof that it can work for a nightly, but will definitely need more adjustments:
https://ci.status.im/job/status-desktop/job/systems/job/linux/job/x86_64/job/tests-e2e/3/

And here's and example PR E2E run:
https://ci.status.im/job/status-desktop/job/e2e/job/prs-merged/2/

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-03 09:48:03 +02:00
Anastasiya Semenkevich 2a60da15ed chore: improve profile 2024-06-03 10:18:31 +03:00
Valentina Novgorodtceva 2467af110f test: share community link test 2024-06-03 10:13:14 +03:00
Anastasiya Semenkevich 5ea1eb5c3c chore: remove duplicated authentication popup 2024-06-03 09:55:21 +03:00
Anton eb98c5a153 ignore envrc and squish.ini 2024-05-31 10:22:29 +02:00
Valentina Novgorodtceva 70c2a33e5c test: try re-importing seed phrase in wallet 2024-05-31 13:44:18 +07:00
Valentina Novgorodtceva f9d3e11e07 test: added random selection of emoji reaction and verification on both - sender and recipient sides 2024-05-30 15:33:49 +03:00
Valentina Novgorodtceva e93a7365cb test: added random selection of emoji reaction and verification on both - sender and recipient sides 2024-05-30 15:33:49 +03:00
Valentina Novgorodtceva 5a9a93d343 test: 1-1 chat adding reaction and sending image 2024-05-30 15:33:49 +03:00
Valentina Novgorodtceva ddea6fb3fd chore: skipped tests dependant on issues with rates limits 2024-05-30 15:33:24 +03:00
Anastasiya Semenkevich c9cfe35542 test: disable test for identity request as the functionality is going to be hidden
Context: https://github.com/status-im/status-desktop/issues/14954
2024-05-30 10:32:42 +03:00
Valentina Novgorodtceva 2cca033dc2 chore: replaced with recommended method to check that add new account opened 2024-05-30 13:51:30 +07:00
Valentina Novgorodtceva d25d5cc9c8 chore: stabilisation rename keypair 2024-05-30 13:51:30 +07:00
Valentina Novgorodtceva a3fa0ebaa3 chore: test send divided into 2 separate files 2024-05-29 16:47:55 +03:00
Valentina Novgorodtceva cf99bfc879 chore: i returned back symbol @ before allure 2024-05-29 16:47:55 +03:00
Anastasiya Semenkevich 8136d81c2b chore: replace locator for ChatView component and remove waiting 2024-05-29 16:27:10 +03:00
Anastasiya Semenkevich af8ed6c068 chore: add transaction mark for mint owner token test 2024-05-29 16:27:10 +03:00
Valentina1133 9d370a621b Update tests/communities/test_communities_adding_contact_from_channel.py
Co-authored-by: Anastasiya <82375995+anastasiyaig@users.noreply.github.com>
2024-05-29 12:28:08 +03:00
Valentina1133 48d5239273 Update tests/communities/test_communities_adding_contact_from_channel.py
Co-authored-by: Anastasiya <82375995+anastasiyaig@users.noreply.github.com>
2024-05-29 12:28:08 +03:00
Valentina Novgorodtceva 390a3e4d77 chore: increased timeout 2024-05-29 12:28:08 +03:00
Valentina Novgorodtceva 45f016efb9 test: add contact from community channel test added 2024-05-29 12:28:08 +03:00
Anastasiya Semenkevich 2723281937 chore: add verification after emoji selection
Added verification step for emoji selection, so test is checking wether emoji is applied or not
2024-05-28 14:51:23 +03:00
Valentina Novgorodtceva 45f7445595 chore: added reference to re-importing test case 2024-05-28 14:51:07 +03:00
Valentina Novgorodtceva 9be7160f5b test: re-importing seed phrase added to existing test 2024-05-28 14:51:07 +03:00
Anastasiya Semenkevich 996518534a Revert "chore: change scroll method for settings pane"
This reverts commit 1018edc3cc.
2024-05-28 10:44:03 +03:00
Anastasiya Semenkevich 1018edc3cc chore: change scroll method for settings pane
Tests were failing on my mac with 16-inch display (3456 × 2234) (were not able to scroll the left navigation panel and reach out the buttons at the bottom, like Sign Out for example)
2024-05-27 16:56:24 +03:00
Valentina Novgorodtceva 8c37767ea6 test: link preview tests added 2024-05-22 10:12:27 +07:00
Valentina Novgorodtceva 98c2544abb chore: replaced locator for add button 2024-05-20 18:50:59 +07:00
Valentina Novgorodtceva 5ea271e136 chore: reworked method for text edit to check how it will work on ci 2024-05-20 18:50:59 +07:00
Cuteivist b771ac6aed
feat: Change optimism network short name (#14766) 2024-05-16 18:37:54 +02:00
Emil Sawicki c6bcdf237e feat: Update network short name 2024-05-16 17:17:04 +02:00
Valentina Novgorodtceva c24bb794e4 test: rename keypair test added 2024-05-16 16:51:03 +07:00
Valentina Novgorodtceva 35d79a7771 chore: set timeout for send tests 2024-05-16 16:12:59 +07:00