Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
cc4573e0
Commit
cc4573e0
authored
Apr 05, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed conflicts
parent
619f51a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
test/index.html
test/index.html
+20
-1
No files found.
test/index.html
View file @
cc4573e0
...
...
@@ -216,6 +216,16 @@
'
<td>waitForElementPresent</td>
'
+
'
<td>//div[@id="global-panel"]</td>
'
+
'
<td></td>
'
+
'
</tr>
'
+
'
<tr>
'
+
'
<td>click</td>
'
+
'
<td>//a[.="Login"]</td>
'
+
'
<td></td>
'
+
'
</tr>
'
+
'
<tr>
'
+
'
<td>verifyAttribute</td>
'
+
'
<td>//div[@id="global-popup-popup"]@class</td>
'
+
'
<td>ui-popup-active</td>
'
+
'
</tr>
'
+
'
<tr>
'
+
'
<td>waitForElementPresent</td>
'
+
...
...
@@ -306,6 +316,16 @@
return
""
;
};
// which element
nth
=
function
(
str
)
{
if
(
str
.
split
(
"
][
"
).
length
>
1
)
{
return
"
:nth-child(
"
+
str
.
split
(
"
]
"
).
slice
(
-
2
).
shift
().
replace
(
"
[
"
,
""
)
+
"
)
"
;
}
return
""
};
// extract selector value
val
=
function
(
str
)
{
if
(
has_selector
(
str
).
length
>
1
)
{
...
...
@@ -492,7 +512,6 @@
close_asyn
=
undefined
;
count
=
undefined
;
}
console
.
log
(
madeJS
);
// inject
add
=
d
.
createElement
(
"
script
"
);
...
...
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