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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
slapos.core
Commits
602cadc1
Commit
602cadc1
authored
Jan 23, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into lazy_simulation_causality
parents
3778635e
235218d5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
79 additions
and
58 deletions
+79
-58
master/bt5/vifib_web_ui_test/PathTemplateItem/portal_tests/vifib_web_zuite/TestKVM.xml
...PathTemplateItem/portal_tests/vifib_web_zuite/TestKVM.xml
+51
-56
master/bt5/vifib_web_ui_test/SkinTemplateItem/portal_skins/vifib_web_ui_test.xml
..._test/SkinTemplateItem/portal_skins/vifib_web_ui_test.xml
+21
-0
master/bt5/vifib_web_ui_test/SkinTemplateItem/portal_skins/vifib_web_ui_test/Zuite_vifib_instanciation_macro_library.xml
...b_web_ui_test/Zuite_vifib_instanciation_macro_library.xml
+2
-1
master/bt5/vifib_web_ui_test/bt/revision
master/bt5/vifib_web_ui_test/bt/revision
+1
-1
master/product/Vifib/tests/testVifibSkinSelection.py
master/product/Vifib/tests/testVifibSkinSelection.py
+4
-0
No files found.
master/bt5/vifib_web_ui_test/PathTemplateItem/portal_tests/vifib_web_zuite/TestKVM.xml
View file @
602cadc1
...
...
@@ -38,7 +38,7 @@
<!-- Tested with chromium 12 and --ignore-certificate-errors --disable-translate --disable-web-security options -->
\n
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
\n
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
\n
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
\n
<head>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
\n
<title>
Test KVM
</title>
\n
...
...
@@ -50,9 +50,9 @@
</thead><tbody>
\n
<tal:block
metal:use-macro=
"container/Zuite_vifib_instanciation_macro_library/macros/init_environment"
/>
\n
<tr>
\n
<td>
phantomRender
</td>
\n
<td>
/home/darthabel/screen/
webrequest1.png
</td>
\n
<td></td>
\n
<td>
phantomRender
</td>
\n
<td>
webrequest1.png
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
assertElementPresent
</td>
\n
...
...
@@ -65,9 +65,9 @@
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
phantomRender
</td>
\n
<td>
/home/darthabel/screen/
webrequest2.png
</td>
\n
<td></td>
\n
<td>
phantomRender
</td>
\n
<td>
webrequest2.png
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
assertElementPresent
</td>
\n
...
...
@@ -120,9 +120,9 @@
<td>
${kvm}
</td>
\n
</tr>
\n
<tr>
\n
<td>
phantomRender
</td>
\n
<td>
/home/darthabel/screen/
webrequest3.png
</td>
\n
<td></td>
\n
<td>
phantomRender
</td>
\n
<td>
webrequest3.png
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
...
...
@@ -149,14 +149,15 @@
<td>
id=dialog_submit_button
</td>
\n
<td></td>
\n
</tr>
\n
<!-- XXX : vifib UI should automatically propose the latest version of KVM.-->
\n
<tr>
\n
<td>
assertElementPresent
</td>
\n
<td>
//tr[contains(.,"
KVM
")][last()]/td[contains(.,"KVM")]/input
</td>
\n
<td>
//tr[contains(.,"
001
")][last()]/td[contains(.,"KVM")]/input
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
storeAttribute
</td>
\n
<td>
//tr[contains(.,"
KVM
")][last()]/td[contains(.,"KVM")]/input@value
</td>
\n
<td>
//tr[contains(.,"
001
")][last()]/td[contains(.,"KVM")]/input@value
</td>
\n
<td>
value
</td>
\n
</tr>
\n
<tr>
\n
...
...
@@ -165,9 +166,9 @@
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
phantomRender
</td>
\n
<td>
/home/darthabel/screen/
webrequest4.png
</td>
\n
<td></td>
\n
<td>
phantomRender
</td>
\n
<td>
webrequest4.png
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
...
...
@@ -222,7 +223,7 @@
<tr>
\n
<td>
type
</td>
\n
<td>
name=field_your_default_email_text
</td>
\n
<td>
mail@domain.com
</td>
\n
<td>
e
mail@domain.com
</td>
\n
</tr>
\n
<tr>
\n
<td>
type
</td>
\n
...
...
@@ -240,44 +241,41 @@
<td>
Address
</td>
\n
</tr>
\n
<tr>
\n
<td>
phantomRender
</td>
\n
<td>
/home/darthabel/screen/
webrequest5.png
</td>
\n
<td></td>
\n
<td>
phantomRender
</td>
\n
<td>
webrequest5.png
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
id=dialog_submit_button
</td>
\n
<td></td>
\n
</tr>
\n
\n
<tr>
\n
<td>
phantomRender
</td>
\n
<td>
/home/darthabel/screen/
webrequest6.png
</td>
\n
<td></td>
\n
<td>
phantomRender
</td>
\n
<td>
webrequest6.png
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
assertElementPresent
</td>
\n
<td>
//img[@alt="My Services"]
</td>
\n
<td></td>
\n
</tr>
\n
<!-- Here we wait 15 minutes too see if vifib has calculated everything and\n
instance is "instantiation in progress" or better. -->
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
//img[@alt="My Services"]
</td>
\n
<td>
pause
</td>
\n
<td>
900000
</td>
\n
<td></td>
\n
</tr>
\n
<!--tr>\n
<td>assertTextPresent</td>\n
<td>Unimplemented: Can\'t fetch the reference of the software instance</td>\n
<td></td>\n
</tr>-->
\n
<span
metal:use-macro=
"container/Zuite_vifib_instanciation_macro_library/macros/finished_processing_activities"
/>
\n
<tr>
\n
<td>
phantomRender
</td>
\n
<td>
/home/darthabel/screen/webrequest7.png
</td>
\n
<td></td>
\n
<td>
clickAndWait
</td>
\n
<td>
//img[@alt="My Services"]
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
p
ause
</td>
\n
<td>
30000
</td>
\n
<td>
p
hantomRender
</td>
\n
<td>
webrequest7.png
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
...
...
@@ -290,7 +288,6 @@
<td>
link=${kvm}
</td>
\n
<td></td>
\n
</tr>
\n
<span
metal:use-macro=
"container/Zuite_vifib_instanciation_macro_library/macros/finished_processing_activities"
/>
\n
<tr>
\n
<td>
assertElementPresent
</td>
\n
<td>
link=${kvm}
</td>
\n
...
...
@@ -302,13 +299,12 @@
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
phantomRender
</td>
\n
<td>
/home/darthabel/screen/
webrequest8.png
</td>
\n
<td></td>
\n
<td>
phantomRender
</td>
\n
<td>
webrequest8.png
</td>
\n
<td></td>
\n
</tr>
\n
<span
metal:use-macro=
"container/Zuite_vifib_instanciation_macro_library/macros/check_for_started_instance"
/>
\n
<!-- This part only work with chromium for now -->
\n
<!---->
<tr>
\n
<tr>
\n
<td>
pause
</td>
\n
<td>
90000
</td>
\n
<td></td>
\n
...
...
@@ -320,14 +316,12 @@
</tr>
\n
<tr>
\n
<td>
store
</td>
\n
<td>
javascript{storedVars[\'xml\'].split(\'
<
parameter\n
id=
"
url
">
\')[1].split(\'
<
/parameter
>
\')[0];}
</td>
\n
<td>
javascript{storedVars[\'xml\'].split(\'
<
parameter id=
"
url
">
\')[1].split(\'
<
/parameter
>
\')[0];}
</td>
\n
<td>
ip
</td>
\n
</tr>
\n
<tr>
\n
<td>
store
</td>
\n
<td>
javascript{storedVars[\'xml\'].split(\'
<
parameter\n
id=
"
password
">
\')[1].split(\'
<
/parameter
>
\')[0];}
</td>
\n
<td>
javascript{storedVars[\'xml\'].split(\'
<
parameter id=
"
password
">
\')[1].split(\'
<
/parameter
>
\')[0];}
</td>
\n
<td>
password
</td>
\n
</tr>
\n
<tr>
\n
...
...
@@ -355,16 +349,17 @@
<td>
id=password_input
</td>
\n
<td>
13
</td>
\n
</tr>
\n
<!--Check if it works without it in chrome AND firefox before removing.\n
<tr>\n
\t
<td>
pause
</td>
\n
\t
<td>
1000
</td>
\n
\t
<td></td>
\n
<td>pause</td>\n
<td>1000</td>\n
<td></td>\n
</tr>\n
<tr>\n
\t
<td>
submit
</td>
\n
\t
<td>
//input[@id=
"
password_input
"
]/..
</td>
\n
\t
<td>
\\13
</td>
\n
</tr>
\n
<td>submit</td>\n
<td>//input[@id="password_input"]/..</td>\n
<td>\\13</td>\n
</tr>
-->
\n
<tr>
\n
<td>
pause
</td>
\n
<td>
10000
</td>
\n
...
...
@@ -376,15 +371,15 @@
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
phantomRender
</td>
\n
<td>
/home/darthabel/screen/
webrequest9.png
</td>
\n
<td></td>
\n
<td>
phantomRender
</td>
\n
<td>
webrequest9.png
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
openAndWait
</td>
\n
<td>
${address}
</td>
\n
<td></td>
\n
</tr>
<!---->
\n
</tr>
\n
<span
metal:use-macro=
"container/Zuite_vifib_instanciation_macro_library/macros/destroy_instance"
/>
\n
</tbody>
\n
</table>
\n
...
...
master/bt5/vifib_web_ui_test/SkinTemplateItem/portal_skins/vifib_web_ui_test.xml
View file @
602cadc1
...
...
@@ -6,12 +6,33 @@
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
60.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_web_ui_test
</string>
</value>
...
...
master/bt5/vifib_web_ui_test/SkinTemplateItem/portal_skins/vifib_web_ui_test/Zuite_vifib_instanciation_macro_library.xml
View file @
602cadc1
...
...
@@ -138,9 +138,10 @@
</tr>
\n
<tr>
\n
<td>
waitForCondition
</td>
\n
<!-- XXX-Cedric : should be "Destroyed". -->
\n
<td>
new\n
Ajax.Request(\'ERP5Site_getInstanceStatus?instance_reference=${instance_reference}\',\n
{asynchronous: false}).transport.responseText === "Destr
oyed
"; var\n
{asynchronous: false}).transport.responseText === "Destr
uction in progress
"; var\n
i; for (i = 0; i
< 10000000
;
i++){};</td
>
\n
<td>
600000
</td>
\n
</tr>
\n
...
...
master/bt5/vifib_web_ui_test/bt/revision
View file @
602cadc1
6
\ No newline at end of file
13
master/product/Vifib/tests/testVifibSkinSelection.py
View file @
602cadc1
...
...
@@ -125,6 +125,7 @@ vifib_slap
vifib_software_pdm
vifib_test
vifib_web
vifib_web_ui_test
erp5_km_theme
erp5_knowledge_pad
erp5_simulation
...
...
@@ -218,6 +219,7 @@ vifib_slap
vifib_software_pdm
vifib_test
vifib_web
vifib_web_ui_test
erp5_free_fiber_request
erp5_km_theme
erp5_knowledge_pad
...
...
@@ -313,6 +315,7 @@ vifib_slap
vifib_software_pdm
vifib_test
vifib_web
vifib_web_ui_test
erp5_km_theme
erp5_knowledge_pad
erp5_simulation
...
...
@@ -577,6 +580,7 @@ vifib_slap
vifib_software_pdm
vifib_test
vifib_web
vifib_web_ui_test
erp5_free_fiber_request
erp5_knowledge_pad
erp5_simulation
...
...
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