Michal Čihař
3b19cbef9e
Remove not needed waitForElement
...
The page is already loaded here, so there is no reason to wait.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
2f13f070cb
Ensure widgets are in the view
...
Scroll based on actuall widgets we target, not by arbitrary values.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
11ff884f6a
Remove sleeps from export tests
...
Those really should not be necessary or we should add some dynamic waits.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
eabdf845c3
Fix waiting for AJAX popup disappear in Selenium tests
...
Waiting for ajax_message_num_1 works only on first AJAX request and
we're doing more of them. This should remove need for many consequent
sleeps as we were actually not properly waiting for element.
Also it's better to wrap this logic in separate method as it is used in
many places in the code.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Deven Bansod
b72b5ab5f1
Add navigateDatabase method to prevent navigation errors
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-22 16:42:37 +05:30
Deven Bansod
8c32018335
Refactor methods in selenium tests
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-22 16:42:37 +05:30
Deven Bansod
fca2173b3f
Prevent errors in TableExport by scrolling to proper height
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-07 19:57:06 +05:30
Deven Bansod
4083e03267
Fix tests
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-25 14:43:32 +05:30
Deven Bansod
77a06252b2
Fix export related tests
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-18 19:01:26 +05:30
Madhura Jayaratne
6eb6786506
Standardize to sentence case
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-26 16:57:42 +10:00
Michal Čihař
b531e59a8c
Fix syntax errors
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-24 14:12:47 +02:00
Michal Čihař
499bca486d
Consistent sleeping when waiting for browser
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-24 13:19:50 +02:00
Michal Čihař
be1e16137f
Increase delays a bit to give browser some time to process
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-24 13:19:50 +02:00
Michal Čihař
1524e243f3
Try to workaround some timing issues
...
There should be proper solution implemented later.
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-31 09:08:47 +02:00
Michal Čihař
26fddde475
Group Selenium test
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-26 13:36:52 +01:00
Michal Čihař
924ea06c4e
Might need to expand More menu for Export, Insert and Search tests
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-18 17:40:37 +01:00
Michal Čihař
bdcd7decaa
Do not test for newline in result
...
Some Selenium webdrivers (eg. Firefox) do not keep newlines properly.
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-18 17:35:05 +01:00
Michal Čihař
d9eccfa988
Increase timeout for javascript
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-28 08:43:53 +01:00
Michal Čihař
dce7e435e5
Include waiting for page load on navigating to page
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-27 10:15:05 +01:00
Michal Čihař
68008be4c9
Factor out table navigation code
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-27 09:47:02 +01:00
Michal Čihař
4e614081a7
Better way of navigating to the table
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-27 09:42:49 +01:00
Michal Čihař
5a322fd9a2
Workaround another timing issue in Selenium tests
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 16:07:17 +01:00
Michal Čihař
71b48f32a9
Wrap long lines
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 14:02:18 +01:00
Michal Čihař
d1ee1bb3d3
Move waiting for elements after login to tests
...
We can not wait in login itself as it is used for failing tests as well.
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 09:15:02 +01:00
Michal Čihař
4e83500b8f
Wait for quick_or_custom
...
We need this to be shown to be able to act (otherwise it might be still
not shown by javascript).
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-19 20:20:32 +01:00
Michal Čihař
8e927f8852
Provide sane defaults for login method
...
So that the credentials do not have to be repeated in every test.
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 09:42:11 +01:00
Michal Čihař
aaaf9558cd
Adjust to current output
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 22:13:48 +01:00
Michal Čihař
1fb485ddad
Make database name a public property
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 20:31:08 +01:00
Michal Čihař
a731ce017c
Convert remaining Selenium tests to new model
...
I expect many of them to be broken, but let's fix that later.
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 20:28:56 +01:00
Hugues Peccatte
f7d5da319e
Fix coding style.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-09 18:22:11 +01:00
ayushchd
dff3b9627d
Selenium tests for export
2013-08-27 23:24:31 +05:30