Commit Graph

22 Commits

Author SHA1 Message Date
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ř
f6363b0696 Another test which relies on superuser
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 13:28:37 +01:00
Michal Čihař
3d9bb4cbfb Remove database before creating it
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 11:08:34 +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ř
85812246b9 Clear the database name prior setting it to remove prefilled value
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 21:35:40 +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
Michal Čihař
ceb35a8816 Remove debugging code 2013-08-28 10:37:05 +02: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
0c0538b99d Merge Helper and PmaSeleniumTestCase classes 2013-08-21 21:38:26 +05:30
ayushchd
d354f6a179 Improve current database test 2013-08-15 17:26:14 +05:30
Spun Nakandala
e6b0ded105 Docblocks added for selenium test classes 2013-03-04 10:36:05 +05:30
Michal Čihař
f780d01eae Merge remote-tracking branch 'ayushchd/unit_testing_local'
Conflicts:
	test/selenium/PmaSeleniumCreateDropDatabaseTest.php
2013-02-25 13:17:14 +01:00
Supun Nakandala
6ff5e7fe7f indentation refactored 2013-02-11 22:50:18 +05:30
Supun Nakandala
d5c3f91daa indentation refactored 2013-02-11 22:35:43 +05:30
Supun Nakandala
fcefcc8517 Further modified and removed php sleep calls 2013-02-10 23:48:28 +05:30
ayushchd
541538f099 Selenium Create Drop DB Test refactored to handle AJAX Content
I have refactored the Create/Drop Database test to handle the AJAX
content, it uses waitForElementPresent() method to wait for an ajax
response which should be more reliable than sleep(). Next, I have tried
to use more of cssSelectors rather than xpaths as cssselectors cope up
well with structural changes on the page. Not yet added to
AllSeleniumTests.php, waiting for approval.
2013-02-10 16:40:52 +05:30
ayushchd
dc986d9d74 CreateDropDatabaseTest refactored to handle AJAX content
I have refactored the Create/Drop Database test to handle the AJAX
content, it uses waitForElementPresent() method to wait for an ajax
response which should be more reliable than sleep(). Next, I have tried
to use more of cssSelectors rather than xpaths as cssselectors cope up
well with structural changes on the page. Not yet added to
AllSeleniumTests.php, waiting for approval.
2013-02-10 16:34:58 +05:30
Supun Nakandala
8163dc1c0b Existing selenium tests refactored s that they work with the latest revision.5 2013-02-10 15:57:41 +05:30
Yasitha Pandithawatta
0aca1fabad add create and drop database selenium test case 2012-07-23 22:12:36 +05:30