mirror of
https://github.com/Permissionless-Software-Foundation/psf-memo-client.git
synced 2026-09-21 16:52:02 -07:00
Cover the new-post posting flag (initial idle, in-flight true, settled false) to kill the four surviving mutants, and commit the differential and acceptance mutation manifests written by the approved tools during the architect verification pass for the new-post-page feature. By architect.
45 lines
2.7 KiB
Gherkin
45 lines
2.7 KiB
Gherkin
# acceptance-mutation-manifest-begin
|
|
# {"version":1,"tested_at":"2026-08-26T00:08:35.176401424Z","feature_name":"Post a Memo","feature_path":"/home/trout/work/psf-memo-client/.worktrees/architect/specs/post-memo.feature","background_hash":"d7f1a31b7651301ec01bdea9c4c990f9a032ce179aa84f8d6a78595f8a476474","implementation_hash":"unknown","scenarios":[{"index":1,"name":"Post a Memo - 2 an empty memo is rejected","scenario_hash":"4e6fea6fa5adbf7fe0eefdd9bc21a7027fe7312d2937a4fd68f1a1eb68d33a8d","mutation_count":1,"result":{"Total":1,"Killed":1,"Survived":0,"Errors":0},"tested_at":"2026-08-25T23:22:52.631790256Z"}]}
|
|
# acceptance-mutation-manifest-end
|
|
|
|
# Scenarios: Post a Memo - 1, Post a Memo - 2, Post a Memo - 3
|
|
Feature: Post a Memo
|
|
|
|
Background:
|
|
Given a wallet authenticated for the address bitcoincash:qqlrzp23w08434twmvr4fxw672whkjy0py26r63g3d
|
|
Given the wallet has a spendable output to pay the transaction fee
|
|
|
|
Scenario Outline: Post a Memo - 1 a valid memo is broadcast and shown in the feed
|
|
Given I am viewing the recent posts feed
|
|
When I compose a memo with the text "<message>"
|
|
When I submit the memo
|
|
Then the wallet broadcasts an OP_RETURN transaction with the Memo post prefix
|
|
Then the feed shows a new post from my address with the text "<message>"
|
|
|
|
Examples:
|
|
| message |
|
|
| hello memo |
|
|
| a longer memo with several words and punctuation. |
|
|
| aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
|
|
|
|
Scenario Outline: Post a Memo - 2 an empty memo is rejected
|
|
When I compose a memo with the text "<message>"
|
|
When I submit the memo
|
|
Then the app shows a validation error
|
|
Then the wallet does not broadcast any transaction
|
|
|
|
Examples:
|
|
| message |
|
|
| |
|
|
|
|
Scenario Outline: Post a Memo - 3 an over-long memo is rejected
|
|
When I compose a memo with the text "<message>"
|
|
When I submit the memo
|
|
Then the app shows a length error
|
|
Then the wallet does not broadcast any transaction
|
|
|
|
Examples:
|
|
| message |
|
|
| bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |
|
|
| cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|