File tree Expand file tree Collapse file tree 4 files changed +1
-26
lines changed Expand file tree Collapse file tree 4 files changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ export function runHarnessTests(
15
15
checkboxModule : typeof MatCheckboxModule ,
16
16
checkboxHarness : typeof MatCheckboxHarness ,
17
17
) {
18
- let platform : Platform ;
19
18
let fixture : ComponentFixture < CheckboxHarnessTest > ;
20
19
let loader : HarnessLoader ;
21
20
@@ -25,7 +24,6 @@ export function runHarnessTests(
25
24
declarations : [ CheckboxHarnessTest ] ,
26
25
} ) . compileComponents ( ) ;
27
26
28
- platform = TestBed . inject ( Platform ) ;
29
27
fixture = TestBed . createComponent ( CheckboxHarnessTest ) ;
30
28
fixture . detectChanges ( ) ;
31
29
loader = TestbedHarnessEnvironment . loader ( fixture ) ;
@@ -155,11 +153,6 @@ export function runHarnessTests(
155
153
} ) ;
156
154
157
155
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
- }
163
156
const disabledCheckbox = await loader . getHarness ( checkboxHarness . with ( { label : 'Second' } ) ) ;
164
157
expect ( await disabledCheckbox . isChecked ( ) ) . toBe ( false ) ;
165
158
await disabledCheckbox . toggle ( ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ export function runHarnessTests(
13
13
radioGroupHarness : typeof MatRadioGroupHarness ,
14
14
radioButtonHarness : typeof MatRadioButtonHarness ,
15
15
) {
16
- let platform : Platform ;
17
16
let fixture : ComponentFixture < MultipleRadioButtonsHarnessTest > ;
18
17
let loader : HarnessLoader ;
19
18
@@ -23,7 +22,6 @@ export function runHarnessTests(
23
22
declarations : [ MultipleRadioButtonsHarnessTest ] ,
24
23
} ) . compileComponents ( ) ;
25
24
26
- platform = TestBed . inject ( Platform ) ;
27
25
fixture = TestBed . createComponent ( MultipleRadioButtonsHarnessTest ) ;
28
26
fixture . detectChanges ( ) ;
29
27
loader = TestbedHarnessEnvironment . loader ( fixture ) ;
@@ -243,13 +241,6 @@ export function runHarnessTests(
243
241
} ) ;
244
242
245
243
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
-
253
244
fixture . componentInstance . disableAll = true ;
254
245
fixture . detectChanges ( ) ;
255
246
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ export function runHarnessTests(
12
12
slideToggleModule : typeof MatSlideToggleModule ,
13
13
slideToggleHarness : typeof MatSlideToggleHarness ,
14
14
) {
15
- let platform : Platform ;
16
15
let fixture : ComponentFixture < SlideToggleHarnessTest > ;
17
16
let loader : HarnessLoader ;
18
17
@@ -22,7 +21,6 @@ export function runHarnessTests(
22
21
declarations : [ SlideToggleHarnessTest ] ,
23
22
} ) . compileComponents ( ) ;
24
23
25
- platform = TestBed . inject ( Platform ) ;
26
24
fixture = TestBed . createComponent ( SlideToggleHarnessTest ) ;
27
25
fixture . detectChanges ( ) ;
28
26
loader = TestbedHarnessEnvironment . loader ( fixture ) ;
@@ -149,13 +147,6 @@ export function runHarnessTests(
149
147
} ) ;
150
148
151
149
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
-
159
150
const disabledToggle = await loader . getHarness ( slideToggleHarness . with ( { label : 'Second' } ) ) ;
160
151
expect ( await disabledToggle . isChecked ( ) ) . toBe ( false ) ;
161
152
await disabledToggle . toggle ( ) ;
Original file line number Diff line number Diff line change 1
1
{
2
- "SAUCELABS_IOS14 " : {
2
+ "SAUCELABS_IOS15 " : {
3
3
"base" : " SauceLabs" ,
4
4
"appiumVersion" : " 1.22.0" ,
5
5
"deviceOrientation" : " portrait" ,
You can’t perform that action at this time.
0 commit comments