Created
February 11, 2016 10:54
-
-
Save RiverGlide/330c6fd9e76f87f5c114 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.serenitybdd.demos.todos.user_interface; | |
import net.serenitybdd.screenplay.targets.Target; | |
public class ToDoList { | |
public static Target WHAT_NEEDS_TO_BE_DONE = the(“’What needs to be done?’ field”).locatedBy(“#new-todo”); | |
public static Target ITEMS = the(“List of todo items”).locatedBy(“.view label”); | |
public static Target ITEMS_LEFT = the(“Count of items left”).locatedBy(“#todo-count strong”); | |
public static Target TOGGLE_ALL = the(“Complete all items link”).locatedBy(“#toggle-all”); | |
public static Target CLEAR_COMPLETED = the(“Clear completed link”).locatedBy(“#clear-completed”); | |
public static Target FILTER = the(“filter”).locatedBy(“//*[@id=’filters’]//a[.=’{0}’]”); | |
public static Target SELECTED_FILTER = the(“selected filter”).locatedBy(“#filters li .selected”); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment