
committed by
Miško Hevery

parent
866f4be782
commit
c1c68889de
7
modules/playground/e2e_test/routing/BUILD.bazel
Normal file
7
modules/playground/e2e_test/routing/BUILD.bazel
Normal file
@ -0,0 +1,7 @@
|
||||
load("//modules/playground/e2e_test:example_test.bzl", "example_test")
|
||||
|
||||
example_test(
|
||||
name = "routing",
|
||||
srcs = glob(["**/*.ts"]),
|
||||
server = "//modules/playground/src/routing:devserver",
|
||||
)
|
@ -6,9 +6,10 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {verifyNoBrowserErrors} from 'e2e_util/e2e_util';
|
||||
import {$, ExpectedConditions, browser, by, element} from 'protractor';
|
||||
|
||||
import {verifyNoBrowserErrors} from '../../../e2e_util/e2e_util';
|
||||
|
||||
function waitForElement(selector: string) {
|
||||
// Waits for the element with id 'abc' to be present on the dom.
|
||||
browser.wait(ExpectedConditions.presenceOf($(selector)), 20000);
|
||||
@ -19,7 +20,7 @@ describe('routing inbox-app', () => {
|
||||
afterEach(verifyNoBrowserErrors);
|
||||
|
||||
describe('index view', () => {
|
||||
const URL = 'all/playground/src/routing/';
|
||||
const URL = '/';
|
||||
|
||||
it('should list out the current collection of items', () => {
|
||||
browser.get(URL);
|
||||
|
Reference in New Issue
Block a user