The following should be checked when the addon is updated. After each individual test logout and check that WTF/Account/.../SavedVariables/FriendsShare.lua properly reflects the expected state. After logging in, wait 30 seconds to see that the updates are applied. For tests with notes and additional 60 seconds wait will be necessary for them to be synced.
The tests should be repeated for both of the following scenarios:
- While logged onto a realm that is not connected, test with a local realm friend.
- While logged onto a connected realm, test with a friend on another realm.
- Add friend via Friends List pane
- Add via
/friend
slash command
- Remove friend via Friends List pane
- Remove friend via
/removefriend
slash command
- Add ignore via Ignote list pane
- Add ignore via
/ignore
slash command
- Remove ignore by selecting character in ignore list and clicking Remove Player
- Remove by using
/unignore
slash command
The right-click context menu on a friend in the Friends UI calls a toggle API function that needs to be tested separately:
- Toggle on an ignore via right-clicking on a friend in the friends list UI
- Toggle off an ignore via right-click on an ignored friend in friends list UI
- Add a note to a friend by right-clicking, selecting Set Note, and adding note text.
- Edit the note via the same menu, and clear the note text.
- Run
/friendsshare rebuild
.