Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_: Code Migration from status-cli-tests #5990

Draft
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

shashankshampi
Copy link

@shashankshampi shashankshampi commented Oct 24, 2024

Changes:

@status-im-auto
Copy link
Member

status-im-auto commented Oct 24, 2024

Jenkins Builds

Click to see older builds (148)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 1966f50 #1 2024-10-24 14:41:10 ~1 min tests 📄log
✔️ 1966f50 #1 2024-10-24 14:44:04 ~4 min ios 📦zip
✔️ 1966f50 #1 2024-10-24 14:45:01 ~5 min linux 📦zip
✖️ 1966f50 #1 2024-10-24 14:45:38 ~6 min tests-rpc 📄log
✔️ 1966f50 #1 2024-10-24 14:46:04 ~6 min android 📦aar
✖️ 24cbf4c #2 2024-10-27 13:30:53 ~2 min tests 📄log
✔️ 24cbf4c #2 2024-10-27 13:31:39 ~2 min linux 📦zip
✔️ 24cbf4c #2 2024-10-27 13:32:06 ~3 min ios 📦zip
✔️ 24cbf4c #2 2024-10-27 13:34:23 ~5 min android 📦aar
✖️ 24cbf4c #2 2024-10-27 13:34:26 ~5 min tests-rpc 📄log
✖️ 597e6ed #3 2024-10-27 13:41:05 ~1 min tests 📄log
✔️ 597e6ed #3 2024-10-27 13:41:24 ~2 min android 📦aar
✔️ 597e6ed #3 2024-10-27 13:42:12 ~2 min linux 📦zip
✔️ 597e6ed #3 2024-10-27 13:42:20 ~2 min ios 📦zip
✖️ 597e6ed #3 2024-10-27 13:44:48 ~5 min tests-rpc 📄log
✖️ e7d05e3 #4 2024-10-27 18:02:57 ~1 min tests 📄log
✔️ e7d05e3 #4 2024-10-27 18:04:17 ~3 min android 📦aar
✔️ e7d05e3 #4 2024-10-27 18:04:28 ~3 min ios 📦zip
✔️ e7d05e3 #1 2024-10-27 18:05:18 ~4 min macos 📦zip
✔️ e7d05e3 #4 2024-10-27 18:06:16 ~5 min linux 📦zip
✖️ e7d05e3 #4 2024-10-27 18:07:01 ~5 min tests-rpc 📄log
✔️ e7d05e3 #1 2024-10-27 18:11:37 ~10 min macos 📦zip
✖️ e7d05e3 #1 2024-10-27 18:11:43 ~10 min windows 📦zip
✖️ adf6796 #5 2024-10-30 05:09:55 ~1 min tests 📄log
✔️ adf6796 #5 2024-10-30 05:12:24 ~3 min linux 📦zip
✔️ adf6796 #2 2024-10-30 05:13:04 ~4 min macos 📦zip
✔️ adf6796 #5 2024-10-30 05:13:59 ~5 min ios 📦zip
✖️ adf6796 #5 2024-10-30 05:14:17 ~5 min tests-rpc 📄log
✔️ adf6796 #5 2024-10-30 05:14:48 ~6 min android 📦aar
✔️ adf6796 #2 2024-10-30 05:15:28 ~6 min macos 📦zip
✖️ adf6796 #2 2024-10-30 05:18:56 ~10 min windows 📦zip
✖️ e4e2d40 #6 2024-10-30 05:36:23 ~1 min tests 📄log
✔️ e4e2d40 #3 2024-10-30 05:39:25 ~4 min macos 📦zip
✔️ e4e2d40 #6 2024-10-30 05:40:17 ~5 min ios 📦zip
✔️ e4e2d40 #6 2024-10-30 05:40:33 ~5 min linux 📦zip
✖️ e4e2d40 #6 2024-10-30 05:40:40 ~5 min tests-rpc 📄log
✔️ e4e2d40 #3 2024-10-30 05:40:51 ~6 min macos 📦zip
✔️ e4e2d40 #6 2024-10-30 05:41:15 ~6 min android 📦aar
✖️ e4e2d40 #3 2024-10-30 05:45:16 ~10 min windows 📦zip
✖️ 3193ad1 #7 2024-10-30 05:48:26 ~1 min tests 📄log
✖️ 3193ad1 #7 2024-10-30 05:48:43 ~2 min tests-rpc 📄log
✔️ 3193ad1 #4 2024-10-30 05:51:19 ~4 min macos 📦zip
✔️ 3193ad1 #7 2024-10-30 05:52:10 ~5 min linux 📦zip
✔️ 3193ad1 #7 2024-10-30 05:52:23 ~5 min ios 📦zip
✔️ 3193ad1 #4 2024-10-30 05:52:50 ~6 min macos 📦zip
✔️ 3193ad1 #7 2024-10-30 05:52:53 ~6 min android 📦aar
✖️ 3193ad1 #4 2024-10-30 05:56:58 ~10 min windows 📦zip
✖️ 92c70ab #8 2024-10-30 07:46:10 ~1 min tests 📄log
✔️ 92c70ab #8 2024-10-30 07:47:48 ~3 min android 📦aar
✔️ 92c70ab #8 2024-10-30 07:48:25 ~3 min tests-rpc 📄log
✔️ 92c70ab #5 2024-10-30 07:48:59 ~4 min macos 📦zip
✔️ 92c70ab #8 2024-10-30 07:49:43 ~5 min ios 📦zip
✔️ 92c70ab #5 2024-10-30 07:49:57 ~5 min macos 📦zip
✔️ 92c70ab #8 2024-10-30 07:50:09 ~5 min linux 📦zip
✖️ 92c70ab #5 2024-10-30 07:54:50 ~10 min windows 📦zip
✖️ c67d403 #9 2024-10-30 07:56:19 ~1 min tests 📄log
✔️ c67d403 #9 2024-10-30 07:58:59 ~4 min tests-rpc 📄log
✔️ c67d403 #6 2024-10-30 07:59:17 ~4 min macos 📦zip
✔️ c67d403 #9 2024-10-30 07:59:59 ~5 min ios 📦zip
✔️ c67d403 #6 2024-10-30 08:00:06 ~5 min macos 📦zip
✔️ c67d403 #9 2024-10-30 08:00:24 ~5 min linux 📦zip
✔️ c67d403 #9 2024-10-30 08:00:50 ~6 min android 📦aar
✖️ c67d403 #6 2024-10-30 08:05:17 ~10 min windows 📦zip
✖️ c67d403 #11 2024-10-30 09:09:50 ~1 min tests 📄log
✔️ c67d403 #11 2024-10-30 09:09:59 ~1 min tests-rpc 📄log
✔️ c67d403 #8 2024-10-30 09:12:33 ~4 min macos 📦zip
✔️ c67d403 #8 2024-10-30 09:13:51 ~5 min macos 📦zip
✔️ c67d403 #11 2024-10-30 09:14:04 ~5 min linux 📦zip
✔️ c67d403 #11 2024-10-30 09:14:48 ~5 min ios 📦zip
✔️ c67d403 #11 2024-10-30 09:15:43 ~6 min android 📦aar
✖️ c67d403 #8 2024-10-30 09:24:08 ~10 min windows 📦zip
✖️ 6d4d259 #10 2024-10-30 09:05:10 ~2 min tests 📄log
✔️ 6d4d259 #10 2024-10-30 09:07:12 ~4 min tests-rpc 📄log
✔️ 6d4d259 #7 2024-10-30 09:07:41 ~4 min macos 📦zip
✔️ 6d4d259 #7 2024-10-30 09:08:23 ~5 min macos 📦zip
✔️ 6d4d259 #10 2024-10-30 09:08:40 ~5 min linux 📦zip
✔️ 6d4d259 #10 2024-10-30 09:08:59 ~5 min ios 📦zip
✔️ 6d4d259 #10 2024-10-30 09:09:22 ~6 min android 📦aar
✖️ 6d4d259 #7 2024-10-30 09:13:32 ~10 min windows 📦zip
✔️ 14dcd29 #12 2024-10-30 09:22:50 ~2 min tests-rpc 📄log
✔️ 14dcd29 #9 2024-10-30 09:24:52 ~4 min macos 📦zip
✔️ 14dcd29 #9 2024-10-30 09:25:31 ~5 min macos 📦zip
✔️ 14dcd29 #12 2024-10-30 09:25:57 ~5 min linux 📦zip
✔️ 14dcd29 #12 2024-10-30 09:25:57 ~5 min ios 📦zip
✔️ 14dcd29 #12 2024-10-30 09:26:28 ~6 min android 📦aar
✔️ 14dcd29 #12 2024-10-30 09:54:24 ~34 min tests 📄log
✔️ 5de833a #13 2024-10-30 09:24:58 ~1 min tests-rpc 📄log
✔️ 5de833a #10 2024-10-30 09:29:37 ~4 min macos 📦zip
✔️ 5de833a #10 2024-10-30 09:31:10 ~5 min macos 📦zip
✔️ 5de833a #13 2024-10-30 09:31:24 ~5 min linux 📦zip
✔️ 5de833a #13 2024-10-30 09:31:41 ~5 min ios 📦zip
✔️ 5de833a #13 2024-10-30 09:32:52 ~6 min android 📦aar
✖️ 5de833a #9 2024-10-30 09:34:41 ~10 min windows 📦zip
✔️ 5de833a #13 2024-10-30 10:29:23 ~34 min tests 📄log
✔️ 5b37466 #11 2024-10-30 15:31:13 ~3 min macos 📦zip
✔️ 5b37466 #14 2024-10-30 15:32:01 ~4 min tests-rpc 📄log
✔️ 5b37466 #14 2024-10-30 15:33:27 ~6 min linux 📦zip
✔️ 5b37466 #14 2024-10-30 15:34:01 ~6 min android 📦aar
✔️ 5b37466 #14 2024-10-30 15:34:25 ~7 min ios 📦zip
✖️ 5b37466 #10 2024-10-30 15:38:02 ~10 min windows 📦zip
✔️ 5b37466 #14 2024-10-30 15:59:54 ~32 min tests 📄log
✔️ 92ff5bf #15 2024-10-30 16:01:13 ~4 min tests-rpc 📄log
✔️ 92ff5bf #12 2024-10-30 16:01:49 ~4 min macos 📦zip
✔️ 92ff5bf #15 2024-10-30 16:02:35 ~5 min ios 📦zip
✔️ 92ff5bf #15 2024-10-30 16:02:36 ~5 min linux 📦zip
✔️ 92ff5bf #15 2024-10-30 16:03:17 ~6 min android 📦aar
✔️ 92ff5bf #12 2024-10-30 16:05:34 ~8 min macos 📦zip
✖️ 92ff5bf #11 2024-10-30 16:07:27 ~10 min windows 📦zip
✔️ 92ff5bf #15 2024-10-30 16:33:20 ~33 min tests 📄log
✔️ 38c1d12 #16 2024-10-30 16:06:20 ~4 min tests-rpc 📄log
✔️ 38c1d12 #13 2024-10-30 16:06:32 ~4 min macos 📦zip
✔️ 38c1d12 #16 2024-10-30 16:08:13 ~5 min ios 📦zip
✔️ 38c1d12 #16 2024-10-30 16:08:48 ~6 min linux 📦zip
✔️ 38c1d12 #16 2024-10-30 16:09:37 ~6 min android 📦aar
✔️ 38c1d12 #13 2024-10-30 16:14:00 ~8 min macos 📦zip
✖️ 38c1d12 #12 2024-10-30 16:17:46 ~10 min windows 📦zip
✔️ 38c1d12 #16 2024-10-30 17:07:58 ~34 min tests 📄log
✔️ 928daec #14 2024-10-31 14:58:13 ~4 min macos 📦zip
✔️ 928daec #17 2024-10-31 14:58:24 ~4 min tests-rpc 📄log
✔️ 928daec #17 2024-10-31 14:58:50 ~5 min android 📦aar
✔️ 928daec #17 2024-10-31 14:59:04 ~5 min ios 📦zip
✔️ 928daec #17 2024-10-31 14:59:11 ~5 min linux 📦zip
✔️ 928daec #14 2024-10-31 14:59:45 ~6 min macos 📦zip
✖️ 928daec #13 2024-10-31 15:04:05 ~10 min windows 📦zip
✔️ 928daec #17 2024-10-31 15:28:22 ~34 min tests 📄log
✔️ 1827420 #18 2024-10-31 15:49:00 ~3 min tests-rpc 📄log
✔️ 1827420 #15 2024-10-31 15:49:46 ~4 min macos 📦zip
✔️ 1827420 #18 2024-10-31 15:50:44 ~5 min ios 📦zip
✔️ 1827420 #18 2024-10-31 15:50:47 ~5 min linux 📦zip
✔️ 1827420 #18 2024-10-31 15:51:27 ~6 min android 📦aar
✔️ 1827420 #15 2024-10-31 15:51:33 ~6 min macos 📦zip
✖️ 1827420 #14 2024-10-31 15:55:35 ~10 min windows 📦zip
✔️ 1827420 #18 2024-10-31 16:18:30 ~33 min tests 📄log
✔️ 670f17a #19 2024-11-02 14:50:40 ~4 min tests-rpc 📄log
✔️ 670f17a #16 2024-11-02 14:50:58 ~4 min macos 📦zip
✔️ 670f17a #19 2024-11-02 14:51:45 ~5 min ios 📦zip
✔️ 670f17a #16 2024-11-02 14:52:25 ~6 min macos 📦zip
✔️ 670f17a #19 2024-11-02 14:52:56 ~6 min android 📦aar
✖️ 670f17a #15 2024-11-02 14:56:47 ~10 min windows 📦zip
✔️ 670f17a #19 2024-11-02 14:57:19 ~11 min linux 📦zip
✔️ 670f17a #19 2024-11-02 15:20:40 ~34 min tests 📄log
✔️ 26adbea #20 2024-11-02 15:04:52 ~4 min tests-rpc 📄log
✔️ 26adbea #20 2024-11-02 15:05:27 ~4 min linux 📦zip
✔️ 26adbea #17 2024-11-02 15:05:27 ~4 min macos 📦zip
✔️ 26adbea #20 2024-11-02 15:06:23 ~5 min ios 📦zip
✔️ 26adbea #17 2024-11-02 15:06:53 ~6 min macos 📦zip
✔️ 26adbea #20 2024-11-02 15:07:33 ~6 min android 📦aar
✖️ 26adbea #16 2024-11-02 15:11:15 ~10 min windows 📦zip
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 33606e8 #21 2024-11-02 15:09:06 ~4 min tests-rpc 📄log
✔️ 33606e8 #18 2024-11-02 15:10:07 ~4 min macos 📦zip
✔️ 33606e8 #21 2024-11-02 15:10:28 ~4 min linux 📦zip
✔️ 33606e8 #21 2024-11-02 15:12:03 ~5 min ios 📦zip
✔️ 33606e8 #18 2024-11-02 15:13:20 ~6 min macos 📦zip
✔️ 33606e8 #21 2024-11-02 15:14:02 ~6 min android 📦aar
✖️ 33606e8 #17 2024-11-02 15:21:42 ~10 min windows 📦zip
✔️ 33606e8 #20 2024-11-02 15:53:31 ~32 min tests 📄log
✔️ 66d612c #22 2024-11-03 11:01:01 ~4 min tests-rpc 📄log
✔️ 66d612c #22 2024-11-03 11:01:29 ~4 min linux 📦zip
✔️ 66d612c #19 2024-11-03 11:01:40 ~4 min macos 📦zip
✔️ 66d612c #22 2024-11-03 11:02:42 ~5 min ios 📦zip
✔️ 66d612c #22 2024-11-03 11:03:15 ~6 min android 📦aar
✔️ 66d612c #19 2024-11-03 11:03:23 ~6 min macos 📦zip
✖️ 66d612c #18 2024-11-03 11:07:24 ~10 min windows 📦zip
✔️ 66d612c #21 2024-11-03 11:29:16 ~32 min tests 📄log

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.99%. Comparing base (768cda8) to head (66d612c).
Report is 11 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5990      +/-   ##
===========================================
- Coverage    60.57%   59.99%   -0.59%     
===========================================
  Files          812      812              
  Lines       109328   109328              
===========================================
- Hits         66230    65589     -641     
- Misses       35337    36015     +678     
+ Partials      7761     7724      -37     
Flag Coverage Δ
functional 10.75% <ø> (-2.35%) ⬇️
unit 59.89% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 58 files with indirect coverage changes

tests-functional/tests/test_contact_request.py Outdated Show resolved Hide resolved
tests-functional/tests/test_contact_request.py Outdated Show resolved Hide resolved
tests-functional/validators/contact_request_validator.py Outdated Show resolved Hide resolved
tests-functional/tests/test_contact_request.py Outdated Show resolved Hide resolved
@shashankshampi shashankshampi changed the title Code Migration from status-cli-tests test: Code Migration from status-cli-tests Oct 30, 2024
Copy link
Author

@shashankshampi shashankshampi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed review comments

@shashankshampi shashankshampi changed the title test: Code Migration from status-cli-tests test_: Code Migration from status-cli-tests Oct 30, 2024
@shashankshampi shashankshampi force-pushed the cli_test_migration branch 2 times, most recently from 6d4d259 to c67d403 Compare October 30, 2024 09:07
author shashankshampi <[email protected]> 1729780155 +0530
committer shashankshampi <[email protected]> 1730274350 +0530

test: Code Migration from status-cli-tests
fix_: functional tests (#5979)

* fix_: generate on test-functional

* chore(test)_: fix functional test assertion

---------

Co-authored-by: Siddarth Kumar <[email protected]>

feat(accounts)_: cherry-pick Persist acceptance of Terms of Use & Privacy policy (#5766) (#5977)

* feat(accounts)_: Persist acceptance of Terms of Use & Privacy policy (#5766)

The original GH issue status-im/status-mobile#21113
came from a request from the Legal team. We must show to Status v1 users the new
terms (Terms of Use & Privacy Policy) right after they upgrade to Status v2
from the stores.

The solution we use is to create a flag in the accounts table, named
hasAcceptedTerms. The flag will be set to true on the first account ever
created in v2 and we provide a native call in mobile/status.go#AcceptTerms,
which allows the client to persist the user's choice in case they are upgrading
(from v1 -> v2, or from a v2 older than this PR).

This solution is not the best because we should store the setting in a separate
table, not in the accounts table.

Related Mobile PR status-im/status-mobile#21124

* fix(test)_: Compare addresses using uppercased strings

---------

Co-authored-by: Icaro Motta <[email protected]>

test_: restore account (#5960)

feat_: `LogOnPanic` linter (#5969)

* feat_: LogOnPanic linter

* fix_: add missing defer LogOnPanic

* chore_: make vendor

* fix_: tests, address pr comments

* fix_: address pr comments

fix(ci)_: remove workspace and tmp dir

This ensures we do not encounter weird errors like:
```
+ ln -s /home/jenkins/workspace/go_prs_linux_x86_64_main_PR-5907 /home/jenkins/workspace/go_prs_linux_x86_64_main_PR-5907@tmp/go/src/github.com/status-im/status-go
ln: failed to create symbolic link '/home/jenkins/workspace/go_prs_linux_x86_64_main_PR-5907@tmp/go/src/github.com/status-im/status-go': File exists
script returned exit code 1
```

Signed-off-by: Jakub Sokołowski <[email protected]>

chore_: enable windows and macos CI build (#5840)

- Added support for Windows and macOS in CI pipelines
- Added missing dependencies for Windows and x86-64-darwin
- Resolved macOS SDK version compatibility for darwin-x86_64

The `mkShell` override was necessary to ensure compatibility with the newer
macOS SDK (version 11.0) for x86_64. The default SDK (10.12) was causing build failures
because of the missing libs and frameworks. OverrideSDK creates a mapping from
the default SDK in all package categories to the requested SDK (11.0).

fix(contacts)_: fix trust status not being saved to cache when changed (#5965)

Fixes status-im/status-desktop#16392

cleanup

added logger and cleanup

review comments changes

fix_: functional tests (#5979)

* fix_: generate on test-functional

* chore(test)_: fix functional test assertion

---------

Co-authored-by: Siddarth Kumar <[email protected]>

feat(accounts)_: cherry-pick Persist acceptance of Terms of Use & Privacy policy (#5766) (#5977)

* feat(accounts)_: Persist acceptance of Terms of Use & Privacy policy (#5766)

The original GH issue status-im/status-mobile#21113
came from a request from the Legal team. We must show to Status v1 users the new
terms (Terms of Use & Privacy Policy) right after they upgrade to Status v2
from the stores.

The solution we use is to create a flag in the accounts table, named
hasAcceptedTerms. The flag will be set to true on the first account ever
created in v2 and we provide a native call in mobile/status.go#AcceptTerms,
which allows the client to persist the user's choice in case they are upgrading
(from v1 -> v2, or from a v2 older than this PR).

This solution is not the best because we should store the setting in a separate
table, not in the accounts table.

Related Mobile PR status-im/status-mobile#21124

* fix(test)_: Compare addresses using uppercased strings

---------

Co-authored-by: Icaro Motta <[email protected]>

test_: restore account (#5960)

feat_: `LogOnPanic` linter (#5969)

* feat_: LogOnPanic linter

* fix_: add missing defer LogOnPanic

* chore_: make vendor

* fix_: tests, address pr comments

* fix_: address pr comments

chore_: enable windows and macos CI build (#5840)

- Added support for Windows and macOS in CI pipelines
- Added missing dependencies for Windows and x86-64-darwin
- Resolved macOS SDK version compatibility for darwin-x86_64

The `mkShell` override was necessary to ensure compatibility with the newer
macOS SDK (version 11.0) for x86_64. The default SDK (10.12) was causing build failures
because of the missing libs and frameworks. OverrideSDK creates a mapping from
the default SDK in all package categories to the requested SDK (11.0).

fix(contacts)_: fix trust status not being saved to cache when changed (#5965)

Fixes status-im/status-desktop#16392

test_: remove port bind

chore(wallet)_: move route execution code to separate module

chore_: replace geth logger with zap logger (#5962)

closes: #6002

feat(telemetry)_: add metrics for message reliability (#5899)

* feat(telemetry)_: track message reliability

Add metrics for dial errors, missed messages,
missed relevant messages, and confirmed delivery.

* fix_: handle error from json marshal

chore_: use zap logger as request logger

iterates: status-im/status-desktop#16536

test_: unique project per run

test_: use docker compose v2, more concrete project name

fix(codecov)_: ignore folders without tests

Otherwise Codecov reports incorrect numbers when making changes.
https://docs.codecov.com/docs/ignoring-paths

Signed-off-by: Jakub Sokołowski <[email protected]>

test_: verify schema of signals during init; fix schema verification warnings (#5947)

fix_: update defaultGorushURL (#6011)

fix(tests)_: use non-standard port to avoid conflicts

We have observed `nimbus-eth2` build failures reporting this port:
```json
{
  "lvl": "NTC",
  "ts": "2024-10-28 13:51:32.308+00:00",
  "msg": "REST HTTP server could not be started",
  "topics": "beacnde",
  "address": "127.0.0.1:5432",
  "reason": "(98) Address already in use"
}
```
https://ci.status.im/job/nimbus-eth2/job/platforms/job/linux/job/x86_64/job/main/job/PR-6683/3/

Signed-off-by: Jakub Sokołowski <[email protected]>

fix_: create request logger ad-hoc in tests

Fixes `TestCall` failing when run concurrently.

chore_: configure codecov (#6005)

* chore_: configure codecov

* fix_: after_n_builds
tests-functional/README.MD Outdated Show resolved Hide resolved
tests-functional/README.MD Outdated Show resolved Hide resolved
tests-functional/README.MD Show resolved Hide resolved
tests-functional/README.MD Outdated Show resolved Hide resolved
tests-functional/clients/signals.py Outdated Show resolved Hide resolved
tests-functional/src/node/status_node.py Show resolved Hide resolved
tests-functional/src/steps/common.py Outdated Show resolved Hide resolved
tests-functional/tests/test_contact_request.py Outdated Show resolved Hide resolved
tests-functional/tests/test_contact_request.py Outdated Show resolved Hide resolved
tests-functional/tests/test_contact_request.py Outdated Show resolved Hide resolved
Copy link
Author

@shashankshampi shashankshampi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for review.
Have addressed all points.

tests-functional/README.MD Outdated Show resolved Hide resolved
tests-functional/README.MD Outdated Show resolved Hide resolved
tests-functional/src/node/status_node.py Outdated Show resolved Hide resolved
tests-functional/src/node/status_node.py Show resolved Hide resolved
tests-functional/src/steps/common.py Outdated Show resolved Hide resolved
tests-functional/clients/signals.py Outdated Show resolved Hide resolved
tests-functional/README.MD Outdated Show resolved Hide resolved
tests-functional/README.MD Show resolved Hide resolved
tests-functional/clients/signals.py Outdated Show resolved Hide resolved
tests-functional/src/node/status_node.py Show resolved Hide resolved
@status-im-auto
Copy link
Member

✔️ status-go/prs/macos/x86_64/main/PR-5990#11 🔹 ~10 min 🔹 5b37466 🔹 📦 macos package

Copy link

@fbarbu15 fbarbu15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please response to the comment about signals, I don't think you understood what we need to test here

tests-functional/requirements.txt Outdated Show resolved Hide resolved
tests-functional/src/libs/common.py Show resolved Hide resolved
tests-functional/tests/test_contact_request.py Outdated Show resolved Hide resolved
Copy link
Author

@shashankshampi shashankshampi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed all comments.
Thanks

tests-functional/requirements.txt Outdated Show resolved Hide resolved
tests-functional/src/libs/common.py Show resolved Hide resolved
tests-functional/tests/test_contact_request.py Outdated Show resolved Hide resolved
tests-functional/clients/signals.py Outdated Show resolved Hide resolved
Copy link

@fbarbu15 fbarbu15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to validate that the receive signal is correct

* test_: Code Migration from status-cli-tests 1_1 message

test_: Code Migration from status-cli-tests 1_1 message

test_: Code Migration from status-cli-tests addressing review comments

test_: Code Migration from status-cli-tests 1_1 message rebase

* test_: Code Migration from status-cli-tests for 1 on 1 message and added event validation

* test_: Code Migration from status-cli-tests for 1 on 1 logger fix
Copy link

@fbarbu15 fbarbu15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried this locally and works fine on my machine.
Left one comment
@shashankshampi could you please ask Anton for review?


logger = get_custom_logger(__name__)

class ContactRequestValidator:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this validator looks very similar to the MessageValidator, I think we can merge them and add a condition for any diffs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants