Serenity-core: Mark @manual in cucumber feature file not ignore steps in background

Created on 13 Dec 2016  路  5Comments  路  Source: serenity-bdd/serenity-core

Marking the @manual before 'Feature:' should work as @skip

Expected result

  • Treat all scenario and background steps as manual pending
    No script executed here
  • Report count these scenarios as pending (manual correctly)
    serenity-coreissues 630 skipbeforefeatureworked

Actual result

  • Steps in the background section are executed.
  • Report count as passed
    serenity-coreissues 630 manualbeforefeaturenotwork

Most helpful comment

Should be fixed in 1.2.1-rc.5 and 1.1.18

All 5 comments

Could you try with 1.2.1 (serenity-core) and 1.1.4 (serenity-cucumber)?

The scenario status and report result page are correct.
But each steps status still incorrect.

serenity.version = 1.2.1-rc.8
serenity.maven.version = 1.2.1-rc.8
serenity.cucumber.version = 1.1.14

630 statusshouldskipped

Could you try with 1.2.1, not 1.2.1-rc.8?

Tried again and the result still incorrect.
630 statusshouldskipped121

Should be fixed in 1.2.1-rc.5 and 1.1.18

Was this page helpful?
0 / 5 - 0 ratings