Commit Graph

23 Commits

Author SHA1 Message Date
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ř
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
11bc4c6252 Replace usleep with sleep calls
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-22 16:42:37 +05:30
Deven Bansod
7021aac7ce Try using dynamic wait in TableBrowse and TableStructure
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-18 16:31:20 +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
00f3d5701e Fix selenium tests related to Table
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-18 19:00:42 +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ř
b93e20c8a9 Revert "Avoid not needed click"
This reverts commit ecc3c4d4b5.
2014-03-13 15:53:23 +01:00
Michal Čihař
ecc3c4d4b5 Avoid not needed click
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-13 14:25:44 +01:00
Michal Čihař
1072754b4b More reliable navigation to table
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-27 09:49:23 +01:00
Michal Čihař
d872119a28 Always go to new structure page
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 10:11:56 +01:00
Michal Čihař
529548e630 Do not go again to structure page
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 09:35:49 +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ř
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ř
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
ayushchd
32b36ce020 Resolve merge conflict 2013-08-28 17:29:34 +05:30
ayushchd
b23eefacf0 Selenium suite code standard compliance 2013-08-28 13:25:43 +05:30
Madhura Jayaratne
aa58386e0e Use types 2013-08-27 22:22:14 +05:30
ayushchd
1c1fe3d350 Selenium tests related to table structure 2013-08-25 18:48:50 +05:30