Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit c803942

Browse files
author
Vladimir Pasquier
committed
NXP-15040: fix test on widget descriptors json export
1 parent af03812 commit c803942

2 files changed

Lines changed: 30 additions & 2 deletions

File tree

nuxeo-automation/nuxeo-automation-io/src/test/java/org/nuxeo/ecm/automation/io/json/test/TestAutomationJson.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@
3838
@RunWith(FeaturesRunner.class)
3939
@Features(PlatformFeature.class)
4040
@Deploy({ "org.nuxeo.ecm.automation.core", "org.nuxeo.ecm.automation.io",
41-
"org.nuxeo.ecm.webengine.core" })
42-
@LocalDeploy("org.nuxeo.ecm.automation.io:test-chains.xml")
41+
"org.nuxeo.ecm.webengine.core", "org.nuxeo.ecm.platform.web.common" })
42+
@LocalDeploy({ "org.nuxeo.ecm.automation.io:test-chains.xml",
43+
"org.nuxeo.ecm.automation.io:operations-contrib-test.xml" })
4344
public class TestAutomationJson {
4445

4546
@Inject
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0"?>
2+
<component name="org.nuxeo.ecm.core.automation.featuresContrib" version="1.0">
3+
4+
<documentation>@author Bogdan Stefanescu (bs@nuxeo.com)</documentation>
5+
6+
<extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent"
7+
point="operations">
8+
9+
<operation class="org.nuxeo.ecm.automation.core.operations.document.Query">
10+
<widgets>
11+
<widget name="query" type="codearea">
12+
<labels>
13+
<label mode="any">Query</label>
14+
</labels>
15+
<properties mode="any">
16+
<property name="language">nxql</property>
17+
<property name="width">100%</property>
18+
<property name="height">100%</property>
19+
</properties>
20+
<fields>
21+
<field>query</field>
22+
</fields>
23+
</widget>
24+
</widgets>
25+
</operation>
26+
</extension>
27+
</component>

0 commit comments

Comments
 (0)