1
0
mirror of git://jb55.com/damus synced 2024-09-05 21:03:51 +00:00
damus/damusTests
Daniel D’Aquino bf43842590 onboarding: Suggest first post during onboarding
Testing of standard flow
------------------------

PASS

Device: iPhone 14 Pro simulator
iOS: 17.0
Damus: This commit
Steps:
1. Delete and reinstall Damus
2. Go through onboarding until suggested users appear
3. Click "continue". Should slide into the post view. PASS
4. Post view should look similar to the Figma design file, but with examples as placeholders. PASS
5. Examples should switch every 3 seconds. PASS
6. Typing a first character causes the #introductions hashtag to be automatically added. PASS
7. Uploading an image makes progress view show up and not break layout. PASS
8. Clicking on "post" should post this note and dismiss onboarding view. PASS

Testing of other flows
----------------------

PASS

Device: iPhone 14 Pro simulator
iOS: 17.0
Damus: This commit
Special remark: Made local change to always show the onboarding suggestions, and speed up testing
Coverage:

1. Clicking "skip" on suggested users view will skip into the post view. PASS
2. Clicking "cancel" on post view and then going to the normal post view reveals a blank draft. PASS
3. Clicking "cancel" dismisses onboarding view and does not post anything. PASS
4. Normal post view looks normal (not broken). PASS
5. Changing initial suggested post during onboarding, cancelling the post, and then re-entering normal post view reveals the draft with user modifications. PASS

Changelog-Added: Suggest first post during onboarding
Closes: https://github.com/damus-io/damus/issues/1338
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
Signed-off-by: William Casarin <jb55@jb55.com>
2023-10-21 08:42:00 +08:00
..
__Snapshots__/EventViewTests test: Add basic snapshot test coverage for EventView 2023-10-16 03:13:28 +02:00
Mocking test: Add basic snapshot test coverage for EventView 2023-10-16 03:13:28 +02:00
Models Create helper extensions for Block and update tests for the Block helper model 2023-09-03 18:02:32 -07:00
Util test: add text attribute testing function 2023-07-17 10:25:09 -07:00
Bech32Tests.swift ndb: switch to nostrdb notes 2023-08-03 13:20:36 -07:00
ContentParserTests.swift content: add utf8 char at url left boundary test 2023-07-16 11:46:23 -07:00
DamusCacheManagerTests.swift storage: Improve clear cache functionality 2023-10-07 16:42:08 -07:00
damusTests.swift Properly implement top-level tests and fix one test using the wrong Block conversion property 2023-09-03 18:02:32 -07:00
DMTests.swift Fix old notifications always appearing on first start 2023-08-06 09:22:28 -07:00
EventGroupViewTests.swift tests: add ndb support to tests 2023-09-21 09:10:06 -04:00
EventViewTests.swift test: Add basic snapshot test coverage for EventView 2023-10-16 03:13:28 +02:00
FormatTests.swift Fix localization issues, add tests, import translations, and add zh-CN and zh-TW 2023-02-24 12:44:54 -08:00
HashtagTests.swift test: add test cases for ASCII and UTF-8 characters in hashtags 2023-09-15 12:31:17 -05:00
InvoiceTests.swift Create helper extensions for Block and update tests for the Block helper model 2023-09-03 18:02:32 -07:00
KeychainStorageTests.swift Replace Vault dependency with @KeychainStorage property wrapper 2023-05-04 15:57:02 -07:00
LikeTests.swift ndb: switch to nostrdb notes 2023-08-03 13:20:36 -07:00
ListTests.swift ndb: switch to nostrdb notes 2023-08-03 13:20:36 -07:00
LocalizationUtilTests.swift Fix localization issues and export strings for translation 2023-07-14 09:34:29 -07:00
LongPostTests.swift tests: add ndb support to tests 2023-09-21 09:10:06 -04:00
NIP19Tests.swift ndb: switch to nostrdb notes 2023-08-03 13:20:36 -07:00
NostrEventTests.swift Fix image links appearing with escaped slashes 2023-08-18 08:41:21 -07:00
NostrScriptTests.swift nostrdb: add profiles to nostrdb 2023-09-21 09:10:06 -04:00
NoteContentViewTests.swift tests: add ndb support to tests 2023-09-21 09:10:06 -04:00
PostViewTests.swift onboarding: Suggest first post during onboarding 2023-10-21 08:42:00 +08:00
ProfileViewTests.swift tests: add ndb support to tests 2023-09-21 09:10:06 -04:00
ReplyDescriptionTests.swift Add image uploader 2023-03-15 17:12:05 -06:00
ReplyTests.swift Properly implement top-level tests and fix one test using the wrong Block conversion property 2023-09-03 18:02:32 -07:00
RequestTests.swift tests: disable invalid tests 2023-06-23 20:46:27 +02:00
TimeAgoTests.swift Fix localization issues, add tests, import translations, and add zh-CN and zh-TW 2023-02-24 12:44:54 -08:00
TrieTests.swift Add trie-based user search cache to replace non-performant linear scans 2023-07-03 12:06:01 -07:00
UrlTests.swift Create helper extensions for Block and update tests for the Block helper model 2023-09-03 18:02:32 -07:00
UserSearchAppendTests.swift posting: fix issue with username and multiple emojis 2023-09-11 07:48:36 -07:00
UserSearchCacheTests.swift test: temporarily disable UserCacheManagerTests 2023-10-07 14:35:24 -07:00
WalletConnectTests.swift nostrdb: add profiles to nostrdb 2023-09-21 09:10:06 -04:00
ZapTests.swift test: temporarily disable UserCacheManagerTests 2023-10-07 14:35:24 -07:00