Skip to content

Commit 4fecd24

Browse files
authored
Fix mobile-app-testing installation page for iOS. (#365)
1 parent 02ef4c6 commit 4fecd24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/guide/mobile-app-testing/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ After verification if all requirements are not met or if there is an error, foll
7272
<b>Step 4</b></br>
7373
Next, setup Appium 2 in your project with the following command.
7474

75-
<pre style="max-width: 800px; border-radius: 10px; padding: 10px 20px"><code class="language-bash" style="font-size: 20px">npm i appium@next --save-dev</code></pre>
75+
<pre style="max-width: 800px; border-radius: 10px; padding: 10px 20px"><code class="language-bash" style="font-size: 20px">npm i appium --save-dev</code></pre>
7676

7777
<b>Step 5</b></br>
7878
Install Appium UiAutomator2 driver for Android
@@ -207,7 +207,7 @@ And done! 🎉 Your Android setup is now complete.
207207
<b>Step 1</b></br>
208208
Go the to the Nightwatch project directory and run the following command
209209

210-
<pre style="max-width: 800px; border-radius: 10px; padding: 10px 20px"><code class="language-bash" style="font-size: 20px">npx @nightwatch/mobile-helper ios --setups
210+
<pre style="max-width: 800px; border-radius: 10px; padding: 10px 20px"><code class="language-bash" style="font-size: 20px">npx @nightwatch/mobile-helper ios --setup
211211
</code></pre>
212212

213213
<b>Step 2</b></br>
@@ -219,7 +219,7 @@ After verification if all requirementss are not met or if there is an error,foll
219219
<b>Step 4</b></br>
220220
After this,setup Appium 2 in your project using
221221

222-
<pre style="max-width: 800px; border-radius: 10px; padding: 10px 20px"><code class="language-bash" style="font-size: 20px">npm i appium@next --save-dev</code></pre>
222+
<pre style="max-width: 800px; border-radius: 10px; padding: 10px 20px"><code class="language-bash" style="font-size: 20px">npm i appium --save-dev</code></pre>
223223

224224
<b>Step 5</b></br>
225225
Install Appium XCUITest driver for iOS using
@@ -353,7 +353,7 @@ Once your installation is complete,validate the setup with the following command
353353

354354
or on iOS simulators using
355355

356-
<pre style="max-width: 800px; border-radius: 10px; padding: 10px 20px"><code class="language-bash" style="font-size: 20px">npx nightwatch./nightwatch/examples/mobile-app-tests/wikipedia-ios.js --env app.ios.simulator
356+
<pre style="max-width: 800px; border-radius: 10px; padding: 10px 20px"><code class="language-bash" style="font-size: 20px">npx nightwatch nightwatch/examples/mobile-app-tests/wikipedia-ios.js --env app.ios.simulator
357357
</code></pre>
358358

359359

0 commit comments

Comments
 (0)