Skip to content

Update Appium.js - Issue codeceptjs#4047 - bstack:options'Prefix - #4053

Merged
kobenguyent merged 1 commit into
codeceptjs:3.xfrom
mojtabaalavi:patch-1
Dec 5, 2023
Merged

Update Appium.js - Issue codeceptjs#4047 - bstack:options'Prefix#4053
kobenguyent merged 1 commit into
codeceptjs:3.xfrom
mojtabaalavi:patch-1

Conversation

@mojtabaalavi

@mojtabaalavi mojtabaalavi commented Dec 4, 2023

Copy link
Copy Markdown
Contributor

The 'bstack:options' key should not be prefixed with 'appium' as it may lead to improper execution of BrowserStack commands. The rationale behind this change is to ensure that the code block executes when the value of the variable key is neither 'platformName' nor 'bstack:options.' It's crucial to avoid prefixing 'appium' to 'bstack:options' as doing so might hinder the correct execution of BrowserStack commands.

Resolves #4047

Applicable helpers: Appium
Type of change: Bug fix

Motivation/Description of the PR

  • Description of this PR, which problem it solves
  • Resolves #issueId (if applicable).

Applicable helpers:

  • Playwright
  • Puppeteer
  • WebDriver
  • REST
  • FileHelper
  • Appium
  • TestCafe

Applicable plugins:

  • allure
  • autoDelay
  • autoLogin
  • customLocator
  • pauseOnFail
  • coverage
  • retryFailedStep
  • screenshotOnFail
  • selenoid
  • stepByStepReport
  • stepTimeout
  • wdio
  • subtitles

Type of change

  • 🔥 Breaking changes
  • 🚀 New functionality
  • 🐛 Bug fix
  • 📋 Documentation changes/updates
  • ♨️ Hot fix
  • 🔨 Markdown files fix - not related to source code
  • 💅 Polish code

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)

The 'bstack:options' key should not be prefixed with 'appium' as it may lead to improper execution of BrowserStack commands. The rationale behind this change is to ensure that the code block executes when the value of the variable key is neither 'platformName' nor 'bstack:options.' It's crucial to avoid prefixing 'appium' to 'bstack:options' as doing so might hinder the correct execution of BrowserStack commands.

Resolves  codeceptjs#4047

Applicable helpers: Appium
Type of change: Bug fix
@Arhell
Arhell requested a review from kobenguyent December 5, 2023 00:22
@kobenguyent
kobenguyent merged commit 7317709 into codeceptjs:3.x Dec 5, 2023
@kobenguyent

Copy link
Copy Markdown
Collaborator

Thanks so much!

@mojtabaalavi
mojtabaalavi deleted the patch-1 branch December 7, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarification and Screenshot Regarding 'bstack:options' Prefix Issue

3 participants