build: run playground e2e examples with bazel (#28697)

PR Close #28697
This commit is contained in:
Paul Gschwendtner
2019-02-01 14:46:38 +01:00
committed by Miško Hevery
parent 866f4be782
commit c1c68889de
42 changed files with 265 additions and 32 deletions

View File

@ -0,0 +1,9 @@
load("//modules/playground/e2e_test:example_test.bzl", "example_test")
example_test(
name = "model_driven_forms",
srcs = glob(["**/*.ts"]),
server = "//modules/playground/src/model_driven_forms:devserver",
# TODO: This does not pass with Ivy because the patch branch does not contain ivy fixes.
tags = ["fixme-ivy-aot"],
)

View File

@ -6,14 +6,15 @@
* found in the LICENSE file at https://angular.io/license
*/
import {verifyNoBrowserErrors} from 'e2e_util/e2e_util';
import {browser, by, element} from 'protractor';
import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util';
describe('Model-Driven Forms', function() {
afterEach(verifyNoBrowserErrors);
const URL = 'all/playground/src/model_driven_forms/index.html';
const URL = '/';
it('should display errors', function() {
browser.get(URL);