Skip to content

Commit

Permalink
Merge pull request #355 from paveljandejsek/knownIssuesMd
Browse files Browse the repository at this point in the history
Added known issues section to markdown docs.
  • Loading branch information
thradec authored Apr 22, 2020
2 parents 982d34b + 9db61fe commit fe0a7ba
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ Contributors guide can be found in [CONTRIBUTING.md](CONTRIBUTING.md)

## Best practices
- [Best practices](jbehave-support-core/docs/Best-practices.md)

## Known issues
- [Known issues](jbehave-support-core/docs/Known-issues.md)

## Simple use case - Web testing

Expand Down
1 change: 1 addition & 0 deletions jbehave-support-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Core jBehave support.
- [Expression commands](docs/Expression-commands.md)
- [Test context](docs/Test-context.md)
- [Best practices](docs/Best-practices.md)
- [Known issues](docs/Known-issues.md)
- Steps
- [Web testing steps](docs/Web-testing.md)
- [REST API steps](docs/Rest-api.md)
Expand Down
18 changes: 18 additions & 0 deletions jbehave-support-core/docs/Known-issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Contents](../README.md)
## Known issues

- [UI testing](#ui-testing)
- [Reports](#reports)

### UI testing
#### Wrong element selected when using JavaScript frameworks that change DOM structures often
When testing UIs written in JS frameworks changing DOM structure on the fly (React, Angular, etc.)
you can sometimes encounter problems with selectors selecting different elements than expected (due to not all elements being present in DOM tree at the time when the selecting happens).

This is sadly a Selenium related issue which we cannot fix.
In case you encounter this behavior then a solution for this is to introduce some static wait before running the selector.

### Reports
#### Broken Reports when using JBehave parametrised test with Examples keyword
Our reports are currently not being generated in a way that supports the `Examples` keyword.
See [#80](https://github.com/EmbedITCZ/jbehave-support/issues/80) for more details.

0 comments on commit fe0a7ba

Please sign in to comment.