Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[QUESTION] Unable to run Test Engine - Invalid File Path: TestPlanDefinition in test config file

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
csharp, playwright
领域
cli, testing-qa

调研方向

从 src\PowerAppsTestEngine\config.dev.json 和 samples\basicgallery\TestPlan.fx.yaml 开始,然后使用所示路径从 bin\Debug\PowerAppsTestEngine 重现该命令。跟踪测试配置报告 TestPlanDefinition 路径无效的位置;当 basic gallery 测试计划能够在没有该错误的情况下运行时,即表示完成。

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

描述

question
Does this question already exist in our backlog?
  • I have checked and confirm this is a new question.
What is your question?

I am unable to run the basic gallery test plan. Here are my repo steps.

  1. Clone repository
  2. cd PowerApps-TestEngine\src
  3. dotnet build
  4. Installed the browsers for Playwright via playwright.ps1 install
  5. Uploaded the solution to my environment.
  6. Created and configured a config.dev.json file in the src\PowerApsTestEngine folder as such:
  {
    "environmentId": "valid environment",
    "tenantId": "valid tenant",
    "testPlanFile": "../../samples/basicgallery/testPlan.fx.yaml",
    "outputDirectory": "",
    "user1Email": "my email"
  }
  1. Removed logical name from TestPlan.fx.yaml within the basicgallery folder and replaced it with
    appId: valid app GUID
  2. Ran the following command in bin\Debug\PowerAppsTestEngine
    `dotnet PowerAppsTestEngine.dll -i ......\samples\basicgallery\TestPlan.fx.yaml -e [valid environment] -t [valid tenant]

In the command line, I see 'Invalid file path'. In the debug log I see 'Invalid file path: TestPlanDefinition in test config file.'

What component are you experiencing the issue with?

Other

What pac version are you using?

1.40

主要语言
C#
星标
150
派生
55
平均合并
5 天 23 小时
30 天内合并 PR
4

贡献指南

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

从这里开始

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

microsoft/PowerApps-TestEngine 的其他 Issue

查看 microsoft/PowerApps-TestEngine 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

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