Hi all, I have a scenario with 2 example meta filters:
Meta: * @environment* * @country* Given I open the website When I login as <username> with password <password> Then I should see the greeting <headerGreeting> on the HeaderComponent page Examples: |Meta:|username|password|headerGreeting| |@environment authoring @country us|mylogin|123456|Hello Olmo| |*@environment authoring @country uk*|mylogin|123456|Hello Olmo| |@environment live @country uk|mylogin|123456|Hello Olmo| I want to execute only one line. To do so, I need to filter the examples. because the common filters are concatenated with the OR operand, I use groovy, which should allow complex filters containing logic. The grovvy filter I am using is: *groovy: (environment == 'authoring' && country == 'uk')* But the execution excludes the hole story from beeing executed :( I expect JBehave to find one matching line. Does anybody know why the filter does not work? Thanks in advance. Olmo