Skip to content

Commit

Permalink
Merge pull request #702 from bugsnag/disable-appium-logs
Browse files Browse the repository at this point in the history
Disable automatic attempts to get and write device log
  • Loading branch information
Cawllec authored Nov 18, 2024
2 parents 9c2541b + 7f20aa2 commit 867258a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# 9.19.0 - TBD
# 9.19.0 - 2024/11/18

## Enhancements

- Removed deprecated safari 15 & 16 from BitBar configuration, added safari 17 & 18 [701](https://github.com/bugsnag/maze-runner/pull/701)
- Handle failing appium session better [696](https://github.com/bugsnag/maze-runner/pull/696)
- Disable automatic attempts to acquire test device logs in appium scenarios [702](https://github.com/bugsnag/maze-runner/pull/702)

## Fixes

Expand Down
2 changes: 0 additions & 2 deletions lib/maze/hooks/appium_hooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def after(scenario)
# Close the app - without the sleep, launching the app for the next scenario intermittently fails
system("killall -KILL #{Maze.config.app} && sleep 1")
elsif [:bb, :bs, :local].include? Maze.config.farm
write_device_logs(scenario) if scenario.failed?

# Reset the server to ensure that test fixtures cannot fetch
# commands from the previous scenario (in idempotent mode).
begin
Expand Down
2 changes: 1 addition & 1 deletion lib/maze/maze_output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def write_requests
end
end

# Pulls the logs from the device if the scenario fails
# Writes a set of logs to a device logs file
# @param logs [Array<String>] The lines of log to be written
def write_device_logs(logs)

Expand Down

0 comments on commit 867258a

Please sign in to comment.