"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/e2e/tests/sample.spec.js" between
angular.js-1.7.9.tar.gz and angular.js-1.8.0.tar.gz

About: AngularJS is a web application framework that assists with creating single-page applications that only require HTML, CSS, and JavaScript on the client side.

sample.spec.js  (angular.js-1.7.9):sample.spec.js  (angular.js-1.8.0)
skipping to change at line 12 skipping to change at line 12
// Sample E2E test: // Sample E2E test:
describe('Sample', function() { describe('Sample', function() {
beforeEach(function() { beforeEach(function() {
loadFixture('sample'); loadFixture('sample');
}); });
it('should have the interpolated text', function() { it('should have the interpolated text', function() {
expect(element(by.binding('text')).getText()).toBe('Hello, world!'); expect(element(by.binding('text')).getText()).toBe('Hello, world!');
}); });
it('should insert the ng-cloak styles', function() {
browser.executeScript(`
var span = document.createElement('span');
span.className = 'ng-cloak foo';
document.body.appendChild(span);
`);
expect(element(by.className('foo')).isDisplayed()).toBe(false);
});
}); });
 End of changes. 1 change blocks. 
0 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)