Skip to content

Move test documentation tags from proteus to MLS#4240

Merged
pcapriotti merged 4 commits intodevelopfrom
test-doc-tags
Sep 17, 2024
Merged

Move test documentation tags from proteus to MLS#4240
pcapriotti merged 4 commits intodevelopfrom
test-doc-tags

Conversation

@pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Sep 13, 2024

Move test doc tags from proteus to MLS

Deleted some of the documentation start and ending tags from Proteus
tests and added them to some of the MLS tests.

Deleted tags from:

  • postCryptoMessageVerifyMsgSentAndRejectIfMissingClient
  • postCryptoMessageVerifyRejectMissingClientAndRepondMissingPrekeysJson
  • postCryptoMessageVerifyRejectMissingClientAndRespondMissingPrekeysProto
  • postMessageClientNotInGroupDoesNotReceiveMsg
  • postMessageRejectIfMissingClients
  • postCryptoMessageVerifyCorrectResponseIfIgnoreAndReportMissingQueryParam
  • postMessageQualifiedLocalOwningBackendMissingClients

Added tags to

  • testSenderNotInConversation
  • testApplicationMessage
  • testExternalCommitNotMember
  • testCommitNotReferencingAllProposals
  • testAddUserPartial

Also generalised testAccessUpdateGuestRemoved to work with both MLS and Proteus conversations.

https://wearezeta.atlassian.net/browse/WPB-10894

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

Add `ConversationProtocol` parameter so that this test is run with both
supported protocols (Proteus and MLS).
Deleted some of the documentation start and ending tags from Proteus
tests and added them to some of the MLS tests.

Deleted tags from:
- `postCryptoMessageVerifyMsgSentAndRejectIfMissingClient`
- `postCryptoMessageVerifyRejectMissingClientAndRepondMissingPrekeysJson`
- `postCryptoMessageVerifyRejectMissingClientAndRespondMissingPrekeysProto`
- `postMessageClientNotInGroupDoesNotReceiveMsg`
- `postMessageRejectIfMissingClients`
- `postCryptoMessageVerifyCorrectResponseIfIgnoreAndReportMissingQueryParam`
- `postMessageQualifiedLocalOwningBackendMissingClients`

Added tags to

- `testSenderNotInConversation`
- `testApplicationMessage`
- `testExternalCommitNotMember `
- `testCommitNotReferencingAllProposals `
- `testAddUserPartial`
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Sep 13, 2024
@echoes-hq echoes-hq bot added the echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. label Sep 13, 2024
Copy link
Contributor

@mythsunwind mythsunwind 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 the great work! I will add the new MLS tests to the mapping so they are picked up for the evaluator documents.

You might have missed to remove comments from 2 tests in services/galley/test/integration/API.hs though. Can you recheck?

Additionally: Can this be merged into the zulu SP1 branch? Not sure what the merging strategy is here or if it needs to be merged to develop first?

@pcapriotti pcapriotti marked this pull request as ready for review September 16, 2024 11:43
@pcapriotti
Copy link
Contributor Author

Thanks for the review!

Additionally: Can this be merged into the zulu SP1 branch? Not sure what the merging strategy is here or if it needs to be merged to develop first?

Yes, we merge to develop first.

@mythsunwind mythsunwind self-requested a review September 16, 2024 11:47
@pcapriotti pcapriotti merged commit 089daca into develop Sep 17, 2024
@pcapriotti pcapriotti deleted the test-doc-tags branch September 17, 2024 07:57
pcapriotti added a commit that referenced this pull request Sep 17, 2024
* Parametrise testAccessUpdateGuestRemoved

Add `ConversationProtocol` parameter so that this test is run with both
supported protocols (Proteus and MLS).

* Move test doc tags from proteus to MLS

Deleted some of the documentation start and ending tags from Proteus
tests and added them to some of the MLS tests.

Deleted tags from:
- `postCryptoMessageVerifyMsgSentAndRejectIfMissingClient`
- `postCryptoMessageVerifyRejectMissingClientAndRepondMissingPrekeysJson`
- `postCryptoMessageVerifyRejectMissingClientAndRespondMissingPrekeysProto`
- `postMessageClientNotInGroupDoesNotReceiveMsg`
- `postMessageRejectIfMissingClients`
- `postCryptoMessageVerifyCorrectResponseIfIgnoreAndReportMissingQueryParam`
- `postMessageQualifiedLocalOwningBackendMissingClients`

Added tags to

- `testSenderNotInConversation`
- `testApplicationMessage`
- `testExternalCommitNotMember `
- `testCommitNotReferencingAllProposals `
- `testAddUserPartial`

* Delete more test tags

* Add CHANGELOG entry

* Fix typos in test names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants