Canvas Application - Name isn't value.
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 52/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- csharp
- 领域
- testing-qa
调研方向
从提供的 Power Fx YAML 测试用例开始,使用名为 Title_1 的控件重现失败,然后将其与通过的 Title1 用例进行比较。跟踪 gallery 控件的测试执行和名称解析路径;当带下划线的控件名称被接受,且测试在没有报告的错误的情况下通过时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
- Please attach the test suite YAML & .msapp which demonstrates the issue you are experiencing and any logs written to the specified outputDirectory. (Please do not attach any file which may contain sensitive personal or company data.)
Describe the bug
When control has _ in the name unable to create test.
Errors: Error 35-43: Name isn't valid. 'Title_1' isn't recognized.
Error 43-48: The '.' operator cannot be used on Error values.
Error 48-49: Incompatible types for comparison. These types can't be compared: Error, Text.
Result: Failed
To Reproduce
Steps to reproduce the behavior:
- Create canvas application
- Sample test which fails
# yaml-embedded-languages: powerfx
testSuite:
testSuiteName: Basic Gallery
testSuiteDescription: Verifies that you can interact with controls within a basic gallery
persona: User1
appId: d9d23189-9bbb-4ba3-9ace-59019ae64455
testCases:
- testCaseName: Case1
testSteps: |
= Assert(Index(Gallery1.AllItems, 1).Title_1.Text="Test");
testSettings:
locale: "en-US"
recordVideo: true
headless: false
browserConfigurations:
- browser: Chromium
channel: msedge
environmentVariables:
users:
- personaName: User1
emailKey: user1Email
passwordKey: NotNeeded
-
Rename control from Title_1 and Title1 run test.
-
Publish new version
# yaml-embedded-languages: powerfx
testSuite:
testSuiteName: Basic Gallery
testSuiteDescription: Verifies that you can interact with controls within a basic gallery
persona: User1
appId: d9d23189-9bbb-4ba3-9ace-59019ae64455
testCases:
- testCaseName: Case1
testSteps: |
= Assert(Index(Gallery1.AllItems, 1).Title1.Text="Test");
testSettings:
locale: "en-US"
recordVideo: true
headless: false
browserConfigurations:
- browser: Chromium
channel: msedge
environmentVariables:
users:
- personaName: User1
emailKey: user1Email
passwordKey: NotNeeded
- Run test and result pass
- 主要语言
- C#
- 星标
- 150
- 派生
- 55
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 4
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/PowerApps-TestEngine 的其他 Issue
-
new
难度 1/5 1 小时以内 新手友好度 68/100
-
new
难度 3/5 1-2 天 新手友好度 35/100
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
-
new
难度 4/5 3-5 天 新手友好度 48/100
-
question
难度 5/5 一周以上 新手友好度 20/100
查看 microsoft/PowerApps-TestEngine 的全部 Issue
相似的 Issue
-
effort:S P3 refactor
难度 2/5 1-3 小时 新手友好度 75/100
nightscout/nocturne#1532 ·
-
core dependencies
难度 1/5 1 小时以内 新手友好度 80/100
-
documentation
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
DotNetNext/SqlSugar#1458 ·