angular/angular.js

View on GitHub
docs/config/templates/examples/protractorTests.template.js

Summary

Maintainability
A
0 mins
Test Coverage
describe("{$ doc.description $}", function() {
  var rootEl;
  beforeEach(function() {
    rootEl = browser.rootEl;{% if doc['ng-app-included'] %}
    browser.rootEl = '[ng-app]';{% endif %}
    browser.get("{$ doc.basePath $}{$ doc.example.deployments[doc.deployment.name].outputPath $}");
  });
  {% if doc['ng-app-included'] %}afterEach(function() { browser.rootEl = rootEl; });{% endif %}
{$ doc.innerTest $}
});