Skip to content

Commit 0f60f4c

Browse files
committed
build: run edge tests on browserstack
Moves the Edge tests to Browserstack to avoid the recent issues with Saucelabs.
1 parent 4ef3d3f commit 0f60f4c

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

src/cdk/testing/tests/test-main-component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ export class TestMainComponent implements OnDestroy {
5656

5757
onMouseEnter() {
5858
this._isHovering = true;
59+
this._cdr.markForCheck();
5960
}
6061

6162
onMouseLeave() {
6263
this._isHovering = false;
64+
this._cdr.markForCheck();
6365
}
6466

6567
constructor(private _cdr: ChangeDetectorRef, private _zone: NgZone) {

test/browser-providers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* - `saucelabs`: Launches the browser within Saucelabs
88
*/
99
const browserConfig = {
10-
'Edge83': {unitTest: {target: 'saucelabs'}},
10+
'Edge83': {unitTest: {target: 'browserstack'}},
1111
'iOS13': {unitTest: {target: 'saucelabs'}},
1212
'Safari13': {unitTest: {target: 'browserstack'}},
1313
};

test/karma-browsers.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@
1919
"platformName": "iOS",
2020
"deviceName": "iPhone XS Simulator"
2121
},
22-
"SAUCELABS_EDGE83": {
23-
"base": "SauceLabs",
24-
"browserName": "MicrosoftEdge",
25-
"browserVersion": "83.0",
26-
"platformName": "Windows 10"
22+
"BROWSERSTACK_EDGE83": {
23+
"base": "BrowserStack",
24+
"browser": "Edge",
25+
"browser_version": "83.0",
26+
"os": "Windows",
27+
"os_version": "10"
2728
},
2829
"BROWSERSTACK_SAFARI13": {
2930
"base": "BrowserStack",

0 commit comments

Comments
 (0)