On Fri, Feb 4, 2011 at 3:27 PM, Herman van Rink rink@initfour.nl wrote:
On 03-02-11 05:49, Kasun Lakpriya wrote:
On Wed, Feb 2, 2011 at 3:47 PM, Herman van Rink rink@initfour.nl wrote:
On 24-01-11 12:03, Kasun Lakpriya wrote:
- Failing Tests
PmaSeleniumLoginTest.php with this server log http://pastie.org/1492272
It's hard to read from that log what happens. What is you single step such a test. Can you see valid credentials being input into the login form?
Yes, I can see the 'username' and 'password' for phpMyAdmin is being input to the form as I configured in "config.sample.inc.php" file.
- Sorry, I did not understand above "What is you single step such a test."
You can also open selenium tests manually using the browser plug-in. The you can make it do one step at a time or run really slow. This way you might get more visual feedback on what's going on.
Yes, I wrote a new selenium test for PMA login and tested it worked fine both in browser plug-in and in command line as well. Since the existing tests are in php I could not run them in browser plug-in before. I think the problem is in the existing old test cases. BTW I think that I can check remaining and be able get them work soon.
I googled but could not find a solution.
And other remaining tests (non-selenium) are also failing saying "Undefined variable: _SESSION"
I am running tests on Ubuntu10.10 and xampp-linux-1.7.3a. I think I am missing some thing. Can you help me to get this working?
Are you running tests from the command line or via http?
From http you meant browser plug-in? And since there failing tests are not
selenium we can't run them via http? Am I wrong?
From command line.
It's not strange for _SESSION be missing when running from the command line.
These are not selenium tests and I still trying to figure out the problem.
But as I'm not getting this error it's hard to tell where the problem lies.