Testing out the latest version of Jasmine and Karma with an AngularJS instance.
I attempted:
expect(element('a.topic-heading-link-10')).toBeDefined();
However, I received this response:
expect undefined toBeDefined undefined
http://example.com/test/e2e/scenarios.js:16:7
expected undefined but was undefined
This doesn't seem right. What is a more effective way to confirm the presence of a CSS selector?