AppiumV2 config is not working well with LambdaTest
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 32/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- javascript, node.js
研究方向
未指定任何 repository 檔案或測試。先分別重現包含和不包含 appiumV2: true 的 LambdaTest 設定,接著追蹤 Appium 設定和 appiumVersion capability 如何傳遞給 WebDriver。連線成功、capability 被接受,且測試標題未在 LambdaTest dashboard 中重複,即表示完成。
由索引模型根據 Issue 內容生成。
描述
What are you trying to achieve?
To output the correct test case title in the LambdaTest dashboard. When I commented appiumV2: true, I can get the correct title displayed on the LambdaTest dashboard, when I use appiumV2: true, I get duplicate test title on the LambdaTest dashboard. I'm running 2 test cases continually as below. FYI, I have reached out to LambdaTest team and confirm this is not an issue from their side, as their appium version displayed from console is already version 2.X.
Adding appiumV2: true into the config file will dismiss the message below.
The Appium core team does not maintain Appium 1.x anymore since the 1st of January 2022. Please migrating to Appium 2.x by adding appiumV2: true to your config.
More info: https://bit.ly/appium-v2-migration
This Appium 1.x support will be removed in next major release.
However, it doesn't work well with my config below for LambdaTest
Appium: {
automationName: 'uiautomator2',
platform: 'Android',
hostname: 'mobile-hub.lambdatest.com',
port: 80,
timeout: 60000,
user: process.env.LAMBDATEST_USERNAME,
key: process.env.LAMBDATEST_ACCESS_KEY,
appiumV2: true,
desiredCapabilities: {
platformName: 'Android',
isRealMobile: true,
deviceName: 'Galaxy S23+',
platformVersion: '1[0-4]',
project: 'Android Mobile Automation',
build: process.env.BUILD_VERSION_NUMBER,
name: 'Android Regression Test',
idleTimeout: 900,
queueTimeout: 900,
autoGrantPermissions: process.env.DEFAULT_AUTO_GRANT_PERMISSIONS === 'true' ? false : true,
app: appId,
appiumVersion: '2.11.2',
},
},
and produce error below:
Error: Can't connect to WebDriver.
Error: Invalid or unsupported WebDriver capabilities found ("appiumVersion"). Ensure to only use valid W3C WebDriver capabilities (see https://w3c.github.io/webdriver/#capabilities).If you run your tests on a remote vendor, like Sauce Labs or BrowserStack, make sure that you put them into vendor specific capabilities, e.g. "sauce:options" or "bstack:options". Please reach out to your vendor support team if you have further questions.
Please make sure Selenium Server is running and accessible
- CodeceptJS version: 3.6.5
- NodeJS Version: v22.7.0
- Operating System: MacOS 14.6.1 (23G93)
- Appium
- 主要語言
- JavaScript
- 星號
- 4.2k
- 分支
- 756
- 平均合併
- 1 天 6 小時
- 30 天內合併 PR
- 19
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
codeceptjs/CodeceptJS 的其他 Issue
-
stale
難度 2/5 1-3 小時 新手友好度 72/100
codeceptjs/CodeceptJS#5420 · 1 則留言 ·
維護者通常 1 天內回覆
-
stale
難度 2/5 1-3 小時 新手友好度 76/100
codeceptjs/CodeceptJS#5358 · 1 則留言 ·
維護者通常 1 天內回覆
-
stale
難度 2/5 1-3 小時 新手友好度 78/100
codeceptjs/CodeceptJS#4958 · 10 則留言 · 2 個 reaction ·
維護者通常 1 天內回覆
-
stale
難度 1/5 1 小時以內 新手友好度 72/100
codeceptjs/CodeceptJS#4778 · 3 則留言 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 68/100
codeceptjs/CodeceptJS#5725 ·
維護者通常 1 天內回覆
查看 codeceptjs/CodeceptJS 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
resend/resend-skills#144 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 88/100
ScottKirvan/Smokey#33 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 86/100
Ryan-Millard/Img2Num#681 · 2 則留言 ·
維護者通常 2 天內回覆
-
難度 1/5 1 小時以內 新手友好度 75/100
bigskysoftware/htmx#4117 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆