Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs
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
officejs
Commits
00dac8df
Commit
00dac8df
authored
Aug 02, 2011
by
Gabriel L. Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reuse method
parent
83c378f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
testUNGCalendar.py
testUNGCalendar.py
+4
-5
No files found.
testUNGCalendar.py
View file @
00dac8df
...
...
@@ -45,14 +45,13 @@ class TestUNGCalendar(UNGTestMixin):
self
.
selenium
.
type
(
"//input[@name=
\
"
start_date_hour
\
"
]"
,
unittest
.
time
.
localtime
().
tm_hour
+
1
)
self
.
selenium
.
type
(
"//input[@name=
\
"
stop_date_hour
\
"
]"
,
unittest
.
time
.
localtime
().
tm_hour
+
1
)
self
.
selenium
.
click
(
"//div[@aria-labelledby='ui-dialog-title-new_event_dialog']//button"
)
#XXX handle this behaviour differently:
activities is called twice
#
because sometimes its passing through method even with some present
# activities
#XXX handle this behaviour differently:
wait_for_activities is called
#
twice because sometimes its passing through method even with some
#
remaining
activities
self
.
wait_for_activities
()
self
.
clear_cache
()
self
.
wait_for_activities
()
self
.
selenium
.
open
(
"calendar"
)
self
.
selenium
.
wait_for_page_to_load
(
"30000"
)
self
.
open_ung_default_page
(
"calendar"
)
self
.
selenium
.
wait_for_condition
(
"selenium.isTextPresent('My Event %d')"
%
test_subject_time
,
"10000"
)
self
.
failUnless
(
self
.
selenium
.
is_text_present
(
"My Event %d"
%
test_subject_time
))
self
.
selenium
.
type
(
"//input[@name='searchable-text']"
,
"My Event %d"
%
test_subject_time
)
...
...
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