MarketSquare / MarketSquare/robotframework-angularjs

Update window.angular is undefined error.

Open
#34 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
33
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Currently the error is

window.angular is undefined. This could be either because this is a non-angular page or because your test involves client-side navigation. Currently the AngularJS Library is not designed to wait in such situations. Instead you should explicitly call the "Wait For Angular" keyword.

For the case where test involves client-side navigation it gives ok information about why one is getting this error (Library is not designed to wait in such situations) and what to do (you should explicitly call the "Wait For Angular" keyword). But for the case where this is a non-angular page we could and should give a hint as to what to do in this case; such as use the ignore implicit angular wait functionality.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the source of the window.angular is undefined error text. Update the non-Angular-page guidance to mention the ignore implicit angular wait functionality while retaining the existing client-side-navigation guidance, then verify the resulting error message.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs, python
Domain
testing
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.