my @smoketest tag doesn't get recognized, I've been searching for responses in tools QA but nothing works on my code, help
package testrunners;
import org.junit.runner.RunWith;
import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"src/test/java/linkedinLearning/cucumbercourse/features"},
glue = {"stepdefinitions"},
tags = {"@SmokeTest"},
plugin = {"pretty"})
public class TestRunner {
}
My feature file is the following
Feature: Menu Management
@SmokeTest
Scenario: Add a menu item
Given I have a menu item with name "Cucumber Sandwich" and price 20
When I add that menu item
Then Menu Item with name "Cucumber Sandwich" should be added
@RegularTest
Scenario: Add another menu item
Given I have a menu item with name "Cucumber Salad" and price 15
When I add that menu item
Then Menu Item with name "Cucumber Salad" should be added
@NightlyBuildTest @RegularTest
Scenario: Add third menu item
Given I have a menu item with name "Chiken Sandwich" and price 15
When I add that menu item
Then Menu Item with name "Chiken Sandwich" should be added