Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- given:
- to LoginPage
- at LoginPage
- when:
- "Login as" 'admin'
- then:
- at SalesToolsPage
- when:
- "Select in the left menu" 'Administration', 'A Reports', 'Maintain Report Descriptions'
- then:
- at MaintainReportDescriptionsPage
- when:
- "Fill field" 'Code', 'Auto'
- "Fill field" 'Description', 'Test'
- "Click button" "Cancel"
- "Check that field is empty" 'Code'
- "Check that field is empty" 'Description'
- "Click button and verify JS-message" "Add", 'Please enter a value for "Code".'
- "Fill field" 'Code', 'Auto'
- "Click button and verify JS-message" "Add", 'Please enter a value for "Description".'
- "Fill field" 'Description', 'Test'
- "Click button" "Add"
- "Verify that element presented" 'New code added.'
- "Select in the left menu" 'Reports', 'R Reports'
- then:
- at ReportsPage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement