You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ npm install --save-dev jest --force
51
51
```
52
52
53
53
### Setting up Your Authentication
54
-
Make sure you have your LambdaTest credentials with you to run test automation scripts on LambdaTest Selenium Grid. You can obtain these credentials from the [LambdaTest Automation Dashboard](https://automation.lambdatest.com/build) or through [LambdaTest Profile](https://accounts.lambdatest.com/login).
54
+
Make sure you have your LambdaTest credentials with you to run test automation scripts on LambdaTest Selenium Grid. You can obtain these credentials from the [LambdaTest Automation Dashboard](https://automation.lambdatest.com/build/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample) or through [LambdaTest Profile](https://accounts.lambdatest.com/login/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample).
55
55
56
56
Set LambdaTest `Username` and `Access Key` in environment variables.
57
57
* For **Linux/macOS**:
@@ -79,19 +79,19 @@ In this code, we are passing browser, browser version, and operating system info
79
79
platform:'Windows 10',
80
80
};
81
81
```
82
-
> You can generate capabilities for your test requirements with the help of our inbuilt **[Capabilities Generator tool](https://www.lambdatest.com/capabilities-generator/)**.
82
+
> You can generate capabilities for your test requirements with the help of our inbuilt **[Capabilities Generator tool](https://www.lambdatest.com/capabilities-generator/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample)**.
83
83
84
84
## Executing the Test
85
85
86
86
The tests can be executed in the terminal using the following command
87
87
```bash
88
88
npm test single.test.js
89
89
```
90
-
Your test results would be displayed on the test console (or command-line interface if you are using terminal/cmd) and on [LambdaTest automation dashboard](https://automation.lambdatest.com/build). LambdaTest Automation Dashboard will help you view all your text logs, screenshots and video recording for your entire automation tests.
90
+
Your test results would be displayed on the test console (or command-line interface if you are using terminal/cmd) and on [LambdaTest automation dashboard](https://automation.lambdatest.com/build/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample). LambdaTest Automation Dashboard will help you view all your text logs, screenshots and video recording for your entire automation tests.
91
91
92
92
## Testing Locally Hosted or Privately Hosted Projects
93
93
94
-
You can test your locally hosted or privately hosted projects with [LambdaTest Selenium grid cloud](https://www.lambdatest.com/selenium-automation) using LambdaTest Tunnel app. All you would have to do is set up an SSH tunnel using LambdaTest Tunnel app and pass toggle `tunnel = True` via desired capabilities. LambdaTest Tunnel establishes a secure SSH protocol based tunnel that allows you in testing your locally hosted or privately hosted pages, even before they are made live.
94
+
You can test your locally hosted or privately hosted projects with [LambdaTest Selenium grid cloud](https://www.lambdatest.com/selenium-automation/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample) using LambdaTest Tunnel app. All you would have to do is set up an SSH tunnel using LambdaTest Tunnel app and pass toggle `tunnel = True` via desired capabilities. LambdaTest Tunnel establishes a secure SSH protocol based tunnel that allows you in testing your locally hosted or privately hosted pages, even before they are made live.
95
95
96
96
>Refer our [LambdaTest Tunnel documentation](https://www.lambdatest.com/support/docs/testing-locally-hosted-pages/) for more information.
97
97
@@ -126,7 +126,7 @@ To run parallel tests using **Jest**, we would have to execute the below command
126
126
```bash
127
127
npm test local.test.js
128
128
```
129
-
Your test results would be displayed on the test console (or command-line interface if you are using terminal/cmd) and on [LambdaTest automation dashboard](https://automation.lambdatest.com/build).
129
+
Your test results would be displayed on the test console (or command-line interface if you are using terminal/cmd) and on [LambdaTest automation dashboard](https://automation.lambdatest.com/build/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample).
130
130
131
131
## Additional Links
132
132
@@ -138,8 +138,8 @@ Your test results would be displayed on the test console (or command-line interf
138
138
139
139
Check out our latest tutorials on TestNG automation testing 👇
140
140
141
-
*[Jest Tutorial For Selenium JavaScript Testing With Examples](https://www.lambdatest.com/blog/jest-tutorial-for-selenium-javascript-testing-with-examples/)
142
-
*[Jest vs Mocha vs Jasmine: Comparing The Top 3 JavaScript Testing Frameworks](https://www.lambdatest.com/blog/jest-vs-mocha-vs-jasmine/)
141
+
*[Jest Tutorial For Selenium JavaScript Testing With Examples](https://www.lambdatest.com/blog/jest-tutorial-for-selenium-javascript-testing-with-examples/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample)
142
+
*[Jest vs Mocha vs Jasmine: Comparing The Top 3 JavaScript Testing Frameworks](https://www.lambdatest.com/blog/jest-vs-mocha-vs-jasmine/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample)
143
143
144
144
## Documentation & Resources :books:
145
145
@@ -151,7 +151,7 @@ Visit the following links to learn more about LambdaTest's features, setup and t
151
151
152
152
## LambdaTest Community :busts_in_silhouette:
153
153
154
-
The [LambdaTest Community](https://community.lambdatest.com/) allows people to interact with tech enthusiasts. Connect, ask questions, and learn from tech-savvy people. Discuss best practises in web development, testing, and DevOps with professionals from across the globe 🌎
154
+
The [LambdaTest Community](https://community.lambdatest.com/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample) allows people to interact with tech enthusiasts. Connect, ask questions, and learn from tech-savvy people. Discuss best practises in web development, testing, and DevOps with professionals from across the globe 🌎
155
155
156
156
## What's New At LambdaTest ❓
157
157
@@ -181,5 +181,5 @@ To stay updated with the latest features and product add-ons, visit [Changelog](
181
181
182
182
## We are here to help you :headphones:
183
183
184
-
* Got a query? we are available 24x7 to help. [Contact Us]([email protected])
184
+
* Got a query? we are available 24x7 to help. [Contact Us]([email protected]/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample)
185
185
* For more info, visit - [LambdaTest](https://www.lambdatest.com/?utm_source=github&utm_medium=repo&utm_campaign=jest-selenium-webdriver-sample)
0 commit comments