[Phpmyadmin-git] [phpmyadmin/phpmyadmin] dc986d: CreateDropDatabaseTest refactored to handle AJAX c...

Michal Čihař mcihar at suse.cz
Mon Feb 25 13:17:35 CET 2013


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: dc986d9d741062fba6ed04c5ee7d6795c613589c
      https://github.com/phpmyadmin/phpmyadmin/commit/dc986d9d741062fba6ed04c5ee7d6795c613589c
  Author: ayushchd <ayushchd at gmail.com>
  Date:   2013-02-10 (Sun, 10 Feb 2013)

  Changed paths:
    M test/selenium/PmaSeleniumCreateDropDatabaseTest.php

  Log Message:
  -----------
  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.


  Commit: 541538f099399c02d6bab384a81ea194c09950f6
      https://github.com/phpmyadmin/phpmyadmin/commit/541538f099399c02d6bab384a81ea194c09950f6
  Author: ayushchd <ayushchd at gmail.com>
  Date:   2013-02-10 (Sun, 10 Feb 2013)

  Changed paths:
    M test/selenium/PmaSeleniumCreateDropDatabaseTest.php

  Log Message:
  -----------
  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.


  Commit: f780d01eae65628ea54535a0d335f148f5171656
      https://github.com/phpmyadmin/phpmyadmin/commit/f780d01eae65628ea54535a0d335f148f5171656
  Author: Michal Čihař <mcihar at suse.cz>
  Date:   2013-02-25 (Mon, 25 Feb 2013)

  Changed paths:
    M test/selenium/PmaSeleniumCreateDropDatabaseTest.php

  Log Message:
  -----------
  Merge remote-tracking branch 'ayushchd/unit_testing_local'

Conflicts:
	test/selenium/PmaSeleniumCreateDropDatabaseTest.php


Compare: https://github.com/phpmyadmin/phpmyadmin/compare/284abf98c1f2...f780d01eae65


More information about the Git mailing list