Skip to content

Commit

Permalink
fixed bugs in ui demo scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Jan 25, 2020
1 parent b1c91c7 commit d5e07e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2106,7 +2106,7 @@ Key | Type | Required? | Description
Example:
```
# enable X509 certificate authentication with PKCS12 file 'certstore.pfx' and password 'certpassword'
* configure ssl = { keyStore: 'classpath:certstore.pfx', keyStorePassword: 'certpassword', keyStoreType: 'pkcs12' };
* configure ssl = { keyStore: 'classpath:certstore.pfx', keyStorePassword: 'certpassword', keyStoreType: 'pkcs12' }
```

```
Expand Down
2 changes: 1 addition & 1 deletion examples/jobserver/src/test/java/jobtest/web/web1.feature
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Feature: web 1
When click('input[name=btnI]')
Then waitForUrl('https://github.com/intuit/karate')

When click('{a}Find File')
When click('{a}Find file')
And def searchField = waitFor('input[name=query]')
Then match driver.url == 'https://github.com/intuit/karate/find/master'

Expand Down
4 changes: 2 additions & 2 deletions karate-demo/src/test/java/driver/demo/demo-02.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ Feature: browser automation 2
When click('input[name=btnI]')
Then waitForUrl('https://github.com/intuit/karate')

When click('{a}Find File')
When click('{a}Find file')
And def searchField = waitFor('input[name=query]')
Then match driver.url == 'https://github.com/intuit/karate/find/master'

When searchField.input('karate-logo.png')
And def innerText = function(locator){ return scripts(locator, '_.innerText') }
And def innerText = function(locator){ return scriptAll(locator, '_.innerText') }
And def searchFunction =
"""
function() {
Expand Down
2 changes: 1 addition & 1 deletion karate-demo/src/test/java/driver/demo/demo-03.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Feature: 3 scenarios
When click('input[name=btnI]')
Then waitForUrl('https://github.com/intuit/karate')

When click('{a}Find File')
When click('{a}Find file')
And def searchField = waitFor('input[name=query]')
Then match driver.url == 'https://github.com/intuit/karate/find/master'

Expand Down

0 comments on commit d5e07e2

Please sign in to comment.