Skip to content

Conversation

@romanzac
Copy link
Contributor

@romanzac romanzac commented Nov 25, 2025

Summary

Test case 7128 of functional tests to cover token-gated communities.

Tests Included

  • test_owner_edits_visible_before_and_after_minting_owner_token

Issues discovered

Closes #7128

@romanzac romanzac changed the title Test/token gated communities - TC 7128 test: Token gated communities - TC 7128 Nov 25, 2025
@status-im-auto
Copy link
Member

status-im-auto commented Nov 25, 2025

Jenkins Builds

Click to see older builds (147)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 7645757 #1 2025-11-25 06:13:26 ~3 min macos/status-go 📦zip
✔️ 7645757 #1 2025-11-25 06:13:37 ~4 min linux/status-go 📦zip
✔️ 7645757 #1 2025-11-25 06:14:02 ~4 min windows/status-go 📦zip
✔️ 7645757 #1 2025-11-25 06:17:36 ~8 min linux/nwaku 📦zip
✔️ 7645757 #1 2025-11-25 06:25:39 ~16 min tests-rpc 📄log
✔️ 7645757 #1 2025-11-25 06:36:35 ~27 min tests 📄log
✔️ c97fd17 #2 2025-11-25 09:50:31 ~3 min linux/status-go 📦zip
✔️ c97fd17 #2 2025-11-25 09:50:43 ~3 min windows/status-go 📦zip
✔️ c97fd17 #2 2025-11-25 09:51:27 ~4 min macos/status-go 📦zip
✔️ c97fd17 #2 2025-11-25 09:55:36 ~8 min linux/nwaku 📦zip
✔️ c97fd17 #2 2025-11-25 10:09:28 ~22 min tests-rpc 📄log
✔️ c97fd17 #2 2025-11-25 10:20:54 ~34 min tests 📄log
✔️ c6d65ea #3 2025-11-26 02:34:22 ~3 min macos/status-go 📦zip
✔️ c6d65ea #3 2025-11-26 02:34:33 ~3 min windows/status-go 📦zip
✔️ c6d65ea #3 2025-11-26 02:34:49 ~4 min linux/status-go 📦zip
✖️ c6d65ea #3 2025-11-26 02:35:16 ~4 min tests 📄log
✔️ c6d65ea #3 2025-11-26 02:38:33 ~8 min linux/nwaku 📦zip
✔️ c6d65ea #3 2025-11-26 02:46:33 ~16 min tests-rpc 📄log
✔️ f02c69a #4 2025-11-27 08:02:34 ~3 min linux/status-go 📦zip
✔️ f02c69a #4 2025-11-27 08:02:53 ~4 min macos/status-go 📦zip
✔️ f02c69a #4 2025-11-27 08:03:21 ~4 min windows/status-go 📦zip
✔️ f02c69a #4 2025-11-27 08:09:30 ~10 min linux/nwaku 📦zip
✔️ f02c69a #4 2025-11-27 08:11:48 ~12 min tests-rpc 📄log
✔️ f02c69a #4 2025-11-27 08:25:33 ~26 min tests 📄log
✔️ fde041a #5 2025-11-28 01:54:03 ~3 min windows/status-go 📦zip
✔️ fde041a #5 2025-11-28 01:54:34 ~4 min linux/status-go 📦zip
✔️ fde041a #5 2025-11-28 01:54:37 ~4 min macos/status-go 📦zip
✔️ fde041a #5 2025-11-28 02:02:07 ~11 min linux/nwaku 📦zip
✔️ fde041a #5 2025-11-28 02:03:33 ~12 min tests-rpc 📄log
✔️ 61413ac #6 2025-11-28 06:17:46 ~3 min linux/status-go 📦zip
✔️ 61413ac #6 2025-11-28 06:17:52 ~3 min macos/status-go 📦zip
✔️ 61413ac #6 2025-11-28 06:18:18 ~4 min windows/status-go 📦zip
✔️ 61413ac #6 2025-11-28 06:25:26 ~11 min linux/nwaku 📦zip
✖️ 61413ac #6 2025-11-28 06:26:51 ~12 min tests-rpc 📄log
✔️ 61413ac #6 2025-11-28 06:38:41 ~24 min tests 📄log
✔️ 27a9d2c #7 2025-11-28 06:41:22 ~3 min windows/status-go 📦zip
✔️ 27a9d2c #7 2025-11-28 06:41:27 ~3 min linux/status-go 📦zip
✔️ 27a9d2c #7 2025-11-28 06:41:31 ~3 min macos/status-go 📦zip
✔️ 27a9d2c #7 2025-11-28 06:49:50 ~12 min linux/nwaku 📦zip
✔️ 27a9d2c #7 2025-11-28 06:50:33 ~12 min tests-rpc 📄log
✔️ 27a9d2c #7 2025-11-28 07:05:03 ~26 min tests 📄log
✔️ 3cec373 #8 2025-11-28 06:50:06 ~3 min macos/status-go 📦zip
✔️ 3cec373 #8 2025-11-28 06:50:12 ~4 min linux/status-go 📦zip
✔️ 3cec373 #8 2025-11-28 06:50:48 ~4 min windows/status-go 📦zip
✔️ 3cec373 #8 2025-11-28 07:01:21 ~11 min linux/nwaku 📦zip
✖️ 3cec373 #8 2025-11-28 07:03:44 ~12 min tests-rpc 📄log
✔️ 3cec373 #8 2025-11-28 07:32:20 ~27 min tests 📄log
✔️ e7b2689 #9 2025-12-01 09:00:31 ~3 min macos/status-go 📦zip
✔️ e7b2689 #9 2025-12-01 09:00:38 ~4 min linux/status-go 📦zip
✔️ e7b2689 #9 2025-12-01 09:01:02 ~4 min windows/status-go 📦zip
✔️ e7b2689 #9 2025-12-01 09:08:16 ~11 min linux/nwaku 📦zip
✖️ e7b2689 #9 2025-12-01 09:10:02 ~13 min tests-rpc 📄log
✔️ e7b2689 #9 2025-12-01 09:23:36 ~26 min tests 📄log
e7b2689 #1 2025-12-01 11:15:21 ~5 min macos/nwaku 📄log
e7b2689 #1 2025-12-01 11:42:01 ~16 min windows/nwaku 📄log
✔️ e7b2689 #1 2025-12-01 12:49:15 ~36 min tests 📄log
✖️ e7b2689 #1 2025-12-01 13:14:45 ~45 min tests-rpc 📄log
99a0698 #2 2025-12-02 06:03:49 ~1 min macos/nwaku 📄log
99a0698 #2 2025-12-02 06:04:23 ~2 min windows/nwaku 📄log
✔️ 99a0698 #10 2025-12-02 06:05:51 ~3 min linux/status-go 📦zip
✔️ 99a0698 #10 2025-12-02 06:06:06 ~4 min macos/status-go 📦zip
✔️ 99a0698 #10 2025-12-02 06:06:56 ~4 min windows/status-go 📦zip
✔️ 99a0698 #10 2025-12-02 06:12:44 ~10 min linux/nwaku 📦zip
✖️ 99a0698 #2 2025-12-02 06:16:47 ~14 min tests-rpc 📄log
✖️ 99a0698 #10 2025-12-02 06:17:12 ~14 min tests-rpc 📄log
✔️ 99a0698 #10 2025-12-02 06:28:30 ~26 min tests 📄log
✔️ 99a0698 #2 2025-12-02 06:29:30 ~27 min tests 📄log
b22ec06 #3 2025-12-02 07:51:05 ~1 min macos/nwaku 📄log
b22ec06 #3 2025-12-02 07:51:51 ~2 min windows/nwaku 📄log
✔️ b22ec06 #11 2025-12-02 07:53:51 ~4 min linux/status-go 📦zip
✔️ b22ec06 #11 2025-12-02 07:54:31 ~4 min macos/status-go 📦zip
✔️ b22ec06 #11 2025-12-02 07:54:31 ~4 min windows/status-go 📦zip
✖️ b22ec06 #11 2025-12-02 08:05:46 ~16 min tests-rpc 📄log
✖️ b22ec06 #3 2025-12-02 08:06:01 ~16 min tests-rpc 📄log
✔️ b22ec06 #11 2025-12-02 08:16:16 ~26 min tests 📄log
781fc53 #4 2025-12-02 07:53:44 ~1 min macos/nwaku 📄log
781fc53 #4 2025-12-02 07:54:27 ~1 min windows/nwaku 📄log
✔️ 781fc53 #12 2025-12-02 07:57:48 ~3 min linux/status-go 📦zip
✔️ 781fc53 #12 2025-12-02 07:58:44 ~3 min macos/status-go 📦zip
✔️ 781fc53 #12 2025-12-02 07:58:53 ~3 min windows/status-go 📦zip
✖️ 781fc53 #4 2025-12-02 08:18:46 ~41 sec tests 📄log
✖️ 781fc53 #4 2025-12-02 08:22:03 ~15 min tests-rpc 📄log
✖️ 781fc53 #12 2025-12-02 08:22:52 ~16 min tests-rpc 📄log
dd33fcd #5 2025-12-02 12:49:34 ~1 min macos/nwaku 📄log
dd33fcd #5 2025-12-02 12:50:27 ~2 min windows/nwaku 📄log
✔️ dd33fcd #13 2025-12-02 12:51:35 ~4 min linux/status-go 📦zip
✔️ dd33fcd #13 2025-12-02 12:51:35 ~3 min macos/status-go 📦zip
✔️ dd33fcd #13 2025-12-02 12:53:08 ~5 min windows/status-go 📦zip
✔️ dd33fcd #13 2025-12-02 12:59:57 ~12 min linux/nwaku 📦zip
✖️ dd33fcd #5 2025-12-02 13:01:35 ~13 min tests-rpc 📄log
✖️ dd33fcd #13 2025-12-02 13:04:25 ~16 min tests-rpc 📄log
✔️ dd33fcd #5 2025-12-02 13:14:19 ~26 min tests 📄log
✔️ dd33fcd #13 2025-12-02 13:16:53 ~28 min tests 📄log
aad818f #6 2025-12-02 12:59:29 ~2 min macos/nwaku 📄log
aad818f #6 2025-12-02 12:59:50 ~2 min windows/nwaku 📄log
✔️ aad818f #14 2025-12-02 13:02:10 ~4 min macos/status-go 📦zip
✔️ aad818f #14 2025-12-02 13:02:48 ~5 min windows/status-go 📦zip
✔️ aad818f #14 2025-12-02 13:04:10 ~6 min linux/status-go 📦zip
✔️ aad818f #14 2025-12-02 13:13:25 ~13 min linux/nwaku 📦zip
✖️ aad818f #14 2025-12-02 13:26:34 ~21 min tests-rpc 📄log
✖️ aad818f #6 2025-12-02 13:27:52 ~26 min tests-rpc 📄log
✔️ aad818f #14 2025-12-02 13:43:28 ~26 min tests 📄log
d189160 #7 2025-12-03 01:04:39 ~2 min windows/nwaku 📄log
✔️ d189160 #15 2025-12-03 01:06:15 ~3 min linux/status-go 📦zip
✔️ d189160 #15 2025-12-03 01:06:32 ~4 min macos/status-go 📦zip
✔️ d189160 #15 2025-12-03 01:07:16 ~4 min windows/status-go 📦zip
d189160 #7 2025-12-03 01:07:49 ~5 min macos/nwaku 📄log
✔️ d189160 #15 2025-12-03 01:13:11 ~10 min linux/nwaku 📦zip
✖️ d189160 #15 2025-12-03 01:18:43 ~16 min tests-rpc 📄log
✖️ d189160 #7 2025-12-03 01:20:13 ~17 min tests-rpc 📄log
✔️ d189160 #7 2025-12-03 01:30:10 ~27 min tests 📄log
2fb0ae3 #8 2025-12-03 06:18:06 ~1 min macos/nwaku 📄log
2fb0ae3 #8 2025-12-03 06:18:27 ~2 min windows/nwaku 📄log
✔️ 2fb0ae3 #16 2025-12-03 06:19:53 ~3 min linux/status-go 📦zip
✔️ 2fb0ae3 #16 2025-12-03 06:19:58 ~3 min macos/status-go 📦zip
✔️ 2fb0ae3 #16 2025-12-03 06:20:12 ~3 min windows/status-go 📦zip
✔️ 2fb0ae3 #16 2025-12-03 06:26:51 ~10 min linux/nwaku 📦zip
✖️ 2fb0ae3 #16 2025-12-03 06:32:25 ~16 min tests-rpc 📄log
✖️ 2fb0ae3 #8 2025-12-03 06:32:37 ~16 min tests-rpc 📄log
✔️ 2fb0ae3 #16 2025-12-03 06:42:37 ~26 min tests 📄log
✔️ 2fb0ae3 #8 2025-12-03 06:43:42 ~27 min tests 📄log
9143479 #9 2025-12-03 06:47:39 ~2 min macos/nwaku 📄log
9143479 #9 2025-12-03 06:47:44 ~1 min windows/nwaku 📄log
✔️ 9143479 #17 2025-12-03 06:49:16 ~3 min linux/status-go 📦zip
✔️ 9143479 #17 2025-12-03 06:49:17 ~3 min macos/status-go 📦zip
✔️ 9143479 #17 2025-12-03 06:49:29 ~3 min windows/status-go 📦zip
✔️ 9143479 #17 2025-12-03 06:56:26 ~11 min linux/nwaku 📦zip
✖️ 9143479 #17 2025-12-03 07:00:43 ~15 min tests-rpc 📄log
✖️ 9143479 #9 2025-12-03 07:01:05 ~15 min tests-rpc 📄log
✔️ 9143479 #17 2025-12-03 07:12:17 ~26 min tests 📄log
✔️ 9143479 #9 2025-12-03 07:12:52 ~27 min tests 📄log
9b67b6a #10 2025-12-03 06:54:00 ~2 min macos/nwaku 📄log
9b67b6a #10 2025-12-03 06:54:06 ~2 min windows/nwaku 📄log
✔️ 9b67b6a #18 2025-12-03 06:55:40 ~3 min linux/status-go 📦zip
✔️ 9b67b6a #18 2025-12-03 06:55:46 ~3 min macos/status-go 📦zip
✔️ 9b67b6a #18 2025-12-03 06:55:50 ~3 min windows/status-go 📦zip
✔️ 9b67b6a #18 2025-12-03 07:08:26 ~11 min linux/nwaku 📦zip
0205804 #11 2025-12-03 06:59:55 ~1 min windows/nwaku 📄log
0205804 #11 2025-12-03 07:00:14 ~2 min macos/nwaku 📄log
✔️ 0205804 #19 2025-12-03 07:01:20 ~3 min linux/status-go 📦zip
✔️ 0205804 #19 2025-12-03 07:01:50 ~4 min macos/status-go 📦zip
✔️ 0205804 #19 2025-12-03 07:02:25 ~4 min windows/status-go 📦zip
✖️ 0205804 #18 2025-12-03 07:16:19 ~15 min tests-rpc 📄log
✖️ 0205804 #10 2025-12-03 07:16:52 ~15 min tests-rpc 📄log
✔️ 0205804 #19 2025-12-03 07:21:18 ~12 min linux/nwaku 📦zip
✔️ 0205804 #10 2025-12-03 07:39:08 ~26 min tests 📄log
✔️ 0205804 #18 2025-12-03 07:40:09 ~27 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
338ba6c #12 2025-12-03 08:43:14 ~2 min macos/nwaku 📄log
338ba6c #12 2025-12-03 08:43:25 ~1 min windows/nwaku 📄log
✔️ 338ba6c #20 2025-12-03 08:44:56 ~3 min macos/status-go 📦zip
✔️ 338ba6c #20 2025-12-03 08:44:58 ~3 min linux/status-go 📦zip
✔️ 338ba6c #20 2025-12-03 08:45:16 ~3 min windows/status-go 📦zip
✖️ 338ba6c #11 2025-12-03 08:46:14 ~4 min tests 📄log
✔️ 338ba6c #20 2025-12-03 08:52:01 ~10 min linux/nwaku 📦zip
✖️ 338ba6c #11 2025-12-03 08:55:53 ~14 min tests-rpc 📄log
✖️ 338ba6c #19 2025-12-03 08:56:16 ~14 min tests-rpc 📄log
✔️ 338ba6c #19 2025-12-03 09:08:07 ~26 min tests 📄log
4705f43 #13 2025-12-03 08:52:39 ~2 min macos/nwaku 📄log
4705f43 #13 2025-12-03 08:52:48 ~2 min windows/nwaku 📄log
✔️ 4705f43 #21 2025-12-03 08:54:04 ~3 min linux/status-go 📦zip
✔️ 4705f43 #21 2025-12-03 08:54:09 ~3 min macos/status-go 📦zip
✔️ 4705f43 #21 2025-12-03 08:55:18 ~4 min windows/status-go 📦zip
✔️ 4705f43 #21 2025-12-03 09:04:28 ~12 min linux/nwaku 📦zip
✖️ 4705f43 #12 2025-12-03 09:10:51 ~14 min tests-rpc 📄log
✖️ 4705f43 #20 2025-12-03 09:12:21 ~15 min tests-rpc 📄log

@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 34.97%. Comparing base (4c3fda7) to head (4705f43).

❗ There is a different number of reports uploaded between BASE (4c3fda7) and HEAD (4705f43). Click for more details.

HEAD has 3 uploads less than BASE
Flag BASE (4c3fda7) HEAD (4705f43)
functional 3 2
unit 2 0
Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #7144       +/-   ##
============================================
- Coverage    60.04%   34.97%   -25.07%     
============================================
  Files          813      798       -15     
  Lines       113391   111318     -2073     
============================================
- Hits         68080    38938    -29142     
- Misses       38489    67570    +29081     
+ Partials      6822     4810     -2012     
Flag Coverage Δ
functional 34.97% <ø> (-0.41%) ⬇️
unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 522 files with indirect coverage changes

@status-im-auto
Copy link
Member

✔️ status-go/prs/tests-nwaku/PR-7144#3 🔹 ~28 min 🔹 b22ec06 🔹 📦 tests package

@romanzac romanzac marked this pull request as ready for review December 3, 2025 07:00
Copy link
Contributor

@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.

Thanks, left just some small comments

def test_owner_edits_visible_before_and_after_minting_owner_token(self):
"""Test that owner edits are visible before and after minting the owner token"""

def edit_community(community_id):
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason to have this function nested inside the test? If we move it outside, we keep the test more compact

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Function moved at 338ba6c

== RequestToJoinState.RequestToJoinStatePending.value,
)

time.sleep(5)
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need the sleep since we wait for signal above?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree with you. I would rather pull state (old school approach) with timeout or wait for push - quality signal. It looks backend coherence with signals has still some room for improvement. We are discussing it here #7161 (comment)

new_name2, new_description2 = edit_community(community_id)
logger.info(f"New name2: {new_name2}, new description2: {new_description2}")

time.sleep(5)
Copy link
Contributor

Choose a reason for hiding this comment

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

can we avoid the sleep by looking for a signal?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was there more for demo reasons. Fixed at 4705f43

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.

Community Owner Token Functional Test

4 participants