chore(examples): remove dynamic versions of example apps

Closes #4200
This commit is contained in:
Yegor Jbanov
2015-09-15 13:37:50 -07:00
committed by Yegor
parent 16bf335a4a
commit 5bab607f44
11 changed files with 55 additions and 131 deletions

View File

@ -4,7 +4,7 @@ describe('hello world', function() {
afterEach(verifyNoBrowserErrors);
describe('static reflection', function() {
describe('hello world app', function() {
var URL = 'examples/src/hello_world/index.html';
it('should greet', function() {
@ -21,23 +21,6 @@ describe('hello world', function() {
});
});
describe('dynamic reflection', function() {
var URL = 'examples/src/hello_world/index_dynamic.html';
it('should greet', function() {
browser.get(URL);
expect(getComponentText('hello-app', '.greeting')).toEqual('hello world!');
});
it('should change greeting', function() {
browser.get(URL);
clickComponentButton('hello-app', '.changeButton');
expect(getComponentText('hello-app', '.greeting')).toEqual('howdy world!');
});
});
});
function getComponentText(selector, innerSelector) {

View File

@ -4,7 +4,7 @@ describe('Zippy Component', function() {
afterEach(verifyNoBrowserErrors);
describe('dynamic reflection', function() {
describe('zippy', function() {
var URL = 'examples/src/zippy_component/index.html';
beforeEach(function() { browser.get(URL); });