Skip to content

Search by catalog number: add integration test to check that catalogNumber is specified #1065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
php-coder opened this issue Jul 2, 2019 · 3 comments
Assignees
Milestone

Comments

@php-coder
Copy link
Owner

php-coder commented Jul 2, 2019

Create the following test:

  • open a main page
  • click on the Search button
  • test that "Number" field has an error Value must not be empty

Requirements:

  • the test should be located in the src/test/robotframework/series/search/validation.robot file

Hint:

  • we can use src/test/robotframework/category/creation/validation.robot file as an example

Extracted from #340 to reduce the scope.

@mukeshk
Copy link
Contributor

mukeshk commented Jul 6, 2019

Do we need to add an id attribute to the search form "Search by catalog" on the html?
For the test case step :

Submit Form id=

@php-coder
Copy link
Owner Author

Thank you for the question!

Do we need to add an id attribute to the search form "Search by catalog" on the html?

Yes, sure. You can find the form in the src/main/webapp/WEB-INF/views/site/index.html file. Let's use search-series-form as id.

By the way, in order to locate the error message, we also will need id. I suggest to name it catalogNumber.errors

@php-coder
Copy link
Owner Author

@mukeshk If you work on this issue, please, assign it to yourself (and, optionally, add "in progress" label).

@mukeshk mukeshk self-assigned this Jul 7, 2019
mukeshk added a commit to mukeshk/mystamps that referenced this issue Jul 12, 2019
mukeshk added a commit to mukeshk/mystamps that referenced this issue Jul 12, 2019
mukeshk added a commit to mukeshk/mystamps that referenced this issue Jul 12, 2019
mukeshk added a commit to mukeshk/mystamps that referenced this issue Jul 12, 2019
mukeshk added a commit to mukeshk/mystamps that referenced this issue Jul 12, 2019
mukeshk added a commit to mukeshk/mystamps that referenced this issue Jul 12, 2019
…number is specified.

Address to php-coder#1065

Update Validation robot

Update
mukeshk added a commit to mukeshk/mystamps that referenced this issue Jul 12, 2019
…number is specified.

Address to php-coder#1065

Update Validation robot

Update
mukeshk added a commit to mukeshk/mystamps that referenced this issue Jul 12, 2019
@php-coder php-coder added the estimation/10m Estimated time: 10 minutes label Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants