I have a cshtml view which can be accessed as:
http:/<address>/MyController/MyView
Some Javascript functions use
document.getElementById("#id")
to fetch the appropriate element and take some actions on that.
DOM while running Jasmine test is Jasmine tests page DOM. So the function will return null everytime. Is it possible to use the same function or I have to make some changes if I want to write Jasmine tests?