Skip to content

Instantly share code, notes, and snippets.

@jd-alexander
Created June 16, 2020 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jd-alexander/43be70267f9619eb872fdcb678da6917 to your computer and use it in GitHub Desktop.
Save jd-alexander/43be70267f9619eb872fdcb678da6917 to your computer and use it in GitHub Desktop.
Prepublishing Nudges

Prepublishing Nudges - Editor Test Cases

Tags

  1. Create a new post.
  2. Press publish.
  3. Select the Tags field.
  4. See the tags screen.
  5. Add tags and press back so they can be saved.
  6. You can also collapse the whole bottom sheet using the close button.
  7. Test different configuration changes such as rotations, kill the activity etc.
  8. Go to the Post Settings to ensure that the tags actually persist when changes are made.

Status & Visibility

  1. Create a new post.
  2. Click Publish.
  3. Click the Visibility.
  4. Test each of them to ensure changing them does the same in the Editor and the Button in the bottom sheet.

Scheduling

  1. To test simply create a new post.
  2. Press publish.
  3. Once the bottom sheet is shown click the publish scheduling button, and you will see the Publish screen with the date picking mechanisms.
  4. Change the date and then go back to the home of the bottom sheet to see the changes. 5.Go to Post Settings.
  5. Click on Publish.
  6. Ensure you see the values that were set in the bottom sheet.

Prepublishing Nudges - Post List Test Cases

Publishing

  1. Go to Post List.
  2. Go to Drafts.
  3. Click Publish.
  4. Once the bottom sheet is visible, click Publish Now.
  5. Ensure the post is published and it's shown in the Published tab.

Tags Added

  1. Go to Post List.
  2. Go to Drafts.
  3. Click Publish.
  4. Once the bottom sheet is visible, change the tags.
  5. Click Publish Now.
  6. Ensure the post is published and the tags are shown when you open it in the Post Settings of the editor.

Post Scheduled

  1. Go to Post List.
  2. Go to Drafts.
  3. Click Publish.
  4. Once the bottom sheet is visible, click Publish Date.
  5. Change the date to one in the future.
  6. Click Schedule Now.
  7. Ensure the post is scheduled and it's shown in the Scheduled tab.

Change Visibility To Private

  1. Go to Post List.
  2. Go to Drafts.
  3. Click Publish.
  4. Once the bottom sheet is visible, click Visibility.
  5. Change the visibility to Private.
  6. Click Publish Now.
  7. Ensure the post is published and it's shown in the Published tab with Private label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment