The cookbook

Step phrasings Jev resolves.

Every row here is a step phrasing pulled straight from jevcumber's own test suite โ€” the fixtures and examples it is evaluated against โ€” and the resolution Jev is verified to produce for it. These aren't hypothetical. Use them as a starting point for your own .feature files.

Navigate

StepWhat jevcumber does
I am on "/login"open "/login"
I am on https://en.wikipedia.orgopen "https://en.wikipedia.org"

Fill

StepWhat jevcumber does
I fill in the email field with "alice@example.com"type "alice@example.com" into textbox "Email"
I fill in the password field with "secret"type "secret" into field labelled "Password"
I fill in the new todo field with "Buy milk"type "Buy milk" into textbox "New todo"
I fill in the password field with "wrong"type "wrong" into field labelled "Password"
I fill in "Email" with "bob@example.com"type "bob@example.com" into textbox "Email"
I fill in "Password" with "secret"type "secret" into field labelled "Password"
I fill in "Email" with "dana@example.com"type "dana@example.com" into textbox "Email"
I submit "Feed the cat" as a new todotype "Feed the cat" into textbox "New todo" then press Enter
I fill in the new todo field with the greeting on the pagetype "Welcome, dana" into textbox "New todo"
I search for "bagel"type "bagel" into searchbox "Search Wikipedia" then press Enter

Click

StepWhat jevcumber does
I click the Log in buttonclick button "Log in"
I click the Add buttonclick button "Add"
I click "Log in"click button "Log in"
I click "Add"click button "Add"
I click the link that signs me outclick link "Sign out"

Select

StepWhat jevcumber does
I choose "High" as the prioritychoose "High" in combobox "Priority"

Check

StepWhat jevcumber does
I check the Remind me boxcheck checkbox "Remind me"

Uncheck

StepWhat jevcumber does
I uncheck the Remind me boxuncheck checkbox "Remind me"

Press a key

StepWhat jevcumber does
I press Enter in the password fieldpress Enter (in field labelled "Password")

Hover

StepWhat jevcumber does
I hover over the Sign out linkhover link "Sign out"

Clear

StepWhat jevcumber does
I clear the new todo fieldclear textbox "New todo"

Scroll

StepWhat jevcumber does
I scroll to the Add buttonscroll button "Add"

Upload

StepWhat jevcumber does
I upload "avatar.png" as the avatarupload "avatar.png" to field labelled "Avatar"

Wait

StepWhat jevcumber does
I wait for "Welcome, dana" to appearwait for "Welcome, dana"
I wait 1 secondwait 1 s
I wait for the page to settlewait for the page to settle

Assert: text visible

StepWhat jevcumber does
I should see "Welcome, alice"expect text "Welcome, alice" visible
I should see "Buy milk"expect text "Buy milk" visible
I should see "Invalid email or password"expect text "Invalid email or password" visible
I should see "Welcome, bob"expect text "Welcome, bob" visible
I should see "Feed the cat"expect text "Feed the cat" visible
I should see "dana"expect text "dana" visible
I should see "Sign in"expect text "Sign in" visible

Assert: text not visible

StepWhat jevcumber does
I should not see "Welcome"expect text "Welcome" absent

Assert: URL contains

StepWhat jevcumber does
the URL should contain "/todos"expect URL to contain "/todos"
the URL should contain "/wiki/Bagel"expect URL to contain "/wiki/Bagel"

Assert: title contains

StepWhat jevcumber does
I see an article about bagelsexpect title to contain "Bagel - Wikipedia" (pinned)

Assert: element visible

StepWhat jevcumber does
the "New todo" field should be visibleexpect textbox "New todo" visible

Assert: judged live by Jev

StepWhat jevcumber does
I see a greeting for danajudged live by Jev each run
I see the todos page for danajudged live by Jev each run

Quoted data matters: Jev selects the values in your step, it never invents them, so "alice@example.com" resolves and an unquoted description of an email does not. Page-like control names matter too โ€” "the Log in button" or a quoted "Log in" match what's really on the page; a vague description gives Jev nothing to select from. See the README for the full house rules.