Commit Graph

111066 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
6be2bfebf0 Refactor rte_list functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 18:39:46 -03:00
Maurício Meneghini Fauth
fe1ac3b343 Refactor rte_general functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 16:37:37 -03:00
Maurício Meneghini Fauth
532f821463 Refactor rte_footer functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 16:24:22 -03:00
Maurício Meneghini Fauth
385942f7bd Refactor rte_export functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 14:52:34 -03:00
Maurício Meneghini Fauth
2e52c0f1f8 Refactor rte_events functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 13:09:13 -03:00
Maurício Meneghini Fauth
3923ac75d1 Merge pull request #13667 from mauriciofauth/server
Refactor server functions to static methods
2017-09-08 07:21:20 -03:00
Maurício Meneghini Fauth
f7051b2e5c Refactor server_common functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 00:28:06 -03:00
Maurício Meneghini Fauth
4022337194 Refactor server_user_groups to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 00:12:59 -03:00
Maurício Meneghini Fauth
8c41df5103 Refactor server_users functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 23:45:39 -03:00
Maurício Meneghini Fauth
94fa5946ce Refactor server_status_variables to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 22:43:16 -03:00
Maurício Meneghini Fauth
dfbea9648f Refactor server_status_queries to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 22:18:35 -03:00
Maurício Meneghini Fauth
ef17be91c1 Refactor server_status_processes to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 21:52:57 -03:00
Maurício Meneghini Fauth
8d46a94dae Refactor server_status_advisor to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 16:14:09 -03:00
Maurício Meneghini Fauth
7596fe8d6f Refactor server_status functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 15:52:20 -03:00
Maurício Meneghini Fauth
cf354d29cd Rename ServerStatusData to Server/Status/Data
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 14:07:04 -03:00
Michal Čihař
b881c4cddb Merge branch 'selenium-optimize' 2017-09-07 16:26:17 +02:00
Michal Čihař
28345a5cd3 Skip QBE tests early
There is no need to bother with connecting to BrowserStack here.

Issue #13621

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 16:24:14 +02:00
Maurício Meneghini Fauth
12b7b1ac10 Merge pull request #13663 from mauriciofauth/display
Refactor display functions to static methods
2017-09-07 10:58:27 -03:00
Michal Čihař
f1326358d2 Add separate wait for message to disappear
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:35:33 +02:00
Michal Čihař
877d620c87 Add some missing AJAX waits in events/procedures/triggers
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
e9dece41a9 Simplify waitAjax
Wait only based on javascript flag.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
3b19cbef9e Remove not needed waitForElement
The page is already loaded here, so there is no reason to wait.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
580cb38562 We need to scroll relatively as getBoundingClientRect returns offset
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
2f13f070cb Ensure widgets are in the view
Scroll based on actuall widgets we target, not by arbitrary values.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
fa2457cf3d Simplify entering form values
Use value() instead of click() and keys().

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
11ff884f6a Remove sleeps from export tests
Those really should not be necessary or we should add some dynamic waits.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
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ř
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ř
c3f8315858 Fixed waiting for event/procedure/trigger drop
The nothing2display element is always present, sometimes it is just
hidden. Wait for AJAX completion instead.

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ř
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ř
c674ab8791 Try getting element directly in waitForElement
This can avoid 3 round trips to Selenium server in most situations, so
it can help performance.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:17:06 +02:00
Michal Čihař
eae223215a Run Chrome tests on Windows
It seems to perform way better with webdriver than OS X.

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
Michal Čihař
d083392dc9 Avoid checking links on software.opensuse.org
This seems to be broken quite often recently.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-07 15:07:05 +02:00
Maurício Meneghini Fauth
512d81cb29 Refactor display_create_table to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 09:37:02 -03:00
Maurício Meneghini Fauth
57f4006423 Refactor display_import_ajax to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 09:37:02 -03:00
SacredWKnight
6b7c9d74d4 Translated using Weblate (Indonesian)
Currently translated at 79.4% (2566 of 3231 strings)

[CI skip]
2017-09-07 10:08:39 +02:00
Maurício Meneghini Fauth
81ed2c6c03 Refactor git revision function to static function
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-06 22:01:20 -03:00
Maurício Meneghini Fauth
2217b4c960 Refactor change password function to static method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-06 21:42:18 -03:00
Maurício Meneghini Fauth
82dc32305b Rename DisplayResults to Display/Results
Move libraries/classes/DisplayResults.php to libraries/classes/Display/Results.php

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-06 21:13:54 -03:00
Maurício Meneghini Fauth
456f285baf Merge pull request #13661 from mauriciofauth/server-status-monitor
Refactor server_status_monitor functions to static methods
2017-09-06 18:47:37 -03:00
Maurício Meneghini Fauth
97c2ebdade Merge pull request #13658 from mauriciofauth/display-import
Refactor display_import functions to static methods
2017-09-06 18:47:05 -03:00
Kristjan Räts
76d449b04b Translated using Weblate (Estonian)
Currently translated at 100.0% (3231 of 3231 strings)

[CI skip]
2017-09-06 21:59:26 +02:00
Maurício Meneghini Fauth
23c2b1189b Refactor server_status_monitor to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-06 15:33:53 -03:00
Michal Čihař
b9b6b45a4f Use nginx for running Selenium tests
It is supposed to perform better than PHP built in server.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 19:19:07 +02:00
Michal Čihař
fddf289f55 Silent possible warnings from open basedir
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 19:18:50 +02:00
Michal Čihař
f8095a6825 Correctly handle failures on early init
We can not use Response without dbi link.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 17:31:06 +02:00
Weblate
bcbf1c1ac1 Merge remote-tracking branch 'origin/master' 2017-09-06 16:17:11 +02:00
eisenhaus335
08ff3ee7fd Translated using Weblate (Indonesian)
Currently translated at 79.2% (2559 of 3231 strings)

[CI skip]
2017-09-06 16:17:08 +02:00