Skip to content

Commit db97b39

Browse files
committed
[no ci] add visual testing to ui readme
1 parent a39ddbc commit db97b39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

karate-core/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
| <a href="#code-reuse">Code Reuse</a>
5050
| <a href="#hybrid-tests">Hybrid Tests</a>
5151
| <a href="#java-api">Java API</a>
52+
| <a href="#visual-testing">Visual Testing</a>
5253
</td>
5354
</tr>
5455
<tr>
@@ -177,7 +178,7 @@
177178
## Capabilities
178179

179180
* Simple, clean syntax that is well suited for people new to programming or test-automation
180-
* All-in-one framework that includes [parallel-execution](https://github.com/intuit/karate#parallel-execution), [HTML reports](https://github.com/intuit/karate#junit-html-report), [environment-switching](https://github.com/intuit/karate#switching-the-environment), and [CI integration](https://github.com/intuit/karate#test-reports)
181+
* All-in-one framework that includes [parallel-execution](https://github.com/intuit/karate#parallel-execution), [HTML reports](https://github.com/intuit/karate#junit-html-report), [environment-switching](https://github.com/intuit/karate#switching-the-environment), [Visual Testing](#visual-testing), and [CI integration](https://github.com/intuit/karate#test-reports)
181182
* Cross-platform - with even the option to run as a programming-language *neutral* [stand-alone executable](https://github.com/intuit/karate/wiki/ZIP-Release)
182183
* Support for [`iframe`-s](#switchframe), [switching tabs](#switchpage), multiple URL domains, and [uploading files](#driverinputfile)
183184
* No need to learn complicated programming concepts such as "callbacks", "`async` / `await`" and "promises"
@@ -644,6 +645,9 @@ One reason why you would need `near()` is because an `<input>` field may either
644645
* near('{}Go to Page One').click()
645646
```
646647

648+
# Visual Testing
649+
See [`compareImage`](https://github.com/karatelabs/karate#compare-image).
650+
647651
# Keywords
648652
Only one keyword sets up UI automation in Karate, typically by specifying the URL to open in a browser. And then you would use the built-in [`driver`](#syntax) JS object for all other operations, combined with Karate's [`match`](https://github.com/intuit/karate#prepare-mutate-assert) syntax for assertions where needed.
649653

0 commit comments

Comments
 (0)