Commit Graph

11 Commits

Author SHA1 Message Date
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 a8406b9158 feat(tst_chatsNavigation): Restored chats navigation tests 2022-12-06 23:42:42 +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
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 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 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 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