Commit Graph

94 Commits

Author SHA1 Message Date
Stefan 0f1ade6967 tests(chat): adapt gif test and add image unfurling test
The gif test was manually activating the unfurling, which is no longer
necessary. Now check that enabling gifs will enable tenor unfurling

Also add a test for image unfurling and validate the unfurling image
links components and preview settings.
2022-09-19 11:19:17 +02:00
Michal Iskierko 55cb3cbf33 test(group chat): Testing changing group chat's name, color and image.
Fixes #7065
2022-09-14 12:49:43 +02:00
Jonathan Rainville aba2a42c6f test(@wallet): allow to use ganache with goerli 2022-09-13 11:56:42 +02:00
Stefan 8603bb51e8 test(Wallet): fix edit of saved address test 2022-09-12 16:00:31 +02:00
Stefan 1405119f96 chore(SquishTests): improve StatusMainScreen.wait_for_banner_to_disappear
Required for #6898
2022-09-12 16:00:31 +02:00
Stefan 6e78281d99 test(FavouriteSavedAddresses/Wallet): test toggle favourite for saved addresses
Also
- fix the other saved addresses that were relying on the order of
buttons and fail after adding the favourite button
- improve the rest of the tests
- improve debug buttons
- extend driver with helper functions

Closes: #6898
2022-09-12 16:00:31 +02:00
Anthony Laibe ba4aac6456 feat: make screenshot test easy to add between steps 2022-09-02 10:45:23 +02:00
Igor Sirotin 66b79fbda8 tests: Can change own display name in ProfilePopup 2022-09-01 15:31:50 +03:00
Boris Melnik f4b4ec341e fix(tests): Fix emoji autoreplace test 2022-09-01 02:02:27 +03:00
Igor Sirotin 41910c9a8a fix(tests): Fixed message reply test 2022-08-30 17:03:36 +03:00
Jonathan Rainville 6bd1cfde72 test(chat): add a test that install a sticker pack and sends a sticker
Fixes #6962
2022-08-29 10:52:00 -04:00
Jonathan Rainville 109b9ac290 test(community): add a test that pins and unpins messages
Fixes #6894
2022-08-26 10:29:28 -04:00
Boris Melnik 2ef6e04b0a test(chat): Emoji autoreplace
Closes: #7019
2022-08-26 12:57:12 +03:00
Boris Melnik 02b9ceff78 fix(EmojiPopup): Fix emoji suggestions and add tests for it
Closes: #7020
2022-08-26 12:41:28 +03:00
Boris Melnik 10d53454b3 test(chat): Can send a gif
Closes: #6882
2022-08-26 12:18:42 +03:00
Boris Melnik c7efbe6629 test(chat): Can edit a message and save
Closes: #6877
2022-08-26 11:57:59 +03:00
Jonathan Rainville 6a603413c6 test(community-chat): add test to send images in chat
Fixes #6880
2022-08-25 10:23:43 -04:00
Boris Melnik 7b77973b86 test(chat): Can clean chat history
Closes: #6876
2022-08-25 15:17:52 +03:00
Patryk Osmaczko 3aaa0fda13 test(@desktop/chat): add scenario for chats order
covers: #6634
2022-08-24 17:12:47 +02:00
Khushboo Mehta 8eb328bae7 fix(@desktop/sugnup): Profile omage chosen during signup sould be saved for the user and squish test for the same
fixes #6861
2022-08-24 11:21:16 +02:00
Jonathan Rainville 464476d135 test(search): add test for the search feature
Fixes #6885
2022-08-23 13:44:23 -04:00
Khushboo Mehta 29c40a0695 fix(@desktop/wallet): Added squish test for the user being able to turn his state to online and/or offline
fixes #6895
2022-08-23 15:48:37 +02:00
Stefan f2615e3cef tests(Settings): Can backup seed phrase
Added debug helpers found useful in debugging while implementing squish
tests

Closes: #6902
2022-08-23 15:17:36 +02:00
Khushboo Mehta 289209f7ec fix(@desktop/profile): Can set own online state to online, offline
fixes #6895
2022-08-23 14:26:42 +02:00
Noelia 10f34d0610 test(onboarding): Screenshot based testing POC, validating password strength
- Added new test case `tst_passwordStrength` in `suite_onboarding` that uses squish screenshot validation.
- Added verification points (mac OS) for some password strength validations, using pixel comparison and some minor percentage of failure / color precision allowed.

Closes #7003
2022-08-23 12:07:36 +02:00
Noelia fcfcafaac0 test(chore): Refactor that will allow to work in different test suites
WIP:
- Added new global scripts folder `global_shared` where global hooks, names and steps will be stored.
- Created new `suite_onboarding` and moved existing test case related to it as a poc.
- Updated all `test.py` files to use global files and fit the new structure.
2022-08-23 12:07:36 +02:00
MishkaRogachev f45275bb1a test(community): refactor and improve categary relates test cases 2022-08-22 13:25:33 +04:00
MishkaRogachev 9bbbe15d6c test(community): add a test that edits a community category
Close #6888
2022-08-22 13:25:33 +04:00
Jonathan Rainville ae339f796b fix(community-test): fix community test not finding the nav bar 2022-08-19 09:39:53 -04:00
MishkaRogachev 48b7f1c277 test(community): add a test that deletes a community category
Close #6750
2022-08-18 15:33:37 +04:00
Anthony Laibe ade9086b81 test(@wallet): add test for ens name 2022-08-18 13:11:36 +02:00
Anthony Laibe c721bdc2a4 test(@wallet): Add test for toggling network & balance 2022-08-18 13:11:36 +02:00
Noelia b06bae0d4e test(Settings/Language): Can change language
`tst_languageSettings`:
- Feature and basic scenarios definition: Change language by selection and change language by search.
- Added `StatusLanguageScreen` class and related methods to change and validate language.

`SquishDriver`:
- Added support to scroll at a specific list view index.
- Added support  to directly type into a focused element.

`settings_names.py`:
- Added support for object names related to `side bar` options.
- Unified some nomenclature related to settings objects.

`LanguageView`:
- Updated to allow registering the change on Linux before the restart popup is shown so the language test can work.

Closes #6903
2022-08-18 11:28:55 +02:00
Jonathan Rainville 016e3927f2 test(chat): add test that sends a message with an emoji
Fixes #6881
2022-08-17 11:33:36 -04:00
Patryk Osmaczko aeb64e2029 test(settings/profile): test bio and social links
Note: interaction between clients is not tested here to avoid dependency
on mailserver. When mailserver is mocked more comprehensive tests should
be provided, that is: verify if identity properties are propagated
and read correctly between two different clients.

closes: #6950
2022-08-17 13:18:32 +02:00
MishkaRogachev 9e811838e8 test(community): add a test that creates a community category
Close #6752

test/ui-test/testSuites/suite_status/shared/scripts/sections/community_names.py
2022-08-16 20:57:12 +04:00
Jonathan Rainville 3d2d48a705 test(tags): add ignore tags to tests that have a chance to fail 2022-08-16 10:22:20 -04:00
Stefan 057c0ee1c9 test(Communities): can change the emoji of a community channel
Closes #6887
2022-08-16 14:18:16 +02:00
Stefan e33fdafc68 test(Settings) leave community
Also add option to retrieve multiple objects with the same "Real Name"
and other required helpers

Closes: #6886
2022-08-16 14:03:59 +02:00
Noelia 1334fbb5f4 test(chat): Can do a mention in a chat
`tst_chatFlow`:
- Commented out bc of `mailserver` issues and then weak.
- Added basic test scenario for sending a mention in a public chat with needed validations.
- Added basic test scenario to check a mention cannot be done if it is a non existing user.

`StatusChatScreen` updates:
- Updated join room method to validate the chat is loaded.
- Added methods for doing and verifying a mention.

`SquishDriver` updates:
- Added support in `SquishDriver` to click into a link in a text or label component.
- Minor function renames.

Closes #6879
2022-08-16 13:42:56 +02:00
Stefan 5fb4c7f110 test(community): delete community channel
Also adds  verify_equal helper function

Fixes #6751
2022-08-16 11:51:20 +02:00
Khushboo Mehta 210d5ca2eb fix(@desktop/wallet): Can see collectibles for an account
fixes #6896
2022-08-15 11:53:17 +02:00
Khushboo Mehta e9e0161e3c fix(@desktop/wallet): Add Squish test for edit account
fixes #6754
2022-08-12 18:42:31 +02:00
Jonathan Rainville 25feb98190 test(wallet): comment out balance test since it relies on Infura 2022-08-11 15:43:20 -04:00
Sale Djenic 86a06c9ef9 test(@desktop/general): can quit app by going to settings -> quit
Fixes: #6905
2022-08-11 21:39:34 +02:00
Anthony Laibe 2f7e6998bf test(@wallet): Add test for toggling network & balance 2022-08-11 14:09:07 +02:00
Jonathan Rainville 44cf440a05 test(community): add a test that edits a community
Fixes #6756
2022-08-10 16:24:26 -04:00
Anthony Laibe 1b6fc3b266 test(@wallet): fix test on CI 2022-08-10 20:56:01 +02:00
Jonathan Rainville 1dd6385cae test(all): fix all remaining tests and comments the broken ones
Fixes #6853
2022-08-09 16:51:30 -04:00
Anthony Laibe 7aa7e01f36 test(@wallet): fix broken test on wallet 2022-08-09 10:34:43 +02:00