Commit Graph

62 Commits

Author SHA1 Message Date
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 9da47c5294 fix(tests): e2e saved addresses related tests fixed 2024-01-04 17:45:57 +01:00
Anastasiya Semenkevich dadfc58126 chore: fix test with new design 2023-12-12 13:25:39 +01:00
Stefan 8721f2a5d9 chore(test) remove ganache test fixture 2023-11-21 15:05:58 +01: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 Semenkevich f7db677c95 chore(@tests): switch off some tests that are failing on linux 2023-09-27 18:23:22 +03: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
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
Anastasiya Semenkevich 32952e4e01 Update test.feature 2023-07-19 10:26:54 +03: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
Anastasiya Semiankevich cdb838d578 chore(@e2e_tests): add logic to use networks selector only if address is hex 2023-06-20 11:54:48 +03:00
Anastasiya Semiankevich 373608d744 chore(@e2e_tests): split scenario to create and edit, improved edit logic 2023-06-15 18:14:13 +03:00
Anastasiya Semiankevich 601696f589 chore(e2e_tests): extend saved address creation with network options 2023-06-15 12:22:48 +03:00
Anastasiya Semiankevich d9f15ace2b test(@tst_wallet_account_management): add test to verify hide watch-only button 2023-06-13 12:46:09 +03:00
Anastasiya Semiankevich e2b3376f66 chore(@e2e_tests): fix imports and split the tests to feature files 2023-06-07 23:26:18 +03:00
Anastasiya Semiankevich 00aa1b3391 chore(@e2e_tests): fix background for wallet suite 2023-06-06 18:43:02 +03:00
Anastasiya Semiankevich 40d736aa44 tst_communityManageOverview: add test for Airdrop page navigation from Overview screen 2023-06-06 13:57:07 +03:00
Khushboo Mehta 28654e0187 \chore(@desktop/wallet): Change customisation colours on desktop to match those used on mobile
fixes #10637
2023-06-02 19:48:19 +02:00
Vladimir Druzhinin a1f3485f98
Tests fix (#10871)
- "id": "edit" removed in object names
- closing app improves via waiting for close context
- attempts added for unstable actions on UI
- detach application with waiting for process close added
2023-06-02 16:34:09 +02:00
Vladimir Druzhinin be1b30f2df
Unstable tests skipped (#10861) 2023-05-30 16:42:55 +02:00
Vladimir Druzhinin 8098775280
test/start multiple app instances added (#10779)
* test/start multiple app instances added  

#10401

* test/Tests on switch user state skipped

#10401
2023-05-30 12:24:04 +02:00
Vladimir Druzhinin 0d38f7acdb
Test/10287 suite wallet (#10675)
* test(suite_wallet): tests fix
#10287
2023-05-17 16:39:58 +02:00
Ivan Belyakov e122c2e3c7 fix(desktop/wallet): Fixed `Save` button not enabled when ENS name
is entered in address input in when adding a new saved address.

Fixes #10640
2023-05-15 12:28:23 +02:00
Vladimir Druzhinin f345334b33
test(fix aut lost connection) hook subprocesses added (#10674) 2023-05-15 10:38:56 +02:00
Stefan 691de11211 fix(Wallet) network selection and unify network implementations
Major changes:

- Don't allow empty network selection. End up using the nim model
  directly instead because of individual row changes issues
  encountered with nim models
- Made the clone model a generic implementation to be used in other
places where we need to clone a model: ReceiveModal,
AddEditSavedAddressPopup
- Use cloned model as alternative to NetworksExtraStoreProxy in
  ReceiveModal
- Added tristate support to our generic checkbox control
- UX improvements as per design
- Fix save address tests naming and zero address issue
- Various fixes

Notes:
- Failed to make NetworkSelectPopup follow ground-truth: show partially
  checked as user intention until the network is selected in the
  source model. Got stuck on nim models not being stable models and
  report wrong entry change when reset. Tried sorting and only updating
  changes without reset but it didn't work.
- Moved grouped property SingleSelectionInfo to its own file from
  an inline component after finding out that it fails to load on Linux
  with error "Cannot assign to property of unknown type: "*".".
  It works on MacOS as expected

Closes: #10119
2023-04-20 19:34:24 +02:00
Sale Djenic 67ad2ea24c tests: managing wallet accounts tests marked as `@mayfail`
Tracked in issue:
https://github.com/status-im/status-desktop/issues/10287
2023-04-13 19:51:10 +02:00
Sale Djenic 7f8d6ce2c7 feature(@desktop/ui-tests): managing wallet accounts tests added
Closes #9997
2023-04-13 19:51:10 +02:00
Sale Djenic 706d03eec3 chore(@desktop/ui-tests): old add account tests removed 2023-04-13 19:51:10 +02:00
Sale Djenic c45154c066 test(@desktop/wallet): adding account related test disabled due to massive change in ui and backend logic
Tests will be redone and added through new issue #9997.
2023-03-28 18:09:39 +02:00
Michal Iskierko 999d767110 chore(@desktop): Set mayfail to "The user sends a transaction" scenario
Issue #9783
2023-03-27 19:43:10 +02:00
Khushboo Mehta 072537f61a feat(@desktop/wallet): Implement connection error screens
fixes #9835
2023-03-23 15:26:22 +01:00
Ivan Belyakov 36940cc81e fix(@desktop/wallet): update tests to remove wallet activation 2023-03-22 10:39:59 +03:00
Stefan 8aabc0c4b9 tests(wallet) disable add watch only account failing test 2023-03-17 01:24:38 +01:00
Ivan Belyakov d2aa9e97bf fix(@desktop/wallet): disable failing test to make saved address favourite
after favourite feature has been disabled
2023-03-15 13:14:55 +03:00
Anthony Laibe 6ec562c6b2 chore(@wallet): re-enable test 2023-03-10 13:57:08 +01:00
Ivan Belyakov 601d3dd0f1 fix(@desktop/wallet): Fix tests for saved addresses.
Minor fixes

Updates: #8599
2023-03-07 15:00:46 +03:00
Michal Iskierko 5722f67964 fix(@desktop/communities): Handling community token image
Handle image correctly and show in testing UI.
Improve fees for deployment.
Handle CommunityTokenMetadata in community structure.
2023-03-07 10:04:12 +01:00
Stefan 16ed8739e8 fix(wallet) fix Add Account Modal and wallet tests
- fix add-account-modal custom derivation checkbox blocking all workflows
- fix, improve and enable wallet tests
- wait_for_text_matching alternative, to is_text_matching, to check also for content as squish driver API
- add objectName based lookup for in some places where user-text was used
- add workaround to retry for 10 seconds add watch due to flakiness
- rename SquishDriver.type to type.text not to conflict with python's type
- add optional timeout to some APIs
- ignore error for extra step in reaching onboarding seedphrase in linux

Updates: #9576
2023-03-01 15:36:06 +04:00
Michal Iskierko b6f5c558a9 feat(@desktop:communities): Minting functionality with dummy data
Add Community Tokens testing UI with minting button, enabled by a Advanced Settings toggle.
Add minting module,view and needed models.
Add community_tokens service to call collectibles smart contract functions.

Issue #8921
2023-02-13 13:42:29 +01:00
Stefan 2bc8fa1236 fix(tests): The user can manage and observe a watch only account
- The user imports a private key
- The user generates a new account from wallet and deletes it
2023-02-10 10:16:27 +01:00
Stefan b5ff5178f2 fix(tests): The user can manage and observe a watch only account 2023-02-10 10:16:27 +01:00
Jonathan Rainville e0172c8bb9 chore: add mayfail to tests that fail on CI 2023-02-09 11:08:10 +01:00
Stefan a57eb06240 test(wallet): fix user can manage and observe a watch only account
Bumps status-go to include the fix for not fetching balance for
overridden tokens

Add documentation on how to run wallet tests locally using ganache

Closes #9091
2023-02-08 19:52:37 +01:00
Anthony Laibe 6e188de21a fix(@test): enable back delete account 2023-02-06 09:05:30 +01:00
MishkaRogachev e0ba80a085 feat(AppMain): Replace MailserverConnectionDialog with banner
Close #6213
2023-01-30 12:40:31 +04:00
Ivan Belyakov f2549fc1ff feat(@desktop/wallet): update wallet navigation
Fixed StatusBaseButton to expose a property to load either normal
icon or a round one.
Implemented new wallet navigation according to design in Figma.
Fixed regression: small accounts icons in accounts list view.
Updated wallet test.

Fixes #8598
2023-01-26 09:49:29 +01:00
Noelia 75711aef2e test: Skip broken/unstable tests
Tagged with `@mayfail` some scenarios that seem to be unstable / broken on CI and also locally.
2023-01-25 10:55:39 -05:00
Noelia 7a1c768898 test(suite_settings): Restore broken tests
Updated `walletInitSteps` and `settingsSteps` properly: `settingsSteps.py` was referring to some `wallet_init_steps` methods but it was not imported. Reorganization and cleanup.
2023-01-23 15:04:14 +01:00