You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be v useful to have a set of tests for ontobee, that would check not only the UI functionality, but data integrity.
these are very easy to do using the behave framework. For each, a script search.behave would look like this:
@ui
Scenario: "instrument" in the keyword search with a click goes to a details page
Given I go to page "/"
and I type "instrument" into the keyword search
and I wait until "instrument (OBI_0000968)" appears in the autocomplete
and I click the autocomplete item "instrument (OBI_0000968)"
then the title should be "device"
@ui
Scenario: "instrument" in the keyword search with submit goes to a search page
Given I go to page "/"
and I type "instrument" into the keyword search
and I submit keyword search
then the title should be "Search Results: instrument"
and the document should contain "instrumentation planning"
and the document should contain "instrument (OBI)"
It would be v useful to have a set of tests for ontobee, that would check not only the UI functionality, but data integrity.
these are very easy to do using the behave framework. For each, a script
search.behave
would look like this:For examples written by @kltm, see:
https://github.com/geneontology/amigo/tree/master/selenium/behave
The text was updated successfully, but these errors were encountered: