MarketSquare / MarketSquare/robotframework-angularjs

Update window.angular is undefined error.

未关闭
#34 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
33
派生
20
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

定位错误文本 window.angular is undefined 的来源。更新针对非 Angular 页面 的指南,以提及 ignore implicit angular wait 功能,同时保留现有的客户端导航指南,然后验证最终的错误消息。

由索引模型根据 Issue 内容生成。

评估

技术栈
angularjs, python
领域
testing
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。