Skip to content

Commit 97a35e6

Browse files
committed
test(@angular/cli): remove IE11 browser test
Angular v13+ no longer supports IE11.
1 parent 805282a commit 97a35e6

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

tests/legacy-cli/e2e/assets/protractor-saucelabs.conf.js

+10-14
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,9 @@ exports.config = {
4848
tunnelIdentifier,
4949
},
5050
{
51-
browserName: 'internet explorer',
52-
platform: 'Windows 8.1',
53-
version: '11',
54-
tunnelIdentifier,
55-
},
56-
{
57-
browserName: "MicrosoftEdge",
51+
browserName: 'MicrosoftEdge',
5852
platform: 'Windows 10',
59-
version: "88.0",
53+
version: '88.0',
6054
tunnelIdentifier,
6155
},
6256
],
@@ -70,7 +64,7 @@ exports.config = {
7064
jasmineNodeOpts: {
7165
showColors: true,
7266
defaultTimeoutInterval: 30000,
73-
print: function() {},
67+
print: function () {},
7468
},
7569

7670
onPrepare() {
@@ -80,10 +74,12 @@ exports.config = {
8074
require('ts-node').register({
8175
project: require('path').join(__dirname, './tsconfig.json'),
8276
});
83-
jasmine.getEnv().addReporter(new SpecReporter({
84-
spec: {
85-
displayStacktrace: StacktraceOption.PRETTY
86-
}
87-
}));
77+
jasmine.getEnv().addReporter(
78+
new SpecReporter({
79+
spec: {
80+
displayStacktrace: StacktraceOption.PRETTY,
81+
},
82+
}),
83+
);
8884
},
8985
};

tests/legacy-cli/e2e/tests/misc/browsers.ts

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export default async function () {
1414
throw new Error('SauceLabs is not configured.');
1515
}
1616

17-
await appendToFile('.browserslistrc', 'IE 11');
18-
1917
// Workaround for https://github.com/angular/angular/issues/32192
2018
await replaceInFile('src/app/app.component.html', /class="material-icons"/g, '');
2119

0 commit comments

Comments
 (0)