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 | 2 months ago
  1. 0

    Appium :cucumber FAILED (DuplicateStepDefinitionException)

    Stack Overflow | 2 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

    Cucumber-JVM consider all anotations to be interchangeable

    Stack Overflow | 1 year ago | Ar3s
    cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in my.project.MySteps.wait_it() in file:[...] and my.project.MySteps.set_it() in file:[...]
  3. 0

    [Cucumber-jvm] Incorrect DuplicateStepDefinitionException

    Google Groups | 2 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/
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: [Cucumber] Looking for aggregated html report from cucumber

    Google Groups | 4 years ago | Aslak Helles√ły
    cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in uk.co.ratedpeople.test.functional.selenium.tmacquisition.TMSignupStepDefs.The_user_is_on_home_page() in file:/home/shabana.khanam/dev/Selenium-Test/selenium-tests-module/target/test-classes/ and uk.co.ratedpeople.test.functional.selenium.tmacquisition.TMSignupStepDefs.The_user_is_on_home_page() in file:/home/shabana.khanam/dev/Selenium-Test/selenium-tests-module/target/test-classes/

  1. andyglick 1 times, last 9 months ago
1 unregistered visitors

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