Commit Graph

43 Commits

Author SHA1 Message Date
Anastasiya Semenkevich 38b3e03fe5 chore: simplify new permission class 2024-11-11 19:09:24 +03:00
Anastasiya ca1182e3f9 chore(@e2e): various fixes for tests 2024-10-29 21:16:40 +03:00
Anastasiya Semenkevich f48eed2b28 chore: refactor community tests to use random community data 2024-10-18 20:14:28 +03:00
Anastasiya Semenkevich 3623807f62 chore: update password range and make change password test required for PRs 2024-10-16 22:24:56 +02:00
Anastasiya Semenkevich 14637a8709 chore: fix max limit for password to keep it 64 chars 2024-10-11 18:48:37 +02:00
Anastasiya Semenkevich 273a960471 chore: update timeouts 2024-10-08 13:10:15 +03:00
Anastasiya Semenkevich 1af622a8db chore: fix community channels and categories locators 2024-09-26 16:46:26 +03:00
Anastasiya Semenkevich 36e383eec6 chore: update random seed generator 2024-09-02 10:01:35 +03:00
Anastasiya Semenkevich 69cdd30c11 tests: add account with derivation path test randomised 2024-08-28 19:44:15 +03:00
Anastasiya Semenkevich ad68f46c5b tests: use randomly generated seed where possible 2024-08-26 11:52:39 +02:00
Anastasiya Semenkevich 66fac6fa96 tests: refactor user.py 2024-08-21 17:06:41 +03:00
Anastasiya Semenkevich 5cae2edf08 chore: make tests running for dev build and update marks 2024-08-08 13:22:33 +03:00
Valentina Novgorodtceva 60ee909598 chore: increased timeout for some buttons and created fixture to close apps before session 2024-07-25 12:20:56 +03:00
Anastasiya Semenkevich 1c5aad7733 chore: replace conditions with function call in system.py 2024-06-18 15:04:44 +03:00
Anastasiya Semenkevich dc628f300a chore: terminate process on windows 2024-06-18 15:04:44 +03:00
Valentina1133 1250373037
chore: more verifications added (community title and description on web page) (#15022) 2024-06-13 21:18:41 +07:00
Anastasiya Semenkevich 9ce23fe556 chore: squeeze 2 kill methods to 1 2024-06-12 13:09:23 +03:00
Anastasiya Semenkevich e8e1e08a89 chore: use sigkill to kill the process 2024-06-11 14:20:04 +03:00
Valentina Novgorodtceva 2467af110f test: share community link test 2024-06-03 10:13:14 +03:00
Anastasiya Semenkevich e2f2a34a8b Increase timeout for wait_for_port
Following up Squish advise:

In the wait_for_port.py, you are using socket.create_connection() where the timeout is set to 1.
Could you increase the timeout here and also put a check before to make sure that port is not in the use anymore, before proceeding to launch the AUT.
2024-01-23 10:06:21 +03:00
Anastasiya Semenkevich 8c38cb1616 chore: update error message
Error message has been changed in ff9062a1b0 (diff-4ac30c280b7ceca7b505ab0551b9e009295aae3147253c43ae8821e9d6c0ed69R682)
2024-01-09 16:03:31 +03:00
Jakub Sokołowski 255f88fbb0 chore(all): rename _logger to LOG to match changes
Some of them were renamed in:
https://github.com/status-im/desktop-qa-automation/pull/352

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:58:22 +01:00
Jakub Sokołowski 8351ae80ca fix(logs): send logs to a single file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:54 +01:00
Jakub Sokołowski 7eab188b32 feat(all): logging to files for drivers and fixtures
Otherwise it's very hard to debug anything at all.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:53 +01:00
Jakub Sokołowski bbc81717ce fix(all): refactor killing processes and waiting
* Use `psutils.pid_exists()` instead of iterating processes for no reason.
* Drop use of recursion which is completely unnecessarily complex. Use loop.
* Remove checking of `returncode` right away after process starts, it's too soon.
* Lower `PROCESS_TIMEOUT_SEC` to 5 seconds to avoid needless delays.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:46 +01:00
Jakub Sokołowski eec2e382d8 feat(driver): wait for Squish server port to listen
Doing silly retries is just not reliable, this is.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:44 +01:00
Jakub Sokołowski 05ad2ebadb fix: remove windows carrige returns from files
Drives me crazy.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 10:00:56 +03:00
Vladimir Druzhinin 29b78cc12e chore: Create screenshot of multiple instances on test fail (#273)
#271
2023-11-07 18:26:07 +01:00
Vladimir Druzhinin 0219df1eba chore: Improve AUT methods (#223)
- Close and Detach methods are merged
- Saving pid in Aut changed to close after AttachError
- Collect all pid that use port
2023-10-27 13:44:45 +02:00
Anastasiya Semenkevich 0b09050410 fix(@wallet_manage_accounts_test): fix test for watched address (#162)
* fix(@wallet_manage_accounts_test): fix test for watched address

* Start squish server on new port

---------

Co-authored-by: Vladimir Druzhinin <vlado@status.im>
2023-10-11 13:38:55 +03:00
Vladimir Druzhinin e292a0d347 Fix/147 test sync device (#157)
* Code was formatted with pep8 recommendations

* Fix attaching squish server config
2023-10-09 19:04:29 +02:00
Vladimir Druzhinin e768492703 Fix/143 image comparison (#150)
* Attach squish server config to test report

* Fix image comparison on CI 

#143

* Fix failed image comparison

#143

* List branches added

#144
2023-10-09 11:38:48 +02:00
Vladimir Druzhinin 12ff7e2340 Fix failed tests for Mac (#128) 2023-10-02 11:21:12 +02:00
Vladimir Druzhinin 61b87e0d23 Fix start AUT 2023-09-13 09:47:51 +02:00
Vladimir Druzhinin 26b77dba45 Test(Community) Join community via owner invite
#96
2023-09-11 21:48:52 +02:00
Vladimir Druzhinin 02ad676fdc Test/93 community channel (#12057)
* Test(Community) Create, edit community

#90

* Test(Community) Create, Edit and Delete Channel

#93

* Test(Fix) System dialog for local build fixed on Mac

#95

* Test(Fix) Typo

#93
2023-09-04 20:36:48 +02:00
Valentina1133 e56aac906f test(Wallet) Test Manage a saved address automated (#12034) 2023-09-01 18:18:04 +07:00
Vladimir Druzhinin 0d17fafb88 Test(Community) Create, edit community (#12021)
#90
2023-08-29 16:43:00 +02:00
Vladimir Druzhinin 8b4c31fe63 test(AUT Close) The closing AUT process by pid (#11955)
#85
2023-08-22 17:15:25 +02:00
Vladimir Druzhinin bfa7866cee test(Onboarding) Test on Import: 12 word seed phrase added
#86
2023-08-14 10:26:58 +03:00
Vladimir Druzhinin 768b05ac1b test(Onboarding) Skip closing test app (#11837)
- Closing all app instances by port for local run and by process name for CI
- Threshold for emoji hash decreased in image
comparison 
- Verification point for cropped user icon added
2023-08-10 08:58:50 +02:00
Vladimir Druzhinin fe724ef186 Test(pytest) start aut (#11482)
* test(pytest) The driver methods added. Wrappers for UI elements added.

#67

* test(pytest) Squishserver added

#68

* test(pytest) Attach/Detach AUT methods added

#69

* test(pytest) Main window handler added

#70

* test(pytest) Save screenshot on fail added

#71

* test(pytest) Wait for squishserver added

#71

* test(pytest) Setup Windows

#71

* Generate new keys (#11804)

* test(pytest) Image comparison methods added

#76

* test(pytest) Tesseract methods added

#77

* test(pytest) The Methods to search color on image added

#80

* test(onboarding) Test on generation new keys added

#75

* test(pytest) Handlers for OS Native File dialog added

#81

* test(Onboarding) Test on Profile image added

#83

* Allure and TestRail integration (#11806)

* test(Allure) Steps descriptions added

#72

* test(TestRail) Integration

#72
2023-08-04 20:27:03 +02:00
Vladimir Druzhinin 13af133ab6 test(pytest) Import squish as a python module. (#11421)
#66
2023-07-10 17:55:10 +02:00