Chrome python client tests first version finished.
This commit is contained in:
@@ -57,8 +57,8 @@ Feature: The Chrome API client
|
||||
Then this method must return the string 'ok'
|
||||
|
||||
# ======================== Chrome.send() ========================
|
||||
# This method cannot be tested, given it's return cannot be predicted.
|
||||
# Therefore, there will be no testes for this method, at least for now.
|
||||
# This method cannot be tested, given it's return cannot be predicted.
|
||||
# Therefore, there will be no testes for this method, at least for now.
|
||||
|
||||
# ======================== Chrome.open_tabs() ========================
|
||||
Scenario: Using the Chrome.open_tabs method
|
||||
@@ -66,4 +66,16 @@ Feature: The Chrome API client
|
||||
And a Chrome instance
|
||||
And at least one Google Chrome tab is opened
|
||||
When the open_tabs method is called
|
||||
Then it must return a list of dictionaries containing the tabs data
|
||||
Then it must return a list of dictionaries containing the tabs data
|
||||
|
||||
# ======================== Chrome.find_tab_by_url() ========================
|
||||
# This method is currently broken.
|
||||
# Therefore, there will be no testes for it, at least for now.
|
||||
|
||||
# ======================== Chrome.find_tab_by_title() ========================
|
||||
Scenario: Using the Chrome.find_tab_by_title method
|
||||
Given the Chrome client
|
||||
And a Chrome instance
|
||||
And at least one Google Chrome tab is opened
|
||||
When the find_tab_by_title method is called
|
||||
Then the id that this method returned must match the id of the tab searched
|
||||
Reference in New Issue
Block a user