-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Builds the e2e app with Bazel * Serves the e2e app with Bazel * Runs the e2e tests with Bazel protractor rules
- Loading branch information
1 parent
d22f48c
commit 42d50aa
Showing
41 changed files
with
543 additions
and
713 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package(default_visibility=["//visibility:public"]) | ||
|
||
load("@angular//:index.bzl", "protractor_web_test_suite") | ||
load("//tools:defaults.bzl", "ts_library") | ||
|
||
ts_library( | ||
name = "e2e_specs_lib", | ||
srcs = glob(["**/*.ts"]), | ||
tsconfig = ":tsconfig.json", | ||
deps = [ | ||
"@matdeps//@types/jasmine", | ||
"@matdeps//protractor" | ||
] | ||
) | ||
|
||
protractor_web_test_suite( | ||
name = "e2e", | ||
configuration = ":protractor.conf.js", | ||
on_prepare = ":start-devserver.js", | ||
server = "//src/e2e-app:devserver", | ||
deps = [ | ||
"@matdeps//protractor", | ||
":e2e_specs_lib" | ||
], | ||
data = [ | ||
"@angular//packages/bazel/src/protractor/utils", | ||
"//tools/axe-protractor", | ||
], | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.