summaryrefslogtreecommitdiffstats
path: root/webapp/tests/components
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2017-06-21 05:08:37 +0800
committerJoram Wilander <jwawilander@gmail.com>2017-06-20 17:08:37 -0400
commitf80003a975d40741803fee576f57f2700a95656f (patch)
tree96fc310db0a49c010e5755b6c170745cda99f118 /webapp/tests/components
parent6e2e1c3bbb12be059426d895dc1f6d4062d10532 (diff)
downloadchat-f80003a975d40741803fee576f57f2700a95656f.tar.gz
chat-f80003a975d40741803fee576f57f2700a95656f.tar.bz2
chat-f80003a975d40741803fee576f57f2700a95656f.zip
add more Ids for UI automation (#6673)
Diffstat (limited to 'webapp/tests/components')
-rw-r--r--webapp/tests/components/__snapshots__/new_channel_modal.test.jsx.snap9
1 files changed, 9 insertions, 0 deletions
diff --git a/webapp/tests/components/__snapshots__/new_channel_modal.test.jsx.snap b/webapp/tests/components/__snapshots__/new_channel_modal.test.jsx.snap
index fb27ef395..c5582dc7d 100644
--- a/webapp/tests/components/__snapshots__/new_channel_modal.test.jsx.snap
+++ b/webapp/tests/components/__snapshots__/new_channel_modal.test.jsx.snap
@@ -92,6 +92,7 @@ exports[`components/NewChannelModal should match snapshot, modal not showing 1`]
<input
autoFocus={true}
className="form-control"
+ id="newPublicChannelName"
maxLength={22}
onChange={[Function]}
placeholder="E.g.: \\"Bugs\\", \\"Marketing\\", \\"客户支持\\""
@@ -147,6 +148,7 @@ exports[`components/NewChannelModal should match snapshot, modal not showing 1`]
>
<textarea
className="form-control no-resize"
+ id="newPublicChannelPurpose"
maxLength="250"
onChange={[Function]}
placeholder="E.g.: \\"A channel to file bugs and improvements\\""
@@ -195,6 +197,7 @@ exports[`components/NewChannelModal should match snapshot, modal not showing 1`]
>
<textarea
className="form-control no-resize"
+ id="newPublicChannelHeader"
maxLength="1024"
onChange={[Function]}
placeholder="E.g.: \\"[Link Title](http://example.com)\\""
@@ -339,6 +342,7 @@ exports[`components/NewChannelModal should match snapshot, modal showing 1`] = `
<input
autoFocus={true}
className="form-control"
+ id="newPublicChannelName"
maxLength={22}
onChange={[Function]}
placeholder="E.g.: \\"Bugs\\", \\"Marketing\\", \\"客户支持\\""
@@ -394,6 +398,7 @@ exports[`components/NewChannelModal should match snapshot, modal showing 1`] = `
>
<textarea
className="form-control no-resize"
+ id="newPublicChannelPurpose"
maxLength="250"
onChange={[Function]}
placeholder="E.g.: \\"A channel to file bugs and improvements\\""
@@ -442,6 +447,7 @@ exports[`components/NewChannelModal should match snapshot, modal showing 1`] = `
>
<textarea
className="form-control no-resize"
+ id="newPublicChannelHeader"
maxLength="1024"
onChange={[Function]}
placeholder="E.g.: \\"[Link Title](http://example.com)\\""
@@ -586,6 +592,7 @@ exports[`components/NewChannelModal should match snapshot, private channel fille
<input
autoFocus={true}
className="form-control"
+ id="newPrivateChannelName"
maxLength={22}
onChange={[Function]}
placeholder="E.g.: \\"Bugs\\", \\"Marketing\\", \\"客户支持\\""
@@ -641,6 +648,7 @@ exports[`components/NewChannelModal should match snapshot, private channel fille
>
<textarea
className="form-control no-resize"
+ id="newPrivateChannelPurpose"
maxLength="250"
onChange={[Function]}
placeholder="E.g.: \\"A channel to file bugs and improvements\\""
@@ -689,6 +697,7 @@ exports[`components/NewChannelModal should match snapshot, private channel fille
>
<textarea
className="form-control no-resize"
+ id="newPrivateChannelHeader"
maxLength="1024"
onChange={[Function]}
placeholder="E.g.: \\"[Link Title](http://example.com)\\""