Skip to content

Integration Tests

Norah C. IV edited this page Apr 21, 2025 · 4 revisions

🧪 Integration test cases Here you will find documented test cases that are about front end layer of the plugin. Things like adding, removing, tagging, etc.

📝 Test Case ID: INTEGRATION-001 Title: Reminder should have: local date time, time zone, UTC time

Test Steps:

  1. add powerup to single rem with slash command /remind me

Expected Result:

  • Reminder object should have all of these properites

📝 Test Case ID: INTEGRATION-002 Title: Reminder should have: local date time, time zone, UTC time

Test Steps:

  1. add powerup to single rem with slash command /remind me

Expected Result:

  • Reminder object should have all of these properites (all set if all data passed in the app date & time)

📝 Test Case ID: INTEGRATION-003 Title: Edited rems should be sent over API

Test Steps:

  1. Edit rem text
  2. Edit rem date
  3. Edit rem time
  4. Remove rem powerup
  5. Remove rem itself

Expected Result:

  • All of the actions above should call API, and reflect the state of the reminders in the database

📝 Test Case ID: INTEGRATION-004 Title: Reminders that was already sent stays as they are

relates: Issue#30 <- This could influence this test case

Test Steps:

  1. add powerup to single rem with slash command /remind me
  2. Wait until you receive a reminder

Expected Result:

  • Reminder should remain in your remnote as it was
  • Reminder should remain in the database as sent
  • Reminder should be removed only if user did it manually

📝 Test Case ID: INTEGRATION-005 Title: Redirection page should automatically redirects to the remnote app

Test Steps:

  1. Click on telegram reminder link

Expected Result:

  • Should open web browser for a fraction of the second and remnote should be opened with your remider rem

📝 Test Case ID: INTEGRATION-006 Title: Redirection page should have button with redirection url

Test Steps:

  1. Click on telegram reminder link
  2. Go back to the opened link from telegram

Expected Result:

  • Remnote should be automatically opened or not
  • If remnote was opened go back to browser / telegram and click on the button on the redirection page - it should open remnote app on a desired rem

📝 Test Case ID: INTEGRATION-007 Title: Character limit for reminder text

Test Steps:

  1. Set reminder on long text rem (min. 390 characters - it is the limit)
  2. wait for reminder to come

Expected Result:

  • Telegram message should be limited to 390 characters and include ellipsis at the end ...
  • The same should be for redirection page

Clone this wiki locally