Commit Graph

37 Commits

Author SHA1 Message Date
Jonathan Rainville 5f4000b7a5 test(chat): re-add chat order test using 1-1 chat
Fixes #9251
2023-02-08 13:54:08 -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 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 e54e08d81f test: re-add edit test as a community test
Fixes #9237
2023-01-31 16:52:32 -05:00
Jonathan Rainville 03095f995e test(one-to-one): add mayfail to one to one test as it fails often 2023-01-27 10:51:21 -05:00
Jonathan Rainville 4a93fa14bc chore(tests_: remove tests that use public chats 2023-01-25 10:05:55 -05:00
Jonathan Rainville 67e0df17e1 test(contact): add a test that sends a contact request from the chat
Fixes #6883
2023-01-05 15:21:38 -05:00
Jonathan Rainville 235c0d3042 test(community): add a test where the admin can delete a user's message
Fixes #6891
2023-01-04 11:12:47 -05:00
Boris Melnik 46b0a82001 uitest(edit-message): Check if message can be edited several times 2022-12-15 17:49:11 +03:00
Michal Iskierko 0da0360beb fix(@desktop/tests): Fixing gif and image unfirling scenarios
Fix #7912
2022-12-14 12:55:57 +01:00
Igor Sirotin 3d6324ce64 Separated chats order scenarios 2022-12-06 23:42:42 +03:00
Igor Sirotin d48ea97027 Minor fixes. Feature comments. 2022-12-06 23:42:42 +03:00
Igor Sirotin a8406b9158 feat(tst_chatsNavigation): Restored chats navigation tests 2022-12-06 23:42:42 +03:00
Igor Sirotin e3bfdc0f09 fix(StatusPopupMenu): Refactoring 2022-12-02 10:30:50 +03:00
Michal Iskierko 48b2b978e4 fix(@desktop/test): Fixing chat flow test
Fixing hover menu problems: reply, edit, delete message.

Fix #7911
2022-11-28 11:17:00 +01:00
Patryk Osmaczko d0725d451e fix(ui-test/ChatFlow): retry to load stickers
For some reason stickers are not loaded for the first time. User has now
the ability to retry the loading procedure. Retry action loads stickers
successfully in most cases.

fixes: #7995
2022-11-25 17:06:59 +01:00
Noelia b9fd986c56 fix(suite_messaging): Solved incorrect import
Replaced `steps.startupSteps` to `steps.commonInitSteps`
2022-11-22 18:55:02 +01:00
Noelia 78d23ccde8 test(chore): Add Automatic Screenshots on Test Failures and Errors
Set `logScreenshotOnFail` property.

Closes #8330
2022-11-22 18:55:02 +01:00
Noelia ed42928f0b test(chore): Renamed and reorganized files and added files flow diagram
Renamed `startupSteps.py` to `commonInitSteps.py`.
Cleanup `Processes` folder (not used).
Moved `walletInitSteps.py` inside the own suite steps.
Added files flow diagram.

Closes #8353
2022-11-22 12:44:57 +01:00
Pascal Precht 2ba6dc32f6 tests(suite_messaging): add assertion that message was indeed edited
This adds an assertion that checks whethere a message was indeed edited
by checking its `isEdited` property.
2022-11-17 20:39:27 +01:00
Pascal Precht dbf7fa4aab tests(suite_messaging): properly check if reply message has reply
Prior to this commit we were merely checking if the message in question
was the last one.

With this commit we now check whether there's a reply in the first place
and whether the reply-to-message is the correct one.

We also distinguish whether the message we're replying to is the one
from the loggedin user (and not someone else's)
2022-11-17 19:44:44 +01:00
Noelia dc96ea8aff test(status_messaging/tst_groupChat-adminGroupChat): Added steps to cleanup group chat in needed scenarios
- Added steps to leave the created groups chats so the reusable accounts will keep clean.
- Replaced reusable accounts to fresh ones since there where lots of groups chats created under the existing ones.
- Added `relyon-mailserver` tag in `adminGroupChat` because it is needed a cleanup of the chat in all users (and the new created chat info is not available always due to `mailServer`).

Closes #6615
2022-11-15 09:54:55 +01:00
Noelia e9f84b2973 test(suite_wallet): Created `bdd_hook` for each `suite_wallet` test case
- Created `bdd_hooks` that contain the sing up steps just only once in the feature start and the needed start steps depending on the test case.

- Updated feature files removing sign up steps and given/when/then reorganization.

Closes #8026
2022-11-10 15:43:02 +01:00
Jonathan Rainville 0806d657d3 fix(community-tests): fix a couple community tests 2022-10-28 14:56:29 -04:00
Jonathan Rainville 794563bfff test(chat): add a test to create a one to one chat with a mutual contact
Fixes #6884
2022-10-28 14:45:28 -04:00
Jonathan Rainville 68fbaeadc1 test(community): add test that invites a user to the community 2022-10-26 12:32:52 -04:00
Noelia fa265b5e79 test(suite_communities): Created `bdd_hook` for each `suite_communities` test case
- Created `bdd_hooks` that contain the sing up steps just only once in the feature start and the needed start steps depending on the test case.

- Updated feature files removing sign up steps and given/when/then reorganization.

- Done some cleanups and reorganization in `communitySteps.py` and `searchSteps.py`.

Closes #7955
2022-10-25 16:01:41 +02:00
Noelia 8121f052ef test(suite_messaging/tst_ChatFlow): Added tag `mayfail` bc it is weak on the CI
Disabled test case since it is weak on the CI. It works standalone but when it runs as part of the sequence and mostly in the CI, the action of verification doesn't work.
2022-10-21 10:17:31 +02:00
Noelia 803bf48e99 test(suite_messaging/tst_adminGroupChat): Created new test case `tst_adminGroupChat`
Moved admin related scenarios from `tst_groupChat` to the new created one `tst_adminGroupChat`.
2022-10-20 16:06:39 +02:00
Noelia cc64e443e4 test(chore/style): Applied parameters style consistency on `suite_messaging` and some `onboarding / login` statements
To make the feature files style consistent for direct string and also use it for examples (params), it has been introduced "" to all plain strings and also into the parameters, that now will be written like this: "<example-param>": Applied on the complete `suite_messaging` and in specific statements of the `onboarding / login`.
2022-10-20 16:06:39 +02:00
Noelia 728aa00c3c test(chore/suite_messaging): Added specific `bdd_hooks` for `suite_messaging/tst_ChatFlow`
- Reviewed `suite_messaging/tst_ChatFlow` feature: Cleanup of duplicated steps and separation of action / validation applied.

- Reviewed `suite_messaging/tst_groupChat` feature.

- Added new tag to `Jenkins` file: `relyon-mailserver`.

- Added new `StartupSteps` class to manage init / startup static methods outside bdd steps. It can be used as a util in `hooks` and `steps`.

Closes #7931
2022-10-20 16:06:39 +02:00
Noelia 94910e9554 fix(Onboarding): Give consistency to Create / Confirm password view font-size
Updated `Create` and `Confirm` password views according to new design decisions taken to give consistency to the onboarding screens (related to font-size).

Updated related squish test cases: Screenshots updated with new font-size and refactored some objectNames and objects that where using `text` property instead of `objectName`.

Updated `Input` components to `StatusPasswordInput` ones.

Fixes #7447
2022-10-13 16:15:36 +02:00
Boris Melnik 891a99a0cc fix(uitest): Mark group chat test as mayfail 2022-10-12 16:33:18 +03:00
Noelia b2f927b716 test(suite_messaging): Created new suite_messaging
Created new `suite_messaging` where all related chat tests will be migrated to.
- `tst_ChatFlow` has been moved to new `suite_messaging`. It still contains some broken tests.
- `tst_groupChat` has been moved to new `suite_messaging`. It is now working (but it relies on the mailserver so could fail sometimes).
- `tst_statusLoginPassword` has been moved to new `suite_onboarding`.
- It has been needed to move some object definitions from `chat_names.py` to `global_names.py` since they are shared between different suites.
- Some other minor object and steps definitions have been moved to fit with the new structure.

Closes #7624
2022-10-04 11:17:47 +02:00