Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest writing up some documentation on testing with ng_bootstrap #84

Open
Stargator opened this issue Oct 18, 2017 · 0 comments
Open

Comments

@Stargator
Copy link

I have been working on a component on my project that uses bs-modal. But I am having a hard time writing tests related to it's use.

For example, the bs-modal tag appears in the DOM regardless if the modal is shown yet.

But I noticed the elements div.modal-backdrop and div.modal both have a style attribute with the value "display: none" when the modal is hidden.

But I cannot for the life of me get my Page Object for the component under test to detect either of those elements.

It would be useful if either the repo had tests implemented for the demo of examples or there was documentation on how to test components that use some of the components from ng_bootstrap.

I'm not trying to test the ng_bootstrap component, I just need a way to test that it works when my component uses it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants