Skip to content

Commit 7729914

Browse files
committed
[js] Link code snippet for setUp and tearDown
1 parent fe6c592 commit 7729914

File tree

4 files changed

+32
-4
lines changed

4 files changed

+32
-4
lines changed

website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,14 @@ In your project's `package.json`, add requirement to `dependencies`:
190190
{{< gh-codeblock path="examples/ruby/spec/spec_helper.rb#L28" >}}
191191
{{% /tab %}}
192192
{{< tab header="JavaScript" >}}
193-
{{< badge-code >}}
193+
194+
### Set Up
195+
196+
{{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L7-L9" >}}
197+
198+
### Tear Down
199+
200+
{{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L30" >}}
194201
{{< /tab >}}
195202
{{< tab header="Kotlin" >}}
196203
{{< badge-code >}}

website_and_docs/content/documentation/webdriver/getting_started/using_selenium.ja.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,14 @@ In your project's `package.json`, add requirement to `dependencies`:
186186
{{< gh-codeblock path="examples/ruby/spec/spec_helper.rb#L28" >}}
187187
{{% /tab %}}
188188
{{< tab header="JavaScript" >}}
189-
{{< badge-code >}}
189+
190+
### Set Up
191+
192+
{{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L7-L9" >}}
193+
194+
### Tear Down
195+
196+
{{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L30" >}}
190197
{{< /tab >}}
191198
{{< tab header="Kotlin" >}}
192199
{{< badge-code >}}

website_and_docs/content/documentation/webdriver/getting_started/using_selenium.pt-br.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,14 @@ In your project's `package.json`, adicionar requisito às `dependências`:
186186
{{< gh-codeblock path="examples/ruby/spec/spec_helper.rb#L28" >}}
187187
{{% /tab %}}
188188
{{< tab header="JavaScript" >}}
189-
{{< badge-code >}}
189+
190+
### Set Up
191+
192+
{{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L7-L9" >}}
193+
194+
### Tear Down
195+
196+
{{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L30" >}}
190197
{{< /tab >}}
191198
{{< tab header="Kotlin" >}}
192199
{{< badge-code >}}

website_and_docs/content/documentation/webdriver/getting_started/using_selenium.zh-cn.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,14 @@ In your project's `package.json`, add requirement to `dependencies`:
170170
{{< gh-codeblock path="examples/ruby/spec/spec_helper.rb#L28" >}}
171171
{{% /tab %}}
172172
{{< tab header="JavaScript" >}}
173-
{{< badge-code >}}
173+
174+
### Set Up
175+
176+
{{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L7-L9" >}}
177+
178+
### Tear Down
179+
180+
{{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L30" >}}
174181
{{< /tab >}}
175182
{{< tab header="Kotlin" >}}
176183
{{< badge-code >}}

0 commit comments

Comments
 (0)