@@ -76,3 +76,62 @@ Feature: List properites and chidren of current nodeA
7676 """
7777 One or more weak reference targets have not been found
7878 """
79+
80+ Scenario : Wildcard on name
81+ Given I execute the "node:list /tests_general_base/numberPropertyNode/jcr:con*" command
82+ Then the command should not fail
83+ And I should see the following:
84+ """
85+ +-------------+-----------------+--+
86+ | jcr:content | nt:unstructured | |
87+ +-------------+-----------------+--+
88+ """
89+
90+ Scenario : Wildcard on directory
91+ Given I execute the "node:list /tests_general_base/*/jcr:content" command
92+ Then the command should not fail
93+ And I should see the following:
94+ """
95+ /tests_general_base/index.txt
96+ +-------------+-----------------+--+
97+ | jcr:content | nt:unstructured | |
98+ +-------------+-----------------+--+
99+ /tests_general_base/idExample
100+ +--------------+-----------------+--+
101+ | jcr:content/ | nt:unstructured | |
102+ +--------------+-----------------+--+
103+ /tests_general_base/numberPropertyNode
104+ +-------------+-----------------+--+
105+ | jcr:content | nt:unstructured | |
106+ +-------------+-----------------+--+
107+ /tests_general_base/NumberPropertyNodeToCompare1
108+ +-------------+-----------------+--+
109+ | jcr:content | nt:unstructured | |
110+ +-------------+-----------------+--+
111+ /tests_general_base/NumberPropertyNodeToCompare2
112+ +-------------+-----------------+--+
113+ | jcr:content | nt:unstructured | |
114+ +-------------+-----------------+--+
115+ """
116+
117+ Scenario : Wildcard from relative path
118+ Given the current node is "/tests_general_base"
119+ And I execute the "node:list numberPropertyNode/jcr:con*" command
120+ Then the command should not fail
121+ And I should see the following:
122+ """
123+ +-------------+-----------------+--+
124+ | jcr:content | nt:unstructured | |
125+ +-------------+-----------------+--+
126+ """
127+
128+ Scenario : Wildcard from relative path 2
129+ Given the current node is "/tests_general_base"
130+ And I execute the "node:list num*" command
131+ Then the command should not fail
132+ And I should see the following:
133+ """
134+ +---------------------+---------+--------------+
135+ | numberPropertyNode/ | nt:file | +jcr:content |
136+ +---------------------+---------+--------------+
137+ """
0 commit comments