Skip to content

Commit f4ff308

Browse files
author
John Doherty
authored
Merge pull request #71 from felipeaugustox/master
Fix little english typos
2 parents 231600a + 1ad5391 commit f4ff308

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.MD

+3-3
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ module.exports = {
182182
* @param {string} searchQuery
183183
* @returns {Promise} a promise to enter the search values
184184
*/
185-
preformSearch: function (searchQuery) {
185+
performSearch: function (searchQuery) {
186186

187187
var selector = page.googleSearch.elements.searchInput;
188188

@@ -201,7 +201,7 @@ this.When(/^I search Google for "([^"]*)"$/, function (searchQuery) {
201201
return helpers.loadPage('http://www.google.com').then(function() {
202202

203203
// use a method on the page object which also returns a promise
204-
return page.googleSearch.preformSearch(searchQuery);
204+
return page.googleSearch.performSearch(searchQuery);
205205
})
206206
});
207207
```
@@ -274,7 +274,7 @@ helpers.getPseudoElementAfterValue('body header');
274274

275275
### Visual Comparison
276276

277-
The `selenium-cucumber-js` framework uses [Applitools Eyes](https://applitools.com/) to add visual checkpoints to your JavaScript Selenium tests. It takes care of getting screenshots of your application from the underlying WebDriver, sending them to the Applitools Eyes server for validation and failing the test when differences are detected. To preform visual comparisons within your tests, obtain an [Applitools Eyes](https://applitools.com/) API Key and assign it to the `eye_key` property of the `selenium-cucumber-js.json` config file in the root of your project.
277+
The `selenium-cucumber-js` framework uses [Applitools Eyes](https://applitools.com/) to add visual checkpoints to your JavaScript Selenium tests. It takes care of getting screenshots of your application from the underlying WebDriver, sending them to the Applitools Eyes server for validation and failing the test when differences are detected. To perform visual comparisons within your tests, obtain an [Applitools Eyes](https://applitools.com/) API Key and assign it to the `eye_key` property of the `selenium-cucumber-js.json` config file in the root of your project.
278278

279279
For example the following configuration could be used with an increased timeout which allows enough time for visual checks:
280280

0 commit comments

Comments
 (0)