Michal Čihař
5c40939e74
Remove some no longer needed waits and sleeps
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
037dde0e42
Share code for waiting for CodeMirror
...
It takes some time to initialize, so we should wait for it.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
bbf84bd5f7
Remove strange wait loops
...
Those were most likely caused by wrong waiting on AJAX page load.
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
7f830b1094
Prevent possible stale element error in tracking
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-27 17:07:22 +05:30
Deven Bansod
467c6405e5
Fix possible errors with DropTracking test
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-26 18:58:38 +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
e1bbc64652
Fix tracking related tests
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-18 19:01:38 +05:30
Madhura Jayaratne
f2782eb957
Remove table_results ID field
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-01 15:25:22 +05:30
Michal Čihař
26fddde475
Group Selenium test
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-26 13:36:52 +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ř
3de6a0819c
Try better method for working with More link
...
Hovering/clicking dynamically created elements turns out to be
unreliable, so let's try to disable menuResizer completely for these
tests.
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-19 13:50:12 +01:00
Michal Čihař
821e84267b
Pass parameters individually and avoid parsing
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 13:28:37 +01:00
Michal Čihař
5d10295c28
Use More hover if it is there
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 11:06:51 +01:00
Michal Čihař
c5ad0c2ef9
Move skipping prior finding tracking link
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 10:54:21 +01:00
Michal Čihař
ff2a90979c
Skip pmadb dependent tests if it is not configured
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 10:29:03 +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ř
debbf3ba3c
Correctly define group for selenium tests
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 21:52:06 +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
c028fef8b0
Selenium tests for table tracking
2013-08-30 00:28:49 +05:30