AppiumV2 config is not working well with LambdaTest
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 32/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- javascript, node.js
Rechercherichtung
Es werden keine Repository-Dateien oder Tests genannt. Beginne damit, die LambdaTest-Konfiguration mit und ohne appiumV2: true zu reproduzieren, und verfolge dann, wie die Appium-Konfiguration und die appiumVersion-Capability an WebDriver übergeben werden. Als abgeschlossen gilt die Aufgabe, wenn die Verbindung erfolgreich hergestellt wird, die Capability akzeptiert wird und Testtitel im LambdaTest-Dashboard nicht dupliziert werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- JavaScript
- Sterne
- 4.2k
- Forks
- 756
- Ø Merge
- 2 T. 10 Std.
- Gemergte PRs (30 T.)
- 18
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codeceptjs/CodeceptJS
-
stale
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
codeceptjs/CodeceptJS#5420 · 1 Kommentar ·
-
stale
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
codeceptjs/CodeceptJS#5358 · 1 Kommentar ·
-
stale
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
codeceptjs/CodeceptJS#4958 · 10 Kommentare · 2 Reaktionen ·
-
stale
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
codeceptjs/CodeceptJS#4778 · 3 Kommentare ·
-
stale
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
codeceptjs/CodeceptJS#5618 · 1 Kommentar ·
Alle Issues in codeceptjs/CodeceptJS
Ähnliche Issues
-
Update HugeIcons library Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
antfu-collective/icones#398 ·
-
ECmail.com Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
wesbos/burner-email-providers#554 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
components-web-app/docs#92 ·