We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 382ba74 commit 7bd5998Copy full SHA for 7bd5998
packages/angular_devkit/build_angular/src/protractor/index.ts
@@ -139,6 +139,12 @@ async function execute(
139
}
140
141
142
+ // Like the baseUrl in protractor config file when using the API we need to add
143
+ // a trailing slash when provide to the baseUrl.
144
+ if (baseUrl && !baseUrl.endsWith('/')) {
145
+ baseUrl += '/';
146
+ }
147
+
148
try {
149
return await runProtractor(context.workspaceRoot, { ...options, baseUrl });
150
} catch {
0 commit comments