Cucumber inheritance condition