Releases: golemhq/golem
0.10.1
Added
- Improved CLI reporter
- Add autocomplete suggestions for test code editor #214 :: Sunil-Rathore
- Highlight element when found, toggled by setting, action of find method #220
- feature: Custom Browser Boot Up #222
Changed
- find(), find_all() now accept XPath as first positional parameter
- browser.open_browser now accepts browser_name, capabilities and remote_url
0.10.0
0.9.2
Added
-
Suite code view
-
Download ChromeDriver in 'golem-admin createdirectory' command
0.9.1
Added
-
Rename/Delete folders; improved file list navigation #179
-
Remove executions from report dashboard
-
Skip flag to test #146
-
Actions: log, random_str, random_int, random_float
-
--cli-log-level arg to golem run command
-
Document golem.execution module
Fixed
Deprecated
- console_log_level setting, renamed to: cli_log_level
0.9.0
Added
- createsuperuser command
- User management page, user profile page
- Implicit/explicit actions import #136
- Actions can now be imported explicitly.
- New setting key: implicit_actions_import, default is true.
- Implicit/explicit page import #137
- Pages can now be imported explicitly.
- New setting key: implicit_page_import, default is true.
Removed
- createuser command
Changed
- A file named .golem must exist in the test directory. Migrate steps:
- Create a file named .golem in the test directory root with the following content:
[gui] secret_key = your_secret_key_string
- Passwords are now hashed. Migrate steps:
- Delete old users.json file
- Create a super user using the
golem createsuperuser
command - Non superusers must be created using the /users/ page
- admin user role changed to superuser
User roles are: superuser, admin, standard, read-only, reports-only - Improved test step parser #168
- Non function calls are shown as code blocks (using a code editor)
- Added code_block action to insert new code blocks
- golem.execution.workspace -> golem.execution.testdir
0.8.0
Changed
- -t, --threads argument changed to -p, --processes #148
Deprecated
Python 3.4
Added
- Filter tests by tags #147 :: r-roos, Luciano Renzi
- New argument for golem run command:
-t, --tags
- Add and edit tags using the UI
- Accept tag expressions for complex comparisons
- Docs: Filter Tests by Tags
- New argument for golem run command:
- New args to
golem gui
command: --host (default 127.0.0.1), -d|--debug (default False) - New actions: assert_element_value, assert_element_value_is_not, verify_element_value, verify_element_value_is_not, send_keys_with_delay
- New WebElement methods: inner_html, outer_html, send_keys_with_delay
0.7.0
Added
- Generate JUnit (XML) report #50 :: Daniel Maddern
- Generate JUnit and HTML reports after execution #134
- report options: 'junit', 'json', 'html', 'html-no-images'
- Specify name and location for the generated reports #156
- Modify screenshot format, size, and compression #158
- Exit with status code = 1 when execution has errors/failures #145 :: r-roos
- Document Golem standalone generation using PyInstaller #157
- Actions: timer_start, timer_stop
Changed
- Report filename from 'execution_report.json' to 'report.json'
0.6.2
0.6.1
Added
- 'start_maximized' setting key
- Firefox headless ('firefox-headless' and 'firefox-remote-headless')
- Run every test in tests folder:
golem run <project> .
- Run every test in a sub-folder:
golem run <project> foo/bar/
- Run test or suite from relative path:
golem run <project> path/to/test.py
0.6.0
Added
-
New actions: go_back, set_search_timeout, get_search_timeout, double_click, focus_element, set_trace, error,
execute_javascript, fail, javascript_click, verify_selected_option_by_text, verify_selected_option_by_value,
get_alert_text, send_text_to_alert, submit_prompt_alert, verify_alert_text, verify_alert_text_is_not, wait_for_alert_present
verify_element_has_attribute, verify_element_has_not_attribute, verify_element_has_focus, verify_element_has_not_focus,
verify_page_not_contains_text, verify_element_text, verify_element_text_is_not, verify_element_text_not_contains, verify_title
verify_title_contains, verify_title_is_not, verify_title_not_contains, verify_url, verify_url_contains, verify_url_is_not
verify_url_not_contains, wait_for_element_present, wait_for_element_not_enabled, wait_for_page_contains_text,
wait_for_page_not_contains_text, wait_for_element_text, wait_for_element_text_is_not, wait_for_element_text_contains,
wait_for_element_text_not_contains, wait_for_element_has_attribute, wait_for_element_has_not_attribute, wait_for_title,
wait_for_title_is_not, wait_for_title_contains, wait_for_title_not_contains, verify_element_attribute_value,
verify_element_attribute_is_not, go_forward, check_element, uncheck_element, submit_form, switch_to_frame, switch_to_parent_frame
get_active_element, get_window_title, get_window_titles, get_window_handle, get_window_handles, get_window_index,
switch_to_window_by_index, switch_to_first_window, switch_to_last_window, switch_to_window_by_title, switch_to_window_by_partial_title
switch_to_window_by_url, switch_to_window_by_partial_url, verify_amount_of_windows, close_window
verify_window_present_by_title, verify_window_present_by_partial_title, maximize_window, get_page_source, switch_to_next_window
switch_to_previous_window, close_window_by_index, close_window_by_title, close_window_by_url, close_window_by_partial_title,
close_window_by_partial_url, get_element_attribute, get_element_value, get_element_text, wait_for_window_present_by_title,
wait_for_window_present_by_partial_title, get_window_size, get_data, send_secure_keys -
Added verify_* actions for soft assertions and assert_* for hard assertions
Changed
-
Renamed actions:
- capture -> take_screenshot
- clear -> clear_element
- close -> close_browser
- debug -> interactive_mode
- mouse_hover -> mouse_over
- select_by_index -> select_option_by_index
- select_by_text -> select_option_by_text
- select_by_value -> select_option_by_value
- verify_alert_is_present -> verify_alert_present
- verify_alert_is_not_present -> verify_alert_not_present
- verify_cookie_exists -> verify_cookie_present
- verify_is_enabled -> verify_element_enabled
- verify_is_not_enabled -> verify_element_not_enabled
- verify_is_selected -> verify_element_checked
- verify_is_not_selected -> verify_element_not_checked
- verify_is_visible -> verify_element_displayed
- verify_is_not_visible -> verify_element_not_displayed
- verify_exists -> verify_element_present
- verify_not_exists -> verify_element_not_present
- verify_text -> verify_page_contains_text
- verify_text_in_element -> verify_element_text_contains
- wait_for_element_not_exist -> wait_for_element_not_present
- wait_for_element_visible -> wait_for_element_displayed
- wait_for_element_not_visible -> wait_for_element_not_displayed
-
Changed test results: 'pass' -> 'success'; 'fail' -> 'failure', 'error', 'code error'.
-
report.json format changed. NOTE: previous reports (<0.6.0) won´t work in the UI report viewer
-
Docs were rewritten
Removed
- Deprecated actions: assert_contains, assert_equals, assert_false, assert_true, verify_selected_option