Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
7a158f0f
Commit
7a158f0f
authored
Nov 25, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio_ui_test: More readonly test coverage.
parent
8b284f16
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
473 additions
and
75 deletions
+473
-75
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorAllOfReadOnly.xml
...js_zuite/testSlapOSJSTestParameterEditorAllOfReadOnly.xml
+58
-0
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorAllOfReadOnly.zpt
...js_zuite/testSlapOSJSTestParameterEditorAllOfReadOnly.zpt
+340
-0
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorJSONinXMLReadOnly.zpt
...uite/testSlapOSJSTestParameterEditorJSONinXMLReadOnly.zpt
+45
-45
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorXMLReadOnly.zpt
...osjs_zuite/testSlapOSJSTestParameterEditorXMLReadOnly.zpt
+30
-30
No files found.
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorAllOfReadOnly.xml
0 → 100644
View file @
7a158f0f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testSlapOSJSTestParameterEditorAllOfReadOnly
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorAllOfReadOnly.zpt
0 → 100644
View file @
7a158f0f
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorJSONinXMLReadOnly.zpt
View file @
7a158f0f
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorXMLReadOnly.zpt
View file @
7a158f0f
...
...
@@ -36,17 +36,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name="//simple-string" and @type="text"]
</td>
<td>
//input[@name="//simple-string" and @type="text"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//input[@name="//simple-string" and @type="text"]
</td>
<td>
//input[@name="//simple-string" and @type="text"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//input[@name="//simple-string" and @type="text"]
</td>
<td>
//input[@name="//simple-string" and @type="text"
and @readonly="true"
]
</td>
<td>
this is a simple string
</td>
</tr>
...
...
@@ -55,17 +55,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//select[@name="//simple-string-with-enum"]
</td>
<td>
//select[@name="//simple-string-with-enum"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//select[@name="//simple-string-with-enum"]
</td>
<td>
//select[@name="//simple-string-with-enum"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//select[@name="//simple-string-with-enum"]
</td>
<td>
//select[@name="//simple-string-with-enum"
and contains(@class, "readonly")
]
</td>
<td>
simple string B
</td>
</tr>
...
...
@@ -74,17 +74,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//select[@name="//simple-boolean"]
</td>
<td>
//select[@name="//simple-boolean"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//select[@name="//simple-boolean"]
</td>
<td>
//select[@name="//simple-boolean"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//select[@name="//simple-boolean"]
</td>
<td>
//select[@name="//simple-boolean"
and contains(@class, "readonly")
]
</td>
<td>
true
</td>
</tr>
...
...
@@ -93,17 +93,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="//simple-string-with-text-area"]
</td>
<td>
//textarea[@name="//simple-string-with-text-area"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="//simple-string-with-text-area"]
</td>
<td>
//textarea[@name="//simple-string-with-text-area"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//textarea[@name="//simple-string-with-text-area"]
</td>
<td>
//textarea[@name="//simple-string-with-text-area"
and @readonly="true"
]
</td>
<td>
this is a simple string on a text area
</td>
</tr>
...
...
@@ -112,17 +112,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name="//simple-integer" and @type="number"]
</td>
<td>
//input[@name="//simple-integer" and @type="number"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//input[@name="//simple-integer" and @type="number"]
</td>
<td>
//input[@name="//simple-integer" and @type="number"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//input[@name="//simple-integer" and @type="number"]
</td>
<td>
//input[@name="//simple-integer" and @type="number"
and @readonly="true"
]
</td>
<td>
1
</td>
</tr>
...
...
@@ -131,17 +131,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//select[@name="//simple-integer-with-enum"]
</td>
<td>
//select[@name="//simple-integer-with-enum"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//select[@name="//simple-integer-with-enum"]
</td>
<td>
//select[@name="//simple-integer-with-enum"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//select[@name="//simple-integer-with-enum"]
</td>
<td>
//select[@name="//simple-integer-with-enum"
and contains(@class, "readonly")
]
</td>
<td>
7
</td>
</tr>
...
...
@@ -150,17 +150,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name="//simple-numeric-integer" and @type="number"]
</td>
<td>
//input[@name="//simple-numeric-integer" and @type="number"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//input[@name="//simple-numeric-integer" and @type="number"]
</td>
<td>
//input[@name="//simple-numeric-integer" and @type="number"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//input[@name="//simple-numeric-integer" and @type="number"]
</td>
<td>
//input[@name="//simple-numeric-integer" and @type="number"
and @readonly="true"
]
</td>
<td>
2
</td>
</tr>
...
...
@@ -169,17 +169,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//select[@name="//simple-numeric-integer-enum"]
</td>
<td>
//select[@name="//simple-numeric-integer-enum"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//select[@name="//simple-numeric-integer-enum"]
</td>
<td>
//select[@name="//simple-numeric-integer-enum"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//select[@name="//simple-numeric-integer-enum"]
</td>
<td>
//select[@name="//simple-numeric-integer-enum"
and contains(@class, "readonly")
]
</td>
<td>
13
</td>
</tr>
...
...
@@ -188,17 +188,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name="//simple-numeric-float" and @type="number" and @step="any"]
</td>
<td>
//input[@name="//simple-numeric-float" and @type="number" and @step="any"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//input[@name="//simple-numeric-float" and @type="number"and @step="any"]
</td>
<td>
//input[@name="//simple-numeric-float" and @type="number"and @step="any"
and @readonly="true"
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//input[@name="//simple-numeric-float" and @type="number"and @step="any"]
</td>
<td>
//input[@name="//simple-numeric-float" and @type="number"and @step="any"
and @readonly="true"
]
</td>
<td>
2
</td>
</tr>
...
...
@@ -207,17 +207,17 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//select[@name="//simple-numeric-float-enum"]
</td>
<td>
//select[@name="//simple-numeric-float-enum"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//select[@name="//simple-numeric-float-enum"]
</td>
<td>
//select[@name="//simple-numeric-float-enum"
and contains(@class, "readonly")
]
</td>
<td></td>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//select[@name="//simple-numeric-float-enum"]
</td>
<td>
//select[@name="//simple-numeric-float-enum"
and contains(@class, "readonly")
]
</td>
<td>
1.25
</td>
</tr>
</tbody>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment