Commit Graph

151 Commits

Author SHA1 Message Date
Deven Bansod
32c19d9710 Add sleep to allow the tables to resize and prevent possible errors
The elements are not properly aligned and hence the click does not go through

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-23 16:12:33 +05:30
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
8c32018335 Refactor methods in selenium tests
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-22 16:42:37 +05:30
Deven Bansod
8c247a17f8 Don't mark incomplete tests and skipped tests as Failed on browerstack
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-27 18:08:07 +05:30
Deven Bansod
88149373bb Mark failed selenium tests on Browerstack as failed
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-27 17:07:31 +05:30
Deven Bansod
00f3d5701e Fix selenium tests related to Table
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-18 19:00:42 +05:30
Deven Bansod
f12182d261 Fix selenium tests related to ChangePassword, Login, Normalization, Serversettings
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-07-11 18:50:22 +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
d084d25a61 Fixes bugs in PmaSeleniumDbEventsTest.php
Signed-off-by: Raghuram Vadapalli<raghuram.vadapalli@research.iiit.ac.in>
2017-03-28 10:38:12 +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
65fe1c7ad6 Fix selenium test related to Database events
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-12-28 23:20:02 +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
Michal Čihař
6d8e1d7935 Merge branch 'QA_4_6' 2016-07-28 09:38:08 +02:00
Michal Čihař
4072c1d29a Use example.com for sample test urls
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 09:12:01 +02:00
Michal Čihař
b8c39d413d Do not try to run selenium tests if not told so
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 09:26:28 +01:00
Michal Čihař
cb72492aab Catch another exception coming from selenium
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-05 19:57:10 +01:00
Michal Čihař
55b317c699 Remove /*overload*/ prefix from mb_* calls
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Hugues Peccatte
4dadfa16b2 Remove useless call function parameter.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-20 22:23:18 +02:00
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Madhura Jayaratne
f2782eb957 Remove table_results ID field
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-01 15:25:22 +05:30
Hugues Peccatte
0ee7063220 Replace PMA_String calls by mb_* calls in tests.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-29 18:52:54 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Michal Čihař
42950083f6 Workaround waiting for menu
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-05 16:40:27 +02:00
Michal Čihař
19da9dc4c5 Use different project name for Selenium tests in BrowserStack
This allows filtering of Travis and Jenkins builds inside BrowserStack.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-05 10:25:51 +02:00
Michal Čihař
7d9c1a0d2b Remove workaround for coverage in Selenium tests
This is anyway broken, so let's wait till it is fixed upstream.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-30 12:24:38 +02:00
Michal Čihař
72c9d6e436 Do not get extra URL when coverage tests are disabled
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-30 10:42:52 +02:00
Michal Čihař
8fbb981dd8 Try other method for destroying the More menu
By decreasing font size, the items should fit into screen without
creating additional clutter caused by menu resizer destroying.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-30 09:30:51 +02:00
Michal Čihař
16a0754e16 Fix function name
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-24 16:01:26 +02:00
Michal Čihař
b38c66f60d Convert Selenium port to integer
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-24 15:52:42 +02:00
Michal Čihař
499bca486d Consistent sleeping when waiting for browser
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-24 13:19:50 +02:00
Michal Čihař
8a0ab394ba Try to workaround navigation timing issue
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-24 10:16:12 +02:00
Michal Čihař
617aaf40f6 Isolated strategy for Jenkins as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-22 14:28:01 +02:00
Michal Čihař
6c742559b1 Enable debugging output for BrowserStack
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-22 14:02:43 +02:00
Edward Cheng
df30698c8e The element Selenium waiting for is under .drop_list, and it was invisible.
Change target container will clear this error.

Signed-off-by: Edward Cheng <c4150221@gmail.com>
2014-04-09 11:08:43 +08:00
Michal Čihař
64e77be0f9 Set coverageScriptUrl for Travis
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-01 15:53:54 +02:00
Michal Čihař
6eb1800c4e Do not share sessions on Travis
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 14:30:17 +01:00
Michal Čihař
1566224cb6 Remove not needed waiting
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 12:43:04 +01:00
Michal Čihař
6fa5736a23 Set local flags only if needed
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 11:47:16 +01:00
Michal Čihař
9b8c943a50 Enable BrowserStack debugging
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 11:36:25 +01:00
Michal Čihař
c02dd60d70 Wait for load
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 11:36:25 +01:00
Michal Čihař
80126a115e Set build identifier for local builds
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 11:36:25 +01:00
Michal Čihař
d25fe6b5ec Set browserstack.local flag for Travis builds
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 11:36:25 +01:00
Michal Čihař
09eed1f8e9 Fix typo in method name
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 10:14:08 +01:00
Michal Čihař
b53dd865b7 Workaround for Selenium tests with coverage
The phpunit-selenium tries to set cookie just after opening Selenium
session, what fails (at least with Chrome) as the browser is currently
pointing to data: URL and not our application one. So we need to set URL
just as the Selenium session is opened.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 09:49:30 +01:00
Michal Čihař
5dd722d4c3 Revert "Try to open page in setUp."
This reverts commit 37e58a8961.

It needs to be done with existing session.
2014-03-27 09:47:08 +01:00
Michal Čihař
37e58a8961 Try to open page in setUp.
This could workaround phpunit-selenium issue:
https://github.com/sebastianbergmann/phpunit-selenium/issues/295

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-27 09:27:13 +01:00
Michal Čihař
638f3be8af Correct call to free method
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-26 16:23:02 +01: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ř
bc505831ae Try to limit browser set to see if it helps running testsuite
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-21 07:26:36 +01:00