Commit Graph

69 Commits

Author SHA1 Message Date
Anastasiya Semenkevich 73025c5a0a chore: several object names for permissions tags 2023-12-28 22:06:36 +03: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
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
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 f7db677c95 chore(@tests): switch off some tests that are failing on linux 2023-09-27 18:23:22 +03: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
Alex Jbanca 7d4df690c5 feat: Add Ban/Kick Pending state in the Community members settings. 2023-08-11 17:55:51 +03: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
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
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
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
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
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
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
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
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
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
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
Jonathan Rainville b45cc15e32 fix(community-tests): fix edit and delete category tests 2023-03-28 09:49:32 -04: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
Magnus e19f0aa7f7 test(tst_communityPermissions): permissions setting is available
new scenario
2023-03-16 09:20:36 +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
Jonathan Rainville 40a157a5af fix(test): fix create category test 2023-03-03 16:14:38 -05:00
Jonathan Rainville 7a3144ebfc test(community): re-add mark as read test in community tests
Fixes #9250
2023-02-08 13:46:15 -05:00
Jonathan Rainville 2f3d1fcf46 test(community): re-add sticker test as community test
Fixes #9249
2023-02-08 13:24:50 -05:00
Jonathan Rainville a055929f92 test(community): re-add emoji tests
Fixes #9246 #9247 #9248
2023-02-08 13:19:35 -05:00
Jonathan Rainville a4c8419aa9 test(community): re-add test for mention non existing user
Fixes #9245
2023-02-08 13:12:31 -05:00
Jonathan Rainville 5bb4a3741d test(community): re-add test that does a mention
Fixes #9244
2023-02-08 13:01:53 -05:00
Jonathan Rainville b798b18c18 test(community): re-add a couple of chat tests in community tests
Fixes #9240 #9241 #9242 #9243 #9239
2023-02-08 12:34:58 -05:00
Jonathan Rainville 0bd957e71a test(community): re-add test that replies to another message
Fixes #9238
2023-01-31 16:54:01 -05:00
Jonathan Rainville e54e08d81f test: re-add edit test as a community test
Fixes #9237
2023-01-31 16:52:32 -05:00
Igor Sirotin 6017a01b9a feat(tst_communityNavigation): Implemented community leave test 2023-01-26 19:27:13 +03: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
Jonathan Rainville 4a93fa14bc chore(tests_: remove tests that use public chats 2023-01-25 10:05:55 -05:00
mprakhov b7c1250115 Draft: fix check 2023-01-16 14:46:08 +02:00
Jonathan Rainville a0b17c3879 chore: add mayfail on community edit tests 2023-01-05 15:21:38 -05:00
mprakhov 4a5c439160 test(@desktop/community): [suite_communities / tst_communityFlows]
Validate in 'The admin edits a community' test description and color
2023-01-05 14:49:27 +02:00