1@RunWith(SerenityRunner.class)2public class TestAnnotations {3 @WithDriver("chrome")4 public void testWithDriverAnnotation() {5 }6 @WithTag("Smoke")7 public void testWithTagAnnotation() {8 }9 @WithTag("Smoke")10 @WithTag("Regression")11 public void testWithMultipleTagAnnotation() {12 }13 @WithTag("Smoke")14 @WithTag("Regression")15 @WithTag(type = "priority", value = "P1")16 @WithTag(type = "priority", value = "P2")17 public void testWithMultipleTagAnnotationWithDifferentType() {18 }19 @WithTags({20 @WithTag("Smoke"),21 @WithTag("Regression")22 })23 public void testWithMultipleTagAnnotationWithWithTagsAnnotation() {24 }25 @WithTag("Smoke")26 @WithTag("Regression")27 @WithTag(type = "priority", value = "P1")28 @WithTag(type = "priority", value = "P2")29 @WithTag(type = "priority", value = "P3")30 @WithTag(type = "priority", value = "P4")31 public void testWithMultipleTagAnnotationWithDifferentTypeAndMultipleTags() {32 }33 @WithTag("Smoke")34 @WithTag("Regression")35 @WithTag(type = "priority", value = "P1")36 @WithTag(type = "priority", value = "P2")37 @WithTag(type = "priority", value = "P3")38 @WithTag(type = "priority", value = "P4")39 @WithTag(type = "priority", value = "P5")40 @WithTag(type = "priority", value = "P6")41 public void testWithMultipleTagAnnotationWithDifferentTypeAndMultipleTags() {42 }43}