mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: fix travis required tests not running (#8437)
* build: fix travis required tests not running * Fixes that the `travis_required` CI mode isn't running. This mode is important for Firefox and Chrome testing.
This commit is contained in:
committed by
Jeremy Elbourn
parent
541a95eeba
commit
0f954a09c0
+1
-1
@@ -30,7 +30,7 @@ jobs:
|
||||
- env: "MODE=saucelabs_required"
|
||||
- env: "MODE=browserstack_required"
|
||||
- env: "MODE=travis_required"
|
||||
env: "DEPLOY_MODE=build-artifacts"
|
||||
- env: "DEPLOY_MODE=build-artifacts"
|
||||
- env: "DEPLOY_MODE=docs-content"
|
||||
- env: "DEPLOY_MODE=screenshot-tool"
|
||||
- env: "DEPLOY_MODE=dashboard"
|
||||
|
||||
@@ -110,7 +110,7 @@ describe('MatInput without forms', function () {
|
||||
|
||||
it('should not be treated as empty if type is date',
|
||||
inject([Platform], (platform: Platform) => {
|
||||
if (!(platform.TRIDENT || platform.FIREFOX || (platform.SAFARI && !platform.IOS))) {
|
||||
if (!(platform.TRIDENT || (platform.SAFARI && !platform.IOS))) {
|
||||
let fixture = TestBed.createComponent(MatInputDateTestController);
|
||||
fixture.detectChanges();
|
||||
|
||||
@@ -120,10 +120,10 @@ describe('MatInput without forms', function () {
|
||||
}
|
||||
}));
|
||||
|
||||
// Firefox, Safari Desktop and IE don't support type="date" and fallback to type="text".
|
||||
it('should be treated as empty if type is date on Firefox and IE',
|
||||
// Safari Desktop and IE don't support type="date" and fallback to type="text".
|
||||
it('should be treated as empty if type is date in Safari Desktop or IE',
|
||||
inject([Platform], (platform: Platform) => {
|
||||
if (platform.TRIDENT || platform.FIREFOX || (platform.SAFARI && !platform.IOS)) {
|
||||
if (platform.TRIDENT || (platform.SAFARI && !platform.IOS)) {
|
||||
let fixture = TestBed.createComponent(MatInputDateTestController);
|
||||
fixture.detectChanges();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user