summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason Blais <jason@spinpunch.com>2017-03-04 12:49:46 -0500
committerGeorge Goldberg <george@gberg.me>2017-03-04 17:49:46 +0000
commitf7c8db99af17256aad507c798261c25ee65a8668 (patch)
tree2a3fea08f0fe6efd03abf1b84214684f90714a2a /tests
parent13edd4e7adefb77ce801bca378e21540c75bcc72 (diff)
downloadchat-f7c8db99af17256aad507c798261c25ee65a8668.tar.gz
chat-f7c8db99af17256aad507c798261c25ee65a8668.tar.bz2
chat-f7c8db99af17256aad507c798261c25ee65a8668.zip
Update link preview test cases (#5620)
Diffstat (limited to 'tests')
-rw-r--r--tests/test-link-preview.md54
1 files changed, 15 insertions, 39 deletions
diff --git a/tests/test-link-preview.md b/tests/test-link-preview.md
index c827f1667..86deab9d0 100644
--- a/tests/test-link-preview.md
+++ b/tests/test-link-preview.md
@@ -14,64 +14,40 @@ Post location variation:
Test the above variations with the below sample messages (e.g. 1-A, 2-B, 3-C, 4-D, etc.)
```
-#### A) News: The Globe and Mail
+#### A) No link preview
-Link 1 example: http://www.theglobeandmail.com/news/national/three-canadians-shortlisted-for-global-teacher-prize/article33429901/
+Link 1 example: https://en.wikipedia.org/wiki/Olympus_Mons
-Link 2 example: http://www.theglobeandmail.com/news/toronto/a-last-minute-guide-for-made-in-toronto-gifts/article33426221/
+Link 2 example: http://www.techmeme.com/
-Link 3 example: http://www.theglobeandmail.com/opinion/as-2016-crashed-in-flames-libraries-were-the-last-good-place/article33427957/
+Link 3 example: https://about.gitlab.com/
```
```
-#### B) Twitter
-
-Link 1 example: https://twitter.com/mattermosthq/status/784382907896987648
-
-Link 2 example: https://twitter.com/ArchieComics/status/813007703861841920
-
-Link 3 example: https://twitter.com/ValiantComics/status/813066492187201536
+#### B) Link preview without an image
+Link 1 example: https://coveralls.io/builds/9818822/source?filename=app%2Faudit.go
```
-
```
-#### C) Wikipedia
-
-Link 1 example: https://en.wikipedia.org/wiki/Olympus_Mons
+#### C) Link preview with image in top right corner
-Link 2 example: https://en.wikipedia.org/wiki/Climate_of_Mars#Effect_of_dust_storms
-
-Link 3 example: https://en.wikipedia.org/wiki/Mars_Exploration_Rover
-
-```
-
-```
-#### D) YouTube
-
-Link 1 example: https://www.youtube.com/watch?v=fDu1S-MMClw
-
-Link 2 example: https://www.youtube.com/watch?v=GaCjjda5v1o
-
-Link 3 example: https://www.youtube.com/watch?v=1Ui44_-N9y0
+Link 1 example: http://www.theglobeandmail.com/news/national/three-canadians-shortlisted-for-global-teacher-prize/article33429901/
-```
+Link 2 example: https://twitter.com/ArchieComics/status/813007703861841920
+Link 3 example: https://github.com/mattermost
+Link 4 example: http://stackoverflow.com/questions/36650437/using-mattermost-api-via-gitlab-oauth-as-an-end-user-with-username-and-password
```
-#### E) GitHub
-Link 1 example: https://github.com/mattermost
```
+#### D) Link preview with image at the bottom
-```
-#### F) Webpage: Techmeme
+If "Account Settings > Display > Default appearance of image link previews" is set to "Collapsed", you must click the expand arrows to display the image.
-Link 1 example: http://www.techmeme.com/
-```
+Link 1 example: https://www.yahoo.com/news/panasonic-unveils-solar-roof-may-212400917.html
-```
-#### G) StackOverflow
+Link 2 example: https://about.mattermost.com
-Link 1 example: http://stackoverflow.com/questions/36650437/using-mattermost-api-via-gitlab-oauth-as-an-end-user-with-username-and-password
```