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
@@ -16,31 +16,6 @@ Check out our best practices below to ensure you're getting the absolute most ou
16
16
Add additional explanation in comments if needed.
17
17
2. Provide default values for the arguments that apply to your most common case scenarios.
18
18
19
-
## `actionGroups` vs `extends`
20
-
21
-
Use an action group to wraps a set of actions to reuse them multiple times.
22
-
23
-
Use an [extension] when a test or action group needs to be repeated with the exception of a few steps.
24
-
25
-
### When to use `extends`
26
-
27
-
Use `extends` in your new test or action group when at least one of the following conditions is applicable to your case:
28
-
29
-
1. You want to keep the original test without any modifications.
30
-
2. You want to create a new test that follows the same path as the original test.
31
-
3. You want a new action group that behaves similarly to the existing action group, but you do not want to change the functionality of the original action group.
32
-
33
-
### When to avoid `extends`
34
-
35
-
Do not use `extends` in the following conditions:
36
-
1. You want to change the functionality of the test or action group and do not need to run the original version.
37
-
2. You plan to merge the base test or action group.
38
-
39
-
The following pattern is used when merging with `extends`:
40
-
1. The original test is merged.
41
-
2. The extended test is created from the merged original test.
42
-
3. The extended test is merged.
43
-
44
19
## Annotation
45
20
46
21
1. Use [annotations] in a test.
@@ -144,19 +119,18 @@ Since the configurable product module could be disabled, this approach is more r
0 commit comments