Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(common): disable deprecated date pipe tests on chrome mobile #21933

Closed
wants to merge 1 commit into from

Conversation

ocombe
Copy link
Contributor

@ocombe ocombe commented Jan 31, 2018

PR Type

What kind of change does this PR introduce?

[x] CI related changes

What is the current behavior?

There's a bug in chrome mobile 63 with the intl API: https://bugs.chromium.org/p/chromium/issues/detail?id=796583
because of that, the deprecated date pipe tests are failing.

Issue Number: #21907

What is the new behavior?

Those tests are disabled on chrome mobile

Does this PR introduce a breaking change?

[x] No

@ocombe ocombe added action: review The PR is still awaiting reviews from at least one requested reviewer area: i18n target: patch This PR is targeted for the next patch release labels Jan 31, 2018
@ocombe ocombe requested a review from vicb January 31, 2018 11:09
@ocombe ocombe force-pushed the fix/#21655-test-date-timezone branch 2 times, most recently from b86622d to 0c7ff58 Compare January 31, 2018 11:40
@@ -12,7 +12,10 @@ import {JitReflector} from '@angular/platform-browser-dynamic/src/compiler_refle
import {browserDetection} from '@angular/platform-browser/testing/src/browser_util';

{
xdescribe('DeprecatedDatePipe', () => {
// some tests are disabled on chrome mobile because of the following bug affecting the intl API
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please enclose the comment + test in a function and use this function so that we know why a test is disabled ?

function hasCromeBug796583(): boolean {
  return ...;
}

if (!hasCromeBug796583 || ...) {
 ...
}

Copy link
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see inline comments

@vicb vicb added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 31, 2018
@vicb
Copy link
Contributor

vicb commented Jan 31, 2018

Feel free to add the merge label once the requested change is implemented.
Thanks.

@ocombe ocombe force-pushed the fix/#21655-test-date-timezone branch from 0c7ff58 to 45a6295 Compare February 2, 2018 08:19
@ocombe ocombe force-pushed the fix/#21655-test-date-timezone branch from 45a6295 to 89da2c9 Compare February 2, 2018 08:21
@ocombe ocombe removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Feb 2, 2018
@ocombe ocombe added the action: merge The PR is ready for merge by the caretaker label Feb 2, 2018
@mhevery mhevery closed this in 64ae6d2 Feb 7, 2018
jbogarthyde pushed a commit to jbogarthyde/angular that referenced this pull request Feb 23, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: i18n cla: yes target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants