Commit Graph

47 Commits

Author SHA1 Message Date
Anastasiya Semenkevich 5cae2edf08 chore: make tests running for dev build and update marks 2024-08-08 13:22:33 +03:00
Valentina Novgorodtceva 2a4e341f9d chore: keycard env set separately for keycard tests only 2024-07-12 14:02:11 +03:00
Anastasiya Semenkevich d814ec12ef chore: remove repetitive code and re-order some classes 2024-07-12 13:00:10 +03:00
Anastasiya Semenkevich 1c5aad7733 chore: replace conditions with function call in system.py 2024-06-18 15:04:44 +03:00
Anastasiya Semenkevich 469d527cf0 chore: remove semicolon from the paths files to make windows happy 2024-06-17 15:43:32 +03:00
Anastasiya Semenkevich c016333aad chore: use correct variable in default config template 2024-06-04 10:55:56 +03:00
Anastasiya Semenkevich 225fe15464 chore: update local config template file 2024-06-04 09:26:21 +03:00
Anastasiya Semenkevich 39445afd89 chore: screenshot on fail improved 2024-03-07 17:54:27 +03:00
Anastasiya Semenkevich 0848301498 chore: better dirs naming 2024-03-07 17:54:27 +03:00
Anastasiya Semenkevich 40530954db chore: do not remove logs after run 2024-03-07 17:54:27 +03:00
Anastasiya Semenkevich b73346200b chore: increase process timeout for 10 seconds 2024-01-23 10:06:21 +03:00
Anastasiya Semenkevich 838c916fc2 chore: added random selection of pictures (diff types) 2023-12-21 23:10:47 +03:00
Valentina Novgorodtceva ea7089dedc chore: container for search text edit field changed 2023-12-07 16:24:38 +07:00
Valentina Novgorodtceva fa48dad825 test: test_wallet_send_0_eth added 2023-12-07 16:24:38 +07: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 76c04968fe feat(ci): add LOG_LEVEL parameter for Jenkins jobs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:57:36 +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 1d1a0b7d44 feat(configs): add assert for SQUISH_DIR env var
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:52 +01:00
Jakub Sokołowski 47f7a092b0 feat(driver): redirect AUT logs to files
Send application logs to `aut_stdout.log` and `aut_stderr.log` files.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:48 +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
Jakub Sokołowski 917a4bfde1 fix(driver): remove pointless ATTACH_MODE config value
Removing `ATTACH_MODE` since as far as I can tell it's always `true`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-12-01 14:48:42 +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
Anastasiya d7908775f0 chore: several changes for wallet settings tests (#317)
* chore: fix several wallet tests

* disable account ordering because of bug

* remove test self as not needed anymore

* add log level

* click the revert button 2 times
2023-11-17 17:27:51 +03:00
Anastasiya 41d431c136 chore: add object names to beta consent popup and test mode env variable condition (#308)
* chore: add object names to beta popup

* chore: add check for env variable
2023-11-16 13:48:17 +03:00
Vladimir Druzhinin ecd9067551 chore: Dependence on Jenkins Job name removed in TestRail configs (#287)
#276

Co-authored-by: vlado@status.im <Vladimir Druzhinin>
2023-11-15 11:42:02 +03: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 46e77e14e9 Chore/display (#234)
* Using the name of the display from CI in grabbing screenshots

#233

* Test fail
2023-10-31 17:59:27 +03: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
Jakub Sokołowski 8362b93734 config: use filenames that end in .py
They are Python files, changing their file extension is a bad idea.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 13:59:22 +02:00
Vladimir Druzhinin 8c278b6052 Fix AttachError because of parallel execution (#197)
* Fix AttachError because of parallel execution

* Fix X connection failed
2023-10-23 14:53:11 +03:00
Vladimir Druzhinin 3343bc675e Fix AUT AttachError (#180)
* Fix AUT AttachError

#174

* Test close by port

* Method to add a screenshot on fail added for multiple instances AUT

#177
2023-10-19 14:26:05 +02: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 d545829724 Attach app logs added (#129)
#123
2023-10-04 10:54:13 +02:00
Vladimir Druzhinin 12ff7e2340 Fix failed tests for Mac (#128) 2023-10-02 11:21:12 +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
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
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