cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in com.project.qa.steps.HomeSteps.tap_on_favourites_icon() in file:/Users/admin/bamboo/xml-data/build-dir/PIR-IQDU-JOB1/UITest/build/classes/test/ and com.project.qa.steps.HomeSteps.tap_on_favourites_icon() in file:/Users/admin/bamboo/xml-data/build-dir/PIR-IQDU-JOB1/UITest/build/classes/test/

Stack Overflow | vamc | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Appium :cucumber FAILED (DuplicateStepDefinitionException)

    Stack Overflow | 6 months ago | vamc
    cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in com.project.qa.steps.HomeSteps.tap_on_favourites_icon() in file:/Users/admin/bamboo/xml-data/build-dir/PIR-IQDU-JOB1/UITest/build/classes/test/ and com.project.qa.steps.HomeSteps.tap_on_favourites_icon() in file:/Users/admin/bamboo/xml-data/build-dir/PIR-IQDU-JOB1/UITest/build/classes/test/
  2. 0

    GitHub comment 995#276299590

    GitHub | 3 months ago | bensmith87
    cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in a.b.StepDefsB.b() in file:/home/ben/dev/bug_995/build/classes/cucumber/ and a.b.StepDefsB.b() in file:/home/ben/dev/bug_995/build/classes/cucumber/
  3. 0

    Cucumber-JVM consider all anotations to be interchangeable

    Stack Overflow | 2 years ago | Ar3s
    cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in my.project.MySteps.wait_it() in file:[...] and my.project.MySteps.set_it() in file:[...]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cucumber.runtime.DuplicateStepDefinitionException:

    Stack Overflow | 2 months ago | rocky
    cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in test_cases.invalid_login.close_browser() in file:/D:/rakesh/folder/neon%20workspace/com.maven.cucum/target/test-classes/ and test_cases.valid_loign.close_browser() in file:/D:/rakesh/folder/neon%20workspace/com.maven.cucum/target/test-classes/
  6. 0

    [Cucumber-jvm] Incorrect DuplicateStepDefinitionException

    Google Groups | 3 years ago | Martin Spamer
    cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions com.company.automation.trading.fdm.timeline.FdmTimeLineSteps.marketRefreshIsTriggered() in file:/C:/Users/me/workspaces/company-trading/fdm-automation/trading-fdm-timeline/target/test-classes/ and com.company.automation.trading.fdm.timeline.FdmTimeLineSteps.marketRefreshIsTriggered() in file:/C:/Users/me/workspaces/company-trading/fdm-automation/trading-fdm-timeline/target/test-classes/

  1. andyglick 1 times, last 1 year ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. cucumber.runtime.DuplicateStepDefinitionException

    Duplicate step definitions in com.project.qa.steps.HomeSteps.tap_on_favourites_icon() in file:/Users/admin/bamboo/xml-data/build-dir/PIR-IQDU-JOB1/UITest/build/classes/test/ and com.project.qa.steps.HomeSteps.tap_on_favourites_icon() in file:/Users/admin/bamboo/xml-data/build-dir/PIR-IQDU-JOB1/UITest/build/classes/test/

    at cucumber.runtime.RuntimeGlue.addStepDefinition()
  2. Cucumber-JVM: Core
    RuntimeGlue.addStepDefinition
    1. cucumber.runtime.RuntimeGlue.addStepDefinition(RuntimeGlue.java:33)
    1 frame
  3. Cucumber-JVM: Java
    JavaBackend.loadGlue
    1. cucumber.runtime.java.JavaBackend.addStepDefinition(JavaBackend.java:151)
    2. cucumber.runtime.java.MethodScanner.scan(MethodScanner.java:68)
    3. cucumber.runtime.java.MethodScanner.scan(MethodScanner.java:41)
    4. cucumber.runtime.java.JavaBackend.loadGlue(JavaBackend.java:86)
    4 frames
  4. Cucumber-JVM: Core
    Main.main
    1. cucumber.runtime.Runtime.<init>(Runtime.java:92)
    2. cucumber.runtime.Runtime.<init>(Runtime.java:70)
    3. cucumber.runtime.Runtime.<init>(Runtime.java:66)
    4. cucumber.api.cli.Main.run(Main.java:35)
    5. cucumber.api.cli.Main.main(Main.java:18)
    5 frames