Commit Graph

366 Commits

Author SHA1 Message Date
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 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 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 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 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
Lukáš Tinkl ecc1b5316f fix: community context menu should not say "Leave community" if not joined
- get rid of the `amISectionAdmin` for good (was done only partially in
82a1ed2f7a)
- fix the corresponding storybook pages

Fixes #10963
2023-06-21 11:17:13 +02:00
Lukáš Tinkl fe9bb7d398 chore: Update StatusBaseButton content item layout
- introduce StatusButton storybook page with controls to play around
with the its options and variants
- StatusBaseButton: make the content item horizontally centered by
default
- StatusBaseButton: remove `textAlignment` and fix `textFillWidth` for
the intended usage
- fixup usage of the 2 above options which were introduced merely as a
workaround, mostly in wallet + corresponding storybook pages

Fixes #10903
2023-06-20 14:10:35 +02: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 Semenkevich bf84d2503f chore(@e2e_tests): disable flaky test 2023-06-07 20:11:20 +03:00
Sale Djenic ae492fe631 fix(@desktop/profile): profile social links
- added to sync mechanism
- added to backup mechanism
- UI updated according to the newest changes

Closes: #10390
2023-06-07 13:22:59 +02: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
Anastasiya Semiankevich e88369a83e tst_communityManageOverview): add scenario that copies community private key 2023-06-02 23:19:35 +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
Noelia d4d3a6d669 feat(MintToken): Add `delete` and `retry mint` options when deploy fails
- It refactors `SettingsPageLayout`.
- It adds `retry mint` and `delete` options when deploy process fails.
- It renames `RemotelyDestructAlertPopup` to generic name `AlertPopup`.
2023-06-02 13:15:34 +02:00
Igor Sirotin 7eed470829
fix(StatusScrollView): Change implementation to inherit ScrollView (#10789) 2023-05-31 23:58:23 +03:00
Patryk Osmaczko 367640af6c chore: remove @mayfail from tst_userIdentity 2023-05-31 10:54:48 +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
Anastasiya Semiankevich 00bc25e2ec test(suite_communities): move a test to different feature file 2023-05-30 08:58:09 +03:00
Noelia e8c4199ed1 test(tst_userIdentity): Skipped scenario `The user can change own display name in profile popup`
App bug to be solved: #10827
2023-05-29 09:36:07 -04:00
Vladimir Druzhinin 4da388b5bc test/start application with custom data folder
#10293
2023-05-23 07:42:38 -04:00
Anastasiya Semiankevich 00c8bb6be9 tst(tst_communityManageAirdrops): welcome screen validation test 2023-05-22 18:03:21 +03:00
Anastasiya S 464110a2db tst(tst_communityMintTokens): Mint Tokens welcome screen 2023-05-18 16:04:39 +03: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
Anastasiya S b27954904b tst(tst_communitySettings): enhance settings screen coverage 2023-05-15 12:44:53 +03:00
Vladimir Druzhinin f345334b33
test(fix aut lost connection) hook subprocesses added (#10674) 2023-05-15 10:38:56 +02:00
Anastasiya S 81a79327b6 test(tst_communityPermissions): implement permissions screen validation 2023-05-05 15:48:56 +03:00
Vladimir Druzhinin 219eb04da9
test(suite_onboarding): fix tests (#10260)
#9285
2023-05-04 18:18:19 +02:00
Vladimir Druzhinin 7ec7047e9c
test(suite_settings): fix tests (#10265)
#9284
2023-05-03 18:23:12 +02:00
Lukáš Tinkl b07ba7fb2d fix: personal chat item wrong width
- do not hardcode width of child elements (impossible to propagate
setting the width from the toplevel/parent component)
- made both the community and non-community chat item look the same and
according to the Figma designs (including margins, scrollbar positions,
spacing etc)
- cleaned up some hardcoded values and dead code

Fixes #10469
2023-05-03 16:39:33 +02:00
Igor Sirotin 2e6ccea91a test fix 2023-05-02 17:00:54 -04:00
Vladimir Druzhinin c85cead983
tests: fix start application issue (#10505)
- two attempts added
2023-05-02 17:54:27 +02:00
Alexandra Betouni 5615a534ea (settings): removed community permissions,tokens,airdrop and discord options
Also:
test(suite_communities): Fixed community related tests

- A new intermediate popup is now displayed when user clicks on `Create New Community` button from `Community Portal`.
- Reformulated `tst_communityPermissions` since now it is a default option without the need of activating it from experimental feature's section.

Closes #10115
2023-04-28 16:52:41 +03:00
Jonathan Rainville db6af0554a fix(chat-model): use setData to set the chat model
Fixes #10384

The problem was that doing the sort inside the insertRows messed up the model.
I removed it and it fixed the issues. However, it created an other issue with ordering.

The problem this time is that when populating the model at the start, we do not get the chats in order, so calculating the right position to insert a chat is difficult.

Instead, I use a setData function to just put all the chats in the items list, sort it and call it done, using the resetModel function.

I also did some clean ups.
2023-04-24 11:06:17 -04:00
Vladimir Druzhinin 7757c3b47d
test(suite_settings/tst_userIdentity): Fix test on display name, bio and social links (#10226)
- scroll profile settings view added 
- method to add links fixed
- SettingProfile class moved from Settings class
2023-04-24 11:39:07 +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
Jonathan Rainville 2aa759adcf refactor(section-model): change model to be sorted to fix reorder
Part of #3364

To make the drag and drop reorder work correctly on channels, we needed to change the model again so that it was sorted in the model itself.
That is because the drag and drop gives us the value of the position it is dropped to as a single list, so dragging the second item of the second category would mean from position 5 to position to position 4, but what the backend wants is moving the item 2 to position 1.
Sorting the model enables us to get the category that is the parent of that position and call the service with the right positions and id.
It also enables us to reorder the channel in and out of the category.
See the module code to see how the calculation is done with an explanatory comment.
The model needed some changes to support that. Some of the function where changed from dataChange calls to resetModel calls, since we need to re-sort the model.
I tried using beginMove, but it would crash. Maybe there is a bug in NimQML or I used it badly, I'm not sure.
2023-04-19 12:26:15 -04:00
Alexandra Betouni f507e33cba feat(StatusChatList): adding drag n drop functionality
Closes #3364
2023-04-19 12:26:15 -04:00
Anastasiya S cc9fb9935e test(tst_mainSettingsSection): remove hover action 2023-04-18 18:19:26 +03:00
Michal Iskierko d57f493443 fix(@desktop/cpp): Implement StatusGoQt::sendMessage() function
Issue #7848
2023-04-18 10:47:42 +02:00
Patryk Osmaczko e822c37716 feat(chat): implement marking specific messages as seen
iterates: #9069
2023-04-17 18:53:42 +02:00
Vladimir Druzhinin cdb206d8fa
test(suite_settings/tst_mainSettingsSection): Fix test on backup seed phrase validation (#10326)
#8279
2023-04-17 13:01:37 +02:00
Vladimir Druzhinin 89c5780cb1
test(suite_settings/tst_mainSettingsSection): Fix test on backup seed phrase (#10306)
#8279
2023-04-14 17:16:49 +02:00
Vladimir Druzhinin 0463031e31
test(suite_settings/tst_mainSettingsSection): Fix test on backup seed phrase (#10204) (#10295)
#8279
2023-04-13 22:02:19 +02:00
Sale Djenic b7399ac7d3 chore(@desktop/ui-tests): `authenticatePopupEnterPassword` renamed to `authenticate_popup_enter_password` 2023-04-13 19:51:10 +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 fae1fd2668 chore(@desktop/ui-test): duplicate function removed 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
Vladimir Druzhinin b77c0f13a9
test(suite_settings/tst_mainSettingsSection): Fix test on backup seed phrase (#10204)
#8279
2023-04-13 16:53:50 +02:00
Boris Melnik cbdc3e61b5 fix(images): Display image placeholder when image from album not loaded
Fixes: #9990
2023-04-07 15:42:12 +03: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
Jonathan Rainville b45cc15e32 fix(community-tests): fix edit and delete category tests 2023-03-28 09:49:32 -04: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 5b3a115f55 fix(@desktop/wallet): Loading screen after adding account
1. Removing logic for loading to nim
2. Handling error state for asset view also on the nim side

fixes #9648
2023-03-24 17:09:09 +01:00
Boris Melnik 30b4d9eb5c fix(chat): Sent images with text correctly
Fixes: #9564 #6374
2023-03-24 14:33:17 +03: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
Ivan Belyakov ee3d92c12b feat(@desktop/wallet): enable wallet by default 2023-03-22 10:39:59 +03:00
mprakhov 8d955265dc fix(@desktop/sections): do not unload chat and communities sections during the switching between the sections 2023-03-21 16:44:40 +01:00
Jonathan Rainville 2d2929872e refactor: add parsedText to message_item to parse msg on mention change 2023-03-21 10:09:51 -04:00
Stefan 8aabc0c4b9 tests(wallet) disable add watch only account failing test 2023-03-17 01:24:38 +01:00
Lukáš Tinkl 1998a6556a feat(Profile): New Social Links workflow
TLDR;
- all links visible in settings/popup
- persistent order of items
- drag'n'drop to reorder
- editing/deleting in a new popup
- several links of the same type

Needs changes in nimqml (to expose QAIM::begin/endMoveRows), in
DOtherSide (to expose those to NIM), in status-go (to preserve the links
order and fully save them to DB)

Fixes #9777
2023-03-16 16:08:23 +01:00
Magnus e19f0aa7f7 test(tst_communityPermissions): permissions setting is available
new scenario
2023-03-16 09:20:36 +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
Jonathan Rainville 4a0c2c52e6 fix(tests): fix tests that rely on creating a channel
Fixes #8005
Fixes #9287

Fixes creating, editing and deleting a channel because they rely on createChannel, that sometimes fails because the mouse click was off the button.
2023-03-09 13:06:32 -05:00
Ivan Belyakov 601d3dd0f1 fix(@desktop/wallet): Fix tests for saved addresses.
Minor fixes

Updates: #8599
2023-03-07 15:00:46 +03:00
Noelia 5ffab60f5a ci(e2e): Updated squish version from 6.7.2 to 7.1-SNAPSHOT
- Updated squish version from 6.7.2 to 7.1-SNAPSHOT
- Updated tests readme file.
2023-03-07 10:32:26 +01: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
Jonathan Rainville 40a157a5af fix(test): fix create category test 2023-03-03 16:14:38 -05: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