Commit Graph

22 Commits

Author SHA1 Message Date
Michal Čihař
2abb2db01d Remove sleep after scrollToBottom, should not be necessary
The javascript is executed synchronously, so there should be no delay.

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
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
c28e2d4235 Fix Import-related selenium tests
* Use $cfg['uploadDir'] = "./test/test_data" while importing
* Prevents use of FileDetectors in remote file detectors etc.

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-26 20:24:22 +05:30
Deven Bansod
4083e03267 Fix tests
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-25 14:43:32 +05:30
Michal Čihař
6ccb090664 Use standard method for navigating to table page
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-24 13:19:50 +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ř
472d5df554 Revert "testing automated file uploading to remote server"
This reverts commit d5dc579421.

Not yet supported in php selenium.
2014-03-13 09:13:33 +01:00
minhaz
d5dc579421 testing automated file uploading to remote server
Signed-off-by: A V Minhaz <minhazav@gmail.com>
2014-03-13 00:11:08 +05:30
Michal Čihař
71b48f32a9 Wrap long lines
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 14:02:18 +01:00
Michal Čihař
dc58ad9aad Better path to click on database
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 12:33:51 +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ř
de42bc1b49 Click on database name in navigation panel
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 08:46:27 +01:00
Michal Čihař
9ee060eaa9 Mark another test incomplete
and document why this test is currently not performed.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-19 13:06:26 +01:00
Michal Čihař
476f72fdc9 Mark import tests incomplete, they have no chance to work currently
They rely on Selenium running on same host as testsuite.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-19 12:57:45 +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ř
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
ayushchd
269b38f7a8 Tests for server, db and table imports 2013-08-26 21:40:51 +05:30