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
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ title: Changelog
9
9
10
10
## main
11
11
12
+
* Revert `Expose Capybara DSL methods directly inside tests.` This change unintentionally broke other Capybara methods and thus introduced a regression. We aren't confident that we can fail forward so we have decided to revert this change.
13
+
14
+
*Joel Hawksley*, *Blake Williams*
15
+
12
16
* Revert change making content evaluation consistent.
Copy file name to clipboardExpand all lines: docs/guide/testing.md
+2-42Lines changed: 2 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,49 +22,9 @@ class ExampleComponentTest < ViewComponent::TestCase
22
22
end
23
23
```
24
24
25
-
_Note: `assert_selector` only matches on visible elements by default. To match on elements regardless of visibility, add `visible: false`. See the [Capybara documentation](https://rubydoc.info/github/jnicklas/capybara/Capybara/Node/Matchers) for more details._
25
+
(Capybara matchers are available if the gem is installed)
26
26
27
-
## Capybara helpers
28
-
29
-
The following Capybara helpers are available if `capybara` is installed:
_Note: `assert_selector` only matches on visible elements by default. To match on elements regardless of visibility, add `visible: false`. See the [Capybara documentation](https://rubydoc.info/github/jnicklas/capybara/Capybara/Node/Matchers) for more details._
0 commit comments