All Downloads are FREE. Search and download functionalities are using the official Maven repository.

init.samples.todo.Todo.meta Maven / Gradle / Ivy

There is a newer version: 4.1.1
Show newest version
@Sample
Feature: Todo Meta

  @Context
  @StepDef
  Scenario: a new todo list
    Given my todo list can be located by css ".todo-list"
     When I navigate to "https://todomvc.com/examples/react"
     Then the page title should contain "TodoMVC"
      And my todo list should be hidden

  @Action
  @StepDef
  @DataTable
  @ForEach
  Scenario: the following items are added
    Given the todo field can be located by class "new-todo"
     When I enter Item in the todo field
     Then my todo list should contain Item

  @Assertion
  @StepDef
  Scenario: the list will contain  items
    Given the displayed count can be located by css ".todo-count strong"
     Then the displayed count should be "$"

  @StepDef
  @DataTable
  Scenario: I have the following active items
    Given the todo field can be located by class "new-todo"
      And the active count can be located by css ".todo-count strong"
     When I navigate to "https://todomvc.com/examples/react"
      And I enter Item in the todo field for each data record
     Then the active count should be "3"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy