Computer name edge TC - sirdir/computer-database GitHub Wiki
1) Create computer with single character name
test data
- single number
- single specific character
steps
- open form of creating new computer base page of application (e.g. http://computer-database.herokuapp.com/computers/new)
- Fill "Computer name" with provided test name and submit form.
- Search computer by name.
expected results
Computer created successfully. For created computer in columns must appear data that was provided in step-2.
2) Create computer with tooooooo long name
steps
- open form of creating new computer base page of application (e.g. http://computer-database.herokuapp.com/computers/new)
- Fill "Computer name" with string of 8192 characters length and submit form.
- Search computer by name.
expected results
Must appear heroku fail page.
3) Cant create computer without name
test data
steps
- open form of creating new computer base page of application (e.g. http://computer-database.herokuapp.com/computers/new)
- Didn't fill "Computer name" and submit form.
expected results
Validation of submitting test data must fail and highlight name field.
4) Cant update existed computer with empty name
test data
steps
- open form of creating new computer base page of application (e.g. http://computer-database.herokuapp.com/computers/new)
- Fill "Computer name" with valid string and submit form.
- Open created computer.
- Delete data in "Computer name" field and submit form.
expected results
Validation of submitting test data must fail and highlight name field.