33 Commits

Author SHA1 Message Date
Anastasiya Semenkevich
6fa519a4c0 test(@tst_wallet_settingsManagement): add test to add new account from settings 2023-07-27 11:27:00 +03:00
Anastasiya Semiankevich
e2b3376f66 chore(@e2e_tests): fix imports and split the tests to feature files 2023-06-07 23:26:18 +03: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
Vladimir Druzhinin
4da388b5bc test/start application with custom data folder
#10293
2023-05-23 07:42:38 -04:00
Anastasiya S
81a79327b6 test(tst_communityPermissions): implement permissions screen validation 2023-05-05 15:48:56 +03:00
Vladimir Druzhinin
7ec7047e9c
test(suite_settings): fix tests (#10265)
#9284
2023-05-03 18:23:12 +02: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
Vladimir Druzhinin
7757c3b47d
test(suite_settings/tst_userIdentity): Fix test on display name, bio and social links (#10226)
- scroll profile settings view added 
- method to add links fixed
- SettingProfile class moved from Settings class
2023-04-24 11:39:07 +02:00
Ivan Belyakov
36940cc81e fix(@desktop/wallet): update tests to remove wallet activation 2023-03-22 10:39:59 +03:00
Magnus
e19f0aa7f7 test(tst_communityPermissions): permissions setting is available
new scenario
2023-03-16 09:20:36 +01:00
Jonathan Rainville
5f4000b7a5 test(chat): re-add chat order test using 1-1 chat
Fixes #9251
2023-02-08 13:54:08 -05:00
Anthony Laibe
6e188de21a fix(@test): enable back delete account 2023-02-06 09:05:30 +01:00
Igor Sirotin
6017a01b9a feat(tst_communityNavigation): Implemented community leave test 2023-01-26 19:27:13 +03: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
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
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
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
Jonathan Rainville
4c1370f7ef test(Settings): adds a test that sends a contact request with chat key 2022-11-29 15:51:29 -05: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
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
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
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
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
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
Jonathan Rainville
aba2a42c6f test(@wallet): allow to use ganache with goerli 2022-09-13 11:56:42 +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