aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 4109ae7006..4502c6a2f9 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,3 +1,12 @@
+* Make system tests take a failed screenshot in a `before_teardown` hook
+ rather than an `after_teardown` hook.
+
+ This helps minimize the time gap between when an assertion fails and when
+ the screenshot is taken (reducing the time in which the page could have
+ been dynamically updated after the assertion failed).
+
+ *Richard Macklin*
+
* Introduce `ActionDispatch::ActionableExceptions`.
The `ActionDispatch::ActionableExceptions` middleware dispatches actions