build: fix bazel protractor tests not capturing console output (#28697)
Currently we depend on the "rules_webtesting" version that is installed by "rules_typescript//:package.bzl". This version of the webtesting rules comes with a very old version of Chromium and the `chromedriver` that does not support capturing console errors properly (with stack traces). Since we have a few e2e tests that depend on console output (e.g. playground/src/source-map), we need to make sure that these tests can pass upon Bazel migration. **Note for patch version**: Technically this commit is no longer updating the `rules_webtesting` version because a different PR/commit already updated the version transitively in `master & patch` and reverted 0094b99176264b27582ab620565632788cab66c5 partially, so in order to keep master and patch in sync, we should not update the version of `rules_webtesting`. PR Close #28697
This commit is contained in:
parent
424a3b95aa
commit
d9f3316021
@ -20,9 +20,6 @@ describe('sourcemaps', function() {
|
|||||||
|
|
||||||
$('error-app .errorButton').click();
|
$('error-app .errorButton').click();
|
||||||
|
|
||||||
// TODO(tbosch): Bug in ChromeDriver: Need to execute at least one command
|
|
||||||
// so that the browser logs can be read out!
|
|
||||||
browser.executeScript('1+1');
|
|
||||||
browser.manage().logs().get(logging.Type.BROWSER).then(function(logs: any) {
|
browser.manage().logs().get(logging.Type.BROWSER).then(function(logs: any) {
|
||||||
let errorLine: number = null;
|
let errorLine: number = null;
|
||||||
let errorColumn: number = null;
|
let errorColumn: number = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user