Skip to content

chore(build): fix flakiness of the element probe global test - #5493

Closed
marclaval wants to merge 1 commit into
angular:masterfrom
marclaval:fixProbeFlake
Closed

marclaval wants to merge 1 commit into
angular:masterfrom
marclaval:fixProbeFlake

Conversation

@marclaval

Copy link
Copy Markdown
Contributor

2 bugs here:

  • the tools pollutes the global environment with an undefined ng property
  • setValueOnPath() fails if there is an undefined or null property existing in the path.
    It is used to set the DebugElement getter on window.ng.probe.

With the 2 combined, the test element probe should provide a global function to inspect elements fails if it is executed after the tools' tests, which happens from time to time, hence the flake.

@marclaval marclaval added the action: review The PR is still awaiting reviews from at least one requested reviewer label Nov 26, 2015
@jelbourn

jelbourn commented Dec 2, 2015

Copy link
Copy Markdown
Contributor

Closed via fb16c39

@jelbourn jelbourn closed this Dec 2, 2015
@marclaval
marclaval deleted the fixProbeFlake branch December 11, 2017 09:59
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 action: review The PR is still awaiting reviews from at least one requested reviewer cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants