-
-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: boxes: Add tests for saving drafts.
Test functions added: - 2 test functions for stream compositions - when a draft previously exists, call the confirmation popup - when new draft matches saved draft, do not save again - 3 test functions for private compositions - valid recipients, - invalid recipients, - new draft matches already saved draft Fixtures added for: - list saved drafts - list stream compositions - list private compositions - setup for private draft tests - setup for stream draft tests Factories added: - composition factory (generates both stream and private compositions) - saved draft factory
- Loading branch information
Showing
1 changed file
with
255 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters