Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 31 lines (27 sloc) 1.17 KB
#
# Copyright 2017 Brady Wood, Branko Juric
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
Feature: TodoMVC meta
@StepDef
Scenario: I launch the Todo app
Given I resize the window to width 800 and height 800
When I navigate to "http://todomvc.com/examples/angularjs"
Then the number of active items can be located by css selector ".todo-count > strong"
@StepDef
Scenario: I add a "<todo>" item
Given the new item field can be located by class name "new-todo"
When I enter "$<todo>" in the new item field
Then the "$<todo>" item can be located by xpath "//label[contains(.,'$<todo>')]/preceding-sibling::input"
And the "$<todo>" item should not be ticked
You can’t perform that action at this time.