Commit Graph

21 Commits

Author SHA1 Message Date
Anastasiya Semenkevich 7776869131 Update aut.py 2024-03-15 15:41:46 +03:00
Valentina Novgorodtceva a1e4591bc4 chore: attach logs for failed test and remove squish config from allure 2024-03-12 15:20:07 +03:00
Anastasiya Semenkevich 40530954db chore: do not remove logs after run 2024-03-07 17:54:27 +03:00
Valentina Novgorodtceva 9d8a7dfbcc chore: skipping testrail report added if getting testrail error 2024-02-28 11:33:39 +03:00
Jakub Sokołowski 920b54e94c chore(all) rename _logger to LOG to match refactor
Related to:
https://github.com/status-im/desktop-qa-automation/pull/352

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-05 22:56:49 +01: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 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 ca984fa7a0 chore(testrail): refactor init_testrail_api
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:52 +01:00
Jakub Sokołowski 9ae8173a0b fix(driver): drop retries from AUT launch method
The retries are just adding complexity and not helping.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:50 +01:00
Jakub Sokołowski 5d8d7aaa39 fix(all): rename APP_DIR to AUT_PATH to reflect purpose
The name APP_DIR suggests the path is a directory, but it's not.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:47 +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
Vladimir Druzhinin 4a181ccf4c chore: Mock keycard option added in start AUT (#261)
#260
2023-11-06 12:31:34 +01:00
Vladimir Druzhinin dbf485f669 chore: add reporting of nightly results to test rail (#228)
* chore: Rerun failed test added

* chore: Create Test Run in TestRail if it not exists

#227
2023-11-02 17:08:22 +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
Vladimir Druzhinin 7a1bcedd30 Fix/167 communities (#207)
* Fix test_create_community

#167

* Setup cursor animation

#167

* Fix test_sync_device_during_onboarding

#167
2023-10-25 15:38:48 +03:00
Vladimir Druzhinin 243f8f5e20 Jenkinsfiles were merged (#164)
#163
2023-10-13 13:22:50 +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 d545829724 Attach app logs added (#129)
#123
2023-10-04 10:54:13 +02:00
Vladimir Druzhinin fd64142295 Ci/74 jenkins file (#118)
* Set up Jenkins file

#74

* Fix Allure trend

* Display resolution changed on CI

* TestRail integration

* Fix test on create community

* Fix wallet tests

* Fix field description in jenkinsfile

* Test name and test scope parameters were split in Jenkinsfile

* Clean up moved in post stage

* Environment variables set up changed in JenkinsFile

* Fix test ID

* Fix warnings in JenkinsFile

* Copy artifacts directory changed

* Fix of two space indentations in Jenkinsfile

* Extra environment variable removed

* Move tests wallet in one folder

---------

Co-authored-by: Valentina Novgorodtceva <valentina@status.im>
2023-09-28 14:44:13 +02:00