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

Adding support for duplicates steps #419

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

muhammedikinci
Copy link

Hello, I'm using webdriver.io with cucumber. I have the same scenarios for different platforms like Android and iOS. I can write one step definition for every scenario and I split functions by platforms with flags like driver.isAndroid. But I don't want this because it's not very convenient and optimal thus I duplicated my step definitions by below structure:

  • steps
    • ios
      • definitions.js
    • android
      • definitions.js

In this structure, I need to see all duplicated definitions but I noticed I can't see them in VSCode also I can see all duplicated definitions in WebStorm. Then I made some changes. That's all.

image

@muhammedikinci
Copy link
Author

@alexkrechik hello, could you check this PR, please?

@nerlbeck
Copy link

nerlbeck commented Nov 1, 2022

@alexkrechik Any chance that this PR could me merged? I have the exact same need in our project.

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.

None yet

2 participants