Commit Graph

20 Commits

Author SHA1 Message Date
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
Michal Čihař
3d056bc49f Do not execute tearDown if not configured
Apparently the tearDown method can be executed for skipped tests in some
cases and it will fail due to failed initilization.

Fixes #12883

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-20 16:29:55 +01:00
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
Michal Čihař
88aeccc064 Simplify code
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-04-30 09:26:14 +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ř
71b48f32a9 Wrap long lines
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 14:02:18 +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ř
f66f09ee20 Move More link expanding to setUpPage method 2014-02-19 14:39:15 +01:00
Michal Čihař
3de6a0819c Try better method for working with More link
Hovering/clicking dynamically created elements turns out to be
unreliable, so let's try to disable menuResizer completely for these
tests.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-19 13:50:12 +01:00
Michal Čihař
5d10295c28 Use More hover if it is there
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-18 11:06:51 +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ř
019afcab12 Increase delay to ensure the event gets fired
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 22:15:01 +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
ayushchd
32b36ce020 Resolve merge conflict 2013-08-28 17:29:34 +05:30
ayushchd
b23eefacf0 Selenium suite code standard compliance 2013-08-28 13:25:43 +05:30
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
d7765a06cd Selenium tests for Events 2013-08-25 15:19:05 +05:30