Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(browserstack): issue with vendor prefix #3845

Merged

Conversation

kobenguyent
Copy link
Collaborator

Motivation/Description of the PR

Tested config:

export const caps = {
    androidCaps: {
        appiumV2: true,
        host: "hub-cloud.browserstack.com",
        port: 4444,
        user: process.env.BROWSERSTACK_USER,
        key: process.env.BROWSERSTACK_KEY,
        'app': `bs://c700ce60cf13ae8ed97705a55b8e022f1hjhkjh3c5827c`,
        browser: '',
        desiredCapabilities: {
            'appPackage': data.packageName,
            'deviceName': process.env.DEVICE || 'Google Pixel 3',
            'platformName': process.env.PLATFORM || 'android',
            'platformVersion': process.env.OS_VERSION || '10.0',
            'automationName': process.env.ENGINE || 'UIAutomator2',
            'newCommandTimeout': 300000,
            'androidDeviceReadyTimeout': 300000,
            'androidInstallTimeout': 90000,
            'appWaitDuration': 300000,
            'autoGrantPermissions': true,
            'gpsEnabled': true,
            'isHeadless': false,
            'noReset': false,
            'noSign': true,
            'bstack:options' : {
                "appiumVersion" : "2.0.1",
            },
        }
    },
}
Helpers: Appium
Plugins: screenshotOnFail

App Installation @android --
    [1]  Starting recording promises
    Timeouts: 
  App is installed successfully
    I see app is installed "org.wikipedia.alpha"
  ✔ OK in 339ms


  OK  | 1 passed   // 2m

Screenshot 2023-09-01 at 13 48 07

Applicable helpers:

  • Appium

Type of change

  • 🐛 Bug fix

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@DavertMik DavertMik merged commit 7feea6b into 3.x Sep 15, 2023
9 checks passed
@DavertMik DavertMik deleted the 3844-issue-with-appiumv2-flag-and-browserstack-integration branch September 15, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with appiumV2 Flag and BrowserStack Integration
3 participants