Skip to content

Commit 4837e85

Browse files
committed
fixup! ci: update remote browsers in saucelabs and browserstack
Update
1 parent 0aedfdc commit 4837e85

File tree

4 files changed

+1
-26
lines changed

4 files changed

+1
-26
lines changed

src/material/checkbox/testing/shared.spec.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export function runHarnessTests(
1515
checkboxModule: typeof MatCheckboxModule,
1616
checkboxHarness: typeof MatCheckboxHarness,
1717
) {
18-
let platform: Platform;
1918
let fixture: ComponentFixture<CheckboxHarnessTest>;
2019
let loader: HarnessLoader;
2120

@@ -25,7 +24,6 @@ export function runHarnessTests(
2524
declarations: [CheckboxHarnessTest],
2625
}).compileComponents();
2726

28-
platform = TestBed.inject(Platform);
2927
fixture = TestBed.createComponent(CheckboxHarnessTest);
3028
fixture.detectChanges();
3129
loader = TestbedHarnessEnvironment.loader(fixture);
@@ -155,11 +153,6 @@ export function runHarnessTests(
155153
});
156154

157155
it('should not toggle disabled checkbox', async () => {
158-
if (platform.FIREFOX) {
159-
// do run this test on firefox as click events on the label of a disabled checkbox
160-
// cause the value to be changed. https://bugzilla.mozilla.org/show_bug.cgi?id=1540995
161-
return;
162-
}
163156
const disabledCheckbox = await loader.getHarness(checkboxHarness.with({label: 'Second'}));
164157
expect(await disabledCheckbox.isChecked()).toBe(false);
165158
await disabledCheckbox.toggle();

src/material/radio/testing/shared.spec.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export function runHarnessTests(
1313
radioGroupHarness: typeof MatRadioGroupHarness,
1414
radioButtonHarness: typeof MatRadioButtonHarness,
1515
) {
16-
let platform: Platform;
1716
let fixture: ComponentFixture<MultipleRadioButtonsHarnessTest>;
1817
let loader: HarnessLoader;
1918

@@ -23,7 +22,6 @@ export function runHarnessTests(
2322
declarations: [MultipleRadioButtonsHarnessTest],
2423
}).compileComponents();
2524

26-
platform = TestBed.inject(Platform);
2725
fixture = TestBed.createComponent(MultipleRadioButtonsHarnessTest);
2826
fixture.detectChanges();
2927
loader = TestbedHarnessEnvironment.loader(fixture);
@@ -243,13 +241,6 @@ export function runHarnessTests(
243241
});
244242

245243
it('should not be able to check disabled radio-button', async () => {
246-
if (platform.FIREFOX) {
247-
// do run this test on firefox as click events on the label of the underlying
248-
// input checkbox cause the value to be changed. Read more in the bug report:
249-
// https://bugzilla.mozilla.org/show_bug.cgi?id=1540995
250-
return;
251-
}
252-
253244
fixture.componentInstance.disableAll = true;
254245
fixture.detectChanges();
255246

src/material/slide-toggle/testing/shared.spec.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export function runHarnessTests(
1212
slideToggleModule: typeof MatSlideToggleModule,
1313
slideToggleHarness: typeof MatSlideToggleHarness,
1414
) {
15-
let platform: Platform;
1615
let fixture: ComponentFixture<SlideToggleHarnessTest>;
1716
let loader: HarnessLoader;
1817

@@ -22,7 +21,6 @@ export function runHarnessTests(
2221
declarations: [SlideToggleHarnessTest],
2322
}).compileComponents();
2423

25-
platform = TestBed.inject(Platform);
2624
fixture = TestBed.createComponent(SlideToggleHarnessTest);
2725
fixture.detectChanges();
2826
loader = TestbedHarnessEnvironment.loader(fixture);
@@ -149,13 +147,6 @@ export function runHarnessTests(
149147
});
150148

151149
it('should not toggle disabled slide-toggle', async () => {
152-
if (platform.FIREFOX) {
153-
// do not run this test on firefox as click events on the label of the underlying
154-
// input checkbox cause the value to be changed. Read more in the bug report:
155-
// https://bugzilla.mozilla.org/show_bug.cgi?id=1540995
156-
return;
157-
}
158-
159150
const disabledToggle = await loader.getHarness(slideToggleHarness.with({label: 'Second'}));
160151
expect(await disabledToggle.isChecked()).toBe(false);
161152
await disabledToggle.toggle();

test/karma-browsers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"SAUCELABS_IOS14": {
2+
"SAUCELABS_IOS15": {
33
"base": "SauceLabs",
44
"appiumVersion": "1.22.0",
55
"deviceOrientation": "portrait",

0 commit comments

Comments
 (0)