Commit Graph

18 Commits

Author SHA1 Message Date
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
414ac39db9 Fix CreateDropDb, CreateRemoveUser and DB-related selenium tests
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-10 10:06:18 +05:30
Michal Čihař
61b3cd41cb Wait for loading
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-02 13:06:28 +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ř
a125b33d5f Reintroduce IDs for final yes/no buttons, used in testsuite
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-06 09:55:58 +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ř
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ř
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ř
9115a00458 Share code for creating database for testing
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 20:04:10 +01:00
Michal Čihař
9b6d3f753c Add Selenium tests more time
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 19:18:49 +01:00
Michal Čihař
b76c99590d Base on correct class
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 19:12:06 +01:00
Michal Čihař
ec057385f8 Adjust database structure tests to new model
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 19:04:19 +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
e2eca221c3 Add doc and uncomment code 2013-08-25 17:45:08 +05:30
ayushchd
22722975dd Tests for DB Structure tab 2013-08-25 17:42:47 +05:30