summaryrefslogtreecommitdiffstats
path: root/tests/test-link-preview.md
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-18 09:25:10 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-18 09:25:10 -0500
commita7fae6e62fbddc5565b10995f0eaeaca0af6c818 (patch)
treed34a4bfbf53e52d48cefbd699fbcac1e8032c879 /tests/test-link-preview.md
parent8b9ff64881aae5694f616612f994991b2a3d7c59 (diff)
downloadchat-a7fae6e62fbddc5565b10995f0eaeaca0af6c818.tar.gz
chat-a7fae6e62fbddc5565b10995f0eaeaca0af6c818.tar.bz2
chat-a7fae6e62fbddc5565b10995f0eaeaca0af6c818.zip
Moving tests to /tests and removing /doc folder. Docs are now in seperate repository
Diffstat (limited to 'tests/test-link-preview.md')
-rw-r--r--tests/test-link-preview.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/test-link-preview.md b/tests/test-link-preview.md
new file mode 100644
index 000000000..4061bda35
--- /dev/null
+++ b/tests/test-link-preview.md
@@ -0,0 +1,23 @@
+# Link Preview Tests
+
+Link previews should embed previews of the contents of a hyperlink from a message or comment in the center channel directly below the message or comment.
+
+Post location variation:
+
+1. Post as message in center channel with RHS closed (link preview should render under message)
+2. Post as message in center channel with RHS open (link preview should render under message)
+3. Post as comment in RHS (link preview should not render)
+4. View comment in center channel with RHS closed (link preview should render under message)
+5. View comment in center channel with RHS open (link preview should render under message)
+6. Search for post in RHS with link
+
+Post the following links one per message in the above variations:
+
+Twitter Link Preview:
+https://twitter.com/mattermosthq/status/664928489078820865
+
+Vine:
+https://vine.co/v/eDeVgbFrt9L
+
+Wikipedia
+https://en.wikipedia.org/wiki/Princess_Bubblegum