221 Commits

Author SHA1 Message Date
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
Anthony Laibe
6e188de21a fix(@test): enable back delete account 2023-02-06 09:05:30 +01: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
MishkaRogachev
e0ba80a085 feat(AppMain): Replace MailserverConnectionDialog with banner
Close #6213
2023-01-30 12:40:31 +04:00
Jonathan Rainville
7a3a984fa4 test(env-var): add TEST_ENVIRONMENT env var for test specific changes
Fixes #9210

Adds the `TEST_ENVIRONMENT` that stops banners from showing and touch id to be activated (needs to be tested by someone on Mac).

Also improves the waiting time on verifying screens. Will undo that change if it becomes flaky.

To make sure your local tests still work well and hide the banner as well, make sure to put `TEST_ENVIRONMENT=1` in the suite settings' env vars
2023-01-27 11:26:41 -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
Igor Sirotin
6017a01b9a feat(tst_communityNavigation): Implemented community leave test 2023-01-26 19:27:13 +03:00
Ivan Belyakov
f2549fc1ff feat(@desktop/wallet): update wallet navigation
Fixed StatusBaseButton to expose a property to load either normal
icon or a round one.
Implemented new wallet navigation according to design in Figma.
Fixed regression: small accounts icons in accounts list view.
Updated wallet test.

Fixes #8598
2023-01-26 09:49:29 +01: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
Noelia
7a1c768898 test(suite_settings): Restore broken tests
Updated `walletInitSteps` and `settingsSteps` properly: `settingsSteps.py` was referring to some `wallet_init_steps` methods but it was not imported. Reorganization and cleanup.
2023-01-23 15:04:14 +01:00
mprakhov
b7c1250115 Draft: fix check 2023-01-16 14:46:08 +02:00
Jonathan Rainville
a0ac5b3439 chore(wallet-test): tag wallet test generate and delete as @mayfail 2023-01-12 16:55:07 -05:00
Jonathan Rainville
acf67c33d5 chore(test): make observe watch only account @mayfail 2023-01-12 15:18:03 -05:00
Jonathan Rainville
a0b17c3879 chore: add mayfail on community edit tests 2023-01-05 15:21:38 -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
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
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
Sale Djenic
735f6e70aa test: add missing @mayfail to send image tests 2023-01-04 11:15:58 +01:00
Noelia
ec8c64d7a1 test(tst_userIdentity): Fix test scenarios broken due to new user profile design
- Fixed test scenarios broken due to new user profile design.
- Added new verifications in social links: github, youtube, discord and telegram.
- Scenario statements reorganization.

Fixes #8281
2022-12-20 15:53:50 +01: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
Lukáš Tinkl
73cc621f0c fix: Rename "Chat" tooltip to "Messages"
... and do it the proper way, ie. make the string translatable as we
can't handle translations coming from NIM files at the moment

Closes #8418
2022-12-13 03:46:25 +01:00
Alex Jbanca
0526dca298 Fix "The user signs up with a profile image" squish test case 2022-12-07 20:18: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
Jonathan Rainville
4c1370f7ef test(Settings): adds a test that sends a contact request with chat key 2022-11-29 15:51:29 -05:00
Patryk Osmaczko
5d305a5221 refactor(StatusAppNavBar): simplify navbar
- removed imperative filtering
- removed imperative size calculation
- removed all ugly hacks

fixes: #7167
fixes: #8463
2022-11-29 16:06:33 +01:00
mprakhov
8f13ad8f93 test(@desktop/chat): Can reply to a message in a community channel 2022-11-28 14:19:00 +02: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
mprakhov
92da7ee9a3 fix(@desktop/test): [suite_communities / tst_communityFlows] - 'The admin changes the emoji of a channel' 2022-11-24 14:50:43 +02:00
Boris Melnik
f6458facfc fix(messaging): Fix processing successfuly sent messages and remove @mayfail from relevant ui test
Fixes: #7961
2022-11-22 14:19:08 -05:00
Noelia
2d204c99d8 test(suite_settings/tst_signUpAndQuit): Disabled bc it is unstable
It fails sometimes reporting a FATAL error in CI execution: "The AUT did not respond to network communication".
2022-11-22 18:55:02 +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
1da0cf9c79 test(onboarding): Improved validation after login
Added validation of empty chat panel image to check that `StatusMainScreen` is ready.
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
Noelia
80bb09cc67 test(suite_onboarding): Update bdd hooks related to the suite and suite cleanup and reorganization
- Added specific `bdd_hooks.py` for `tst_passwordStrength`.
- Updated `tst_passwordStrength` screenshots (now taken when input is focused).
- Restored `tst_statusLoginPassword` scenarios.
- `tst_statusSignUp` will only contain positive signup test case.
- Created new test case tst_signUpSeedPhraseNegativeCases`.
- Created new test case `tst_signUpNegativeCases` with specific `bdd_hooks.py`.

Closes #8013
2022-11-21 08:55:38 +01:00
Khushboo Mehta
8084b90b5c test: Renabled test case for Simple transaction
fixes #7983
2022-11-20 14:44:37 +01:00
Noelia
d42e1fdc89 test(suite_settings/tst_mainSettingsSection): Disabled The user can backup seed phrase bc it is unstable
`The user can backup seed phrase` scenario has been disabled due to its instability. It fails sometimes in the CI so it needs a review.
2022-11-18 19:54:57 +01:00
Noelia
90167ee79a test(suite_communities/tst_communityMessageFlows): Disabled The user pins and unpins messages bc it is unstable
`The user pins and unpins messages` scenario has been disabled due to its instability. It fails sometimes in the CI so it needs a review.
2022-11-18 19:54:57 +01:00
Noelia
ac89fc770b test(suite_settings): Updated bdd hooks and suite reorganization
- Created new test case `tst_signUpAndQuit`.
- Renamed `tst_settingsMenu` to `tst_mainSettingsSection`.
- Created specific `bdd_hooks.py` for test case `tst_mainSettingsSection` and `tst_userIdentity`.

Closes #8011
2022-11-18 19:54: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
Anthony Laibe
15891295e9 test(@wallet): enable mayfail test 2022-11-10 15:43:02 +01:00