Specify reply thread opens with zero replies and shows reply form

By specifier.
This commit is contained in:
Chris Troutner
2026-08-26 04:32:35 -07:00
parent 3bd2c4903e
commit ab84389fdf
+15 -6
View File
@@ -1,16 +1,12 @@
# acceptance-mutation-manifest-begin # Scenarios: Reply to a Memo - 1, Reply to a Memo - 2, Reply to a Memo - 3, Reply to a Memo - 4, Reply to a Memo - 5, Reply to a Memo - 6, Reply to a Memo - 7
# {"version":1,"tested_at":"2026-08-26T04:22:54.324158808Z","feature_name":"Reply to a Memo","feature_path":"../../specs/reply-memo.feature","background_hash":"fe3d19204f81f7060aa6a9f344ae4bf081e7bbacaf88fba1a001b57d0594dfb2","implementation_hash":"unknown","scenarios":[{"index":1,"name":"Reply to a Memo - 2 an empty reply is rejected","scenario_hash":"a194ab7b3698b25903bc00111192308cd21046db6fa40b6150bb4ba5156f4317","mutation_count":1,"result":{"Total":1,"Killed":1,"Survived":0,"Errors":0},"tested_at":"2026-08-26T04:22:54.324158808Z"}]}
# acceptance-mutation-manifest-end
# Scenarios: Reply to a Memo - 1, Reply to a Memo - 2, Reply to a Memo - 3, Reply to a Memo - 4, Reply to a Memo - 5
Feature: Reply to a Memo Feature: Reply to a Memo
Background: Background:
Given a wallet authenticated for the address bitcoincash:qqlrzp23w08434twmvr4fxw672whkjy0py26r63g3d Given a wallet authenticated for the address bitcoincash:qqlrzp23w08434twmvr4fxw672whkjy0py26r63g3d
Given the wallet has spendable output to pay the transaction fee Given the wallet has spendable output to pay the transaction fee
Given I open the thread for the post with txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Scenario Outline: Reply to a Memo - 1 a valid reply to a post is broadcast and shown in the thread Scenario Outline: Reply to a Memo - 1 a valid reply to a post is broadcast and shown in the thread
Given I open the thread for the post with txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
When I type a reply with the text "<message>" When I type a reply with the text "<message>"
When I submit the reply When I submit the reply
Then the wallet broadcasts an OP_RETURN transaction with the Memo reply prefix Then the wallet broadcasts an OP_RETURN transaction with the Memo reply prefix
@@ -22,6 +18,7 @@ Feature: Reply to a Memo
| a longer reply with several words. | | a longer reply with several words. |
Scenario Outline: Reply to a Memo - 2 an empty reply is rejected Scenario Outline: Reply to a Memo - 2 an empty reply is rejected
Given I open the thread for the post with txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
When I type a reply with the text "<message>" When I type a reply with the text "<message>"
When I submit the reply When I submit the reply
Then the thread shows a validation error Then the thread shows a validation error
@@ -32,6 +29,7 @@ Feature: Reply to a Memo
| | | |
Scenario Outline: Reply to a Memo - 3 an over-long reply is rejected Scenario Outline: Reply to a Memo - 3 an over-long reply is rejected
Given I open the thread for the post with txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
When I type a reply with the text "<message>" When I type a reply with the text "<message>"
When I submit the reply When I submit the reply
Then the thread shows a length error Then the thread shows a length error
@@ -43,6 +41,7 @@ Feature: Reply to a Memo
| bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |
Scenario Outline: Reply to a Memo - 4 the byte counter counts down from the reply limit Scenario Outline: Reply to a Memo - 4 the byte counter counts down from the reply limit
Given I open the thread for the post with txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
When I type a reply with the text "<message>" When I type a reply with the text "<message>"
Then the thread shows a remaining byte count of <count> Then the thread shows a remaining byte count of <count>
@@ -53,6 +52,7 @@ Feature: Reply to a Memo
| aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | 0 | | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | 0 |
Scenario Outline: Reply to a Memo - 5 a reply to a nested reply is broadcast Scenario Outline: Reply to a Memo - 5 a reply to a nested reply is broadcast
Given I open the thread for the post with txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
And the thread shows a nested reply with the txid bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb And the thread shows a nested reply with the txid bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
When I type a reply to the nested reply with the text "<message>" When I type a reply to the nested reply with the text "<message>"
When I submit the reply When I submit the reply
@@ -63,3 +63,12 @@ Feature: Reply to a Memo
| message | | message |
| hello nested | | hello nested |
| a longer nested reply. | | a longer nested reply. |
Scenario: Reply to a Memo - 6 the comment icon opens the thread even when a post has zero replies
Given a post with the txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa has no replies
When I click the comment icon on the post with txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Then the thread modal opens for the post with txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Scenario: Reply to a Memo - 7 the thread modal shows a reply form
Given I open the thread for the post with txid aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Then the thread modal shows a reply form