Commit Graph

27 Commits

Author SHA1 Message Date
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
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
ea6f79bf21 Fix createRemoveUser and TableBrowse::DeleteRecords
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-17 17:29:26 +05:30
Deven Bansod
b2aaaf7e1a Use different method to make sure click on add users link goes through
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-10 12:35: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
Raghuram
53770cf934 Go button not clicked due to not being in view
Signed-off-by: Raghuram Vadapalli<raghuram.vadapalli@research.iiit.ac.in>
2017-03-24 01:03:42 +05:30
Deven Bansod
d2fd27c041 Fix few more errors in hover on 'More'
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-12-29 17:39:22 +05:30
Deven Bansod
6bd1fe4055 Wait for notification to be not present, so that page loads completely
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-12-29 15:19:56 +05:30
Deven Bansod
34bea12605 Fix create and drop user selenium test
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-12-26 15:46:34 +05:30
Madhura Jayaratne
6cc36bd9e4 Click OK on confirm dialog
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-23 15:34:59 +05:30
Deven Bhooshan
bdf3ae8445 Alert happens only after submitting
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-23 15:18:05 +05:30
Madhura Jayaratne
5f32194b4f Select by Id rather than text
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-23 15:16:09 +05:30
Michal Čihař
ac2829a57b Load users form before using it
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-24 13:11:38 +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ř
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ř
a89e792854 Skip user creating test if there are no privileges for that
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 09:49:09 +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ř
054a2a6d30 Fix setup of user testing
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 20:32:32 +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
Madhura Jayaratne
aa58386e0e Use types 2013-08-27 22:22:14 +05:30
Madhura Jayaratne
c1bd8d9e93 Remove trailing white spaces 2013-08-25 17:07:22 +05:30
ayushchd
082dc5a4e7 Changed tests for Selenium2 compatibility 2013-08-22 23:44:50 +05:30
ayushchd
fc7e7e6cbc Fix test case for user creating and removal 2013-08-21 21:37:49 +05:30
Spun Nakandala
e6b0ded105 Docblocks added for selenium test classes 2013-03-04 10:36:05 +05:30
Spun Nakandala
c97b00e190 Selenium Test added to test the creation and removal of a user with all privileges 2013-02-22 12:23:51 +05:30