Commit Graph

8 Commits

Author SHA1 Message Date
Michal Čihař
6a645a3e89 Revert "Fix alignment of action and fixed tests #12167"
This reverts commit 9b56acacab.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 14:02:49 +02:00
ankitjain28may
9b56acacab Fix alignment of action and fixed tests #12167
Signed-off-by: Ankit Jain <ankitjain28may77@gmail.com>
2017-09-26 01:37:02 +05:30
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ř
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
7e04e04631 Add a small sleep to avoid stale element exception
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-11 16:11:06 +05:30
Deven Bansod
e71c08d792 Add Selenium tests for typing and executing SQL query
* Adds separate tests for Server SQL, Database SQL, Table SQL query pages
* Add tests for inline-edit on SQL results page

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-11 15:23:53 +05:30