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
Léo-Paul Géneau
slapos.core
Commits
c9962f54
Commit
c9962f54
authored
Apr 05, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio_ui_test: Fix Basic Navigation Test
parent
bd5e345c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
69 deletions
+70
-69
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSBasicNavigation.zpt
...rtal_tests/slaposjs_zuite/testSlapOSJSBasicNavigation.zpt
+70
-69
No files found.
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSBasicNavigation.zpt
View file @
c9962f54
...
...
@@ -18,6 +18,16 @@
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/ERP5Site_setupDummyMailHost
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
True
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/ERP5Site_removeTestUserList
</td>
...
...
@@ -55,10 +65,16 @@
<td></td>
</tr>
<!-- Logout -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/hostingjs/WebSite_logout
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/hostingjs/
#!display?n.me=
</td>
<td>
${base_url}/web_site_module/hostingjs/
</td>
<td></td>
</tr>
<tr>
...
...
@@ -82,135 +98,103 @@
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
click
AndWait
</td>
<td>
//input[@value="Login"]
</td>
<td></td>
</tr>
<!-- Basic Menu Navigation -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Home']
</td>
<td></td>
</tr>
<!-- Dashboard -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//
a[@data-i18n='Account
']
</td>
<td>
//
span[@data-i18n='Dashboard
']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
a[@data-i18n='Ticket
s']
</td>
<td>
//
h1[@data-i18n='Site
s']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
a[@data-i18n='Site
s']
</td>
<td>
//
h1[@data-i18n='Pending Tickets to Proces
s']
</td>
<td></td>
</tr>
<!-- Check if map is ok -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@
data-i18n='Projects
']
</td>
<td>
//a[@
class='leaflet-control-zoom-out
']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Invoices']
</td>
<td></td>
<td>
pause
</td>
<td>
5000
</td>
<td>
5000
</td>
</tr>
<!-- Access Menu -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Services']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Servers']
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
a[@data-i18n='Networks
']
</td>
<td>
//
button[@data-i18n='Menu
']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='
Logout
']
</td>
<td>
//a[@data-i18n='
Home
']
</td>
<td></td>
</tr>
<!-- Dashboard -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span[@data-i18n='Dashboard
']
</td>
<td>
//
a[@data-i18n='Account
']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
h1[@data-i18n='Site
s']
</td>
<td>
//
a[@data-i18n='Ticket
s']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
h1[@data-i18n='Ticket
s']
</td>
<td>
//
a[@data-i18n='Site
s']
</td>
<td></td>
</tr>
<!-- Check if map is ok -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@class='leaflet-control-zoom-out']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td>
//a[@data-i18n='Projects']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
button[@data-i18n='Menu
']
</td>
<td>
//
a[@data-i18n='Invoices
']
</td>
<td></td>
</tr>
<!-- Account -->
<tr>
<td>
click
</td>
<td>
//a[@data-i18n="Account"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span[@data-i18n='Your Account : Demo User Functional
']
</td>
<td>
//
a[@data-i18n='Services
']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
label[@for="first_name"
]
</td>
<td>
//
a[@data-i18n='Servers'
]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//
button[@data-i18n='Menu
']
</td>
<td>
waitForElementPresent
</td>
<td>
//
a[@data-i18n='Networks
']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
button[@data-i18n='Menu
']
</td>
<td>
//
a[@data-i18n='Logout
']
</td>
<td></td>
</tr>
<!-- Tickets -->
<tr>
<td>
click
</td>
...
...
@@ -219,7 +203,7 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span
[@data-i18n='Tickets']
</td>
<td>
//
a
[@data-i18n='Tickets']
</td>
<td></td>
</tr>
<tr>
...
...
@@ -247,7 +231,7 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span
[@data-i18n='Sites']
</td>
<td>
//
a
[@data-i18n='Sites']
</td>
<td></td>
</tr>
<tr>
...
...
@@ -275,7 +259,7 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span
[@data-i18n='Projects']
</td>
<td>
//
a
[@data-i18n='Projects']
</td>
<td></td>
</tr>
...
...
@@ -305,7 +289,7 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span
[@data-i18n='Invoices']
</td>
<td>
//
a
[@data-i18n='Invoices']
</td>
<td></td>
</tr>
...
...
@@ -334,7 +318,7 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span
[@data-i18n='Invoices']
</td>
<td>
//
a
[@data-i18n='Invoices']
</td>
<td></td>
</tr>
...
...
@@ -363,7 +347,7 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span
[@data-i18n='Services']
</td>
<td>
//
a
[@data-i18n='Services']
</td>
<td></td>
</tr>
...
...
@@ -392,7 +376,7 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span
[@data-i18n='Servers']
</td>
<td>
//
a
[@data-i18n='Servers']
</td>
<td></td>
</tr>
...
...
@@ -421,13 +405,13 @@
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//
span
[@data-i18n='Networks']
</td>
<td>
//
a
[@data-i18n='Networks']
</td>
<td></td>
</tr>
<tr>
<td>
verify
ElementPresent
</td>
<td>
//h1[@data-i18n='Network
s
']
</td>
<td>
waitFor
ElementPresent
</td>
<td>
//h1[@data-i18n='Network']
</td>
<td></td>
</tr>
...
...
@@ -442,6 +426,23 @@
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n="Account"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Your Account : Demo User Functional']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//label[@for="first_name"]
</td>
<td></td>
</tr>
<!-- Logout -->
<tr>
<td>
waitForElementPresent
</td>
...
...
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