File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 3
3
A collection of traits that help to quickly develop custom Context classes for
4
4
testing Drupal sites using Behat.
5
5
6
+ The following traits are included:
7
+
8
+ * ` BrowserCapabilityDetectionTrait ` : allows to detect whether a scenario is
9
+ using a browser that supports JavaScript. This can be used to write step
10
+ definitions that can interact both with JavaScript behaviors and non-JS
11
+ fallbacks.
12
+ * ` EntityTrait ` : provides methods that allow to interact with entities using
13
+ human readable names in step definitions, and translate them to machine names.
14
+ * ` PageCacheTrait ` : allows to write step definitions that are aware of whether
15
+ the page that is currently loaded is cached or cacheable.
16
+
17
+ Each of these traits come with an example context that include some step
18
+ definitions to demonstrate how to use the traits.
6
19
7
20
## Requirements
8
21
You can’t perform that action at this time.
0 commit comments