Commit Graph

81 Commits

Author SHA1 Message Date
Sale Djenic ba5e259296 chore(savedaddresses): saved addresses improvements
Closes #13140
2024-01-12 14:23:35 +01:00
Vladimir Druzhinin 22d1913f47
Test(Hotfix) Fix import module (#11991)
* Test(Hotfix) Fix import module

* test(suite_messaging) tst_OneToOneChatFlow skipped
2023-08-23 12:32:43 +02:00
Vladimir Druzhinin 18b1579cfd
test(AUT Close) The closing AUT process by pid (#11955)
#85
2023-08-22 17:15:25 +02:00
Vladimir Druzhinin 13228f4c28
test(AUT) Skip closing AUT process at the end of the test (#11701)
#85
2023-07-28 17:20:29 +02:00
Noelia eb37f44a23 feat(OwnerToken): Create Get started panel and add it to Tokens and Airdrops welcome views
- Added start panel in tokens welcome page.
- Added start panel in airdrop welcome page.
- Updated e2e tests according to new requirements.

Closes #11284
2023-07-11 11:07:01 +02:00
Anastasiya Semiankevich cdb838d578 chore(@e2e_tests): add logic to use networks selector only if address is hex 2023-06-20 11:54:48 +03:00
Vladimir Druzhinin a1f3485f98
Tests fix (#10871)
- "id": "edit" removed in object names
- closing app improves via waiting for close context
- attempts added for unstable actions on UI
- detach application with waiting for process close added
2023-06-02 16:34:09 +02:00
Igor Sirotin 7eed470829
fix(StatusScrollView): Change implementation to inherit ScrollView (#10789) 2023-05-31 23:58:23 +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
Vladimir Druzhinin 0d38f7acdb
Test/10287 suite wallet (#10675)
* test(suite_wallet): tests fix
#10287
2023-05-17 16:39:58 +02:00
Anastasiya S 81a79327b6 test(tst_communityPermissions): implement permissions screen validation 2023-05-05 15:48:56 +03:00
Vladimir Druzhinin 219eb04da9
test(suite_onboarding): fix tests (#10260)
#9285
2023-05-04 18:18:19 +02:00
Vladimir Druzhinin 7ec7047e9c
test(suite_settings): fix tests (#10265)
#9284
2023-05-03 18:23:12 +02:00
Vladimir Druzhinin c85cead983
tests: fix start application issue (#10505)
- two attempts added
2023-05-02 17:54:27 +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
Vladimir Druzhinin cdb206d8fa
test(suite_settings/tst_mainSettingsSection): Fix test on backup seed phrase validation (#10326)
#8279
2023-04-17 13:01:37 +02:00
Vladimir Druzhinin 89c5780cb1
test(suite_settings/tst_mainSettingsSection): Fix test on backup seed phrase (#10306)
#8279
2023-04-14 17:16:49 +02:00
Vladimir Druzhinin 0463031e31
test(suite_settings/tst_mainSettingsSection): Fix test on backup seed phrase (#10204) (#10295)
#8279
2023-04-13 22:02:19 +02:00
Sale Djenic fae1fd2668 chore(@desktop/ui-test): duplicate function removed 2023-04-13 19:51:10 +02:00
Vladimir Druzhinin b77c0f13a9
test(suite_settings/tst_mainSettingsSection): Fix test on backup seed phrase (#10204)
#8279
2023-04-13 16:53:50 +02:00
Ivan Belyakov 601d3dd0f1 fix(@desktop/wallet): Fix tests for saved addresses.
Minor fixes

Updates: #8599
2023-03-07 15:00:46 +03:00
Stefan 16ed8739e8 fix(wallet) fix Add Account Modal and wallet tests
- fix add-account-modal custom derivation checkbox blocking all workflows
- fix, improve and enable wallet tests
- wait_for_text_matching alternative, to is_text_matching, to check also for content as squish driver API
- add objectName based lookup for in some places where user-text was used
- add workaround to retry for 10 seconds add watch due to flakiness
- rename SquishDriver.type to type.text not to conflict with python's type
- add optional timeout to some APIs
- ignore error for extra step in reaching onboarding seedphrase in linux

Updates: #9576
2023-03-01 15:36:06 +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 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
Alex Jbanca 0526dca298 Fix "The user signs up with a profile image" squish test case 2022-12-07 20:18:57 +01: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
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
Pascal Precht d536634fee cleanup(squish): remove redundant definition of `mouse_over_object` api
Probably a mistake. This was defined twice in our package.
2022-11-17 20:20:19 +01: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
Stefan 93af435bf9 fix(tests): don't rely on quick actions, wait for components to be ready
Onboarding tests fail on mac. The fix is to wait for the delayed
components to be ready before clicking on the quick actions.
2022-09-19 13:16:22 +02:00
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
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 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
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
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
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
MishkaRogachev f45275bb1a test(community): refactor and improve categary relates test cases 2022-08-22 13:25:33 +04:00
MishkaRogachev 48b7f1c277 test(community): add a test that deletes a community category
Close #6750
2022-08-18 15:33:37 +04: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