[zanata/zanata-server] d3128e: Screenshot via Test Listener integration

GitHub noreply at github.com
Tue Jan 7 00:16:49 UTC 2014


  Branch: refs/heads/webdriver-screenshots
  Home:   https://github.com/zanata/zanata-server
  Commit: d3128ec6d147b4d82416bf8af509d59e29d0a960
      https://github.com/zanata/zanata-server/commit/d3128ec6d147b4d82416bf8af509d59e29d0a960
  Author: Damian Jansen <djansen at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    M functional-test/src/main/java/org/zanata/page/WebDriverFactory.java
    A functional-test/src/main/java/org/zanata/util/TestEventListener.java
    A functional-test/src/test/java/org/zanata/feature/FunctionalTest.java
    M functional-test/src/test/java/org/zanata/feature/account/ChangePasswordTest.java
    M functional-test/src/test/java/org/zanata/feature/account/UsernameValidationTest.java
    M functional-test/src/test/java/org/zanata/feature/account/ValidEmailAddressTest.java
    M functional-test/src/test/java/org/zanata/feature/document/UploadTest.java

  Log Message:
  -----------
  Screenshot via Test Listener integration

If derived from FunctionalTest, tests will generate screen shots
in the event of before & after click, navigating to a new url, or
test exception.


  Commit: 712731b0cfe753fd96a3a152c5aeea9e67fe746b
      https://github.com/zanata/zanata-server/commit/712731b0cfe753fd96a3a152c5aeea9e67fe746b
  Author: Patrick Huang <pahuang at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    M functional-test/src/main/java/org/zanata/page/WebDriverFactory.java
    M functional-test/src/main/java/org/zanata/util/TestEventListener.java

  Log Message:
  -----------
  clean up code a bit


  Commit: fc7f6df1ec818a80a80206bf7efa213669331996
      https://github.com/zanata/zanata-server/commit/fc7f6df1ec818a80a80206bf7efa213669331996
  Author: Patrick Huang <pahuang at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    A functional-test/src/main/java/org/zanata/util/TestEventForScreenshotListener.java
    R functional-test/src/main/java/org/zanata/util/TestEventListener.java

  Log Message:
  -----------
  rename class


  Commit: 45457d9854d9b4068839178b5b2e97f59b42a6f6
      https://github.com/zanata/zanata-server/commit/45457d9854d9b4068839178b5b2e97f59b42a6f6
  Author: Patrick Huang <pahuang at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    M functional-test/src/main/java/org/zanata/page/WebDriverFactory.java
    M functional-test/src/main/java/org/zanata/util/TestEventForScreenshotListener.java
    M functional-test/src/test/java/org/zanata/feature/account/ChangePasswordTest.java
    A functional-test/src/test/java/org/zanata/util/TakeScreenshotRule.java
    M functional-test/src/test/resources/setup.properties

  Log Message:
  -----------
  create test rule for screenshot


  Commit: 496b853434fcd15e1375846decacbecf9961d449
      https://github.com/zanata/zanata-server/commit/496b853434fcd15e1375846decacbecf9961d449
  Author: Patrick Huang <pahuang at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    M functional-test/pom.xml
    R functional-test/src/test/java/org/zanata/feature/FunctionalTest.java
    M functional-test/src/test/java/org/zanata/feature/account/UsernameValidationTest.java
    M functional-test/src/test/java/org/zanata/feature/account/ValidEmailAddressTest.java
    M functional-test/src/test/java/org/zanata/feature/document/UploadTest.java
    M functional-test/src/test/java/org/zanata/feature/glossary/GlossaryDeleteTest.java
    M functional-test/src/test/java/org/zanata/util/TakeScreenshotRule.java

  Log Message:
  -----------
  will delete screenshot if test fails


  Commit: 1279f56444d7ee78213e7f0c640be5efb5860ef2
      https://github.com/zanata/zanata-server/commit/1279f56444d7ee78213e7f0c640be5efb5860ef2
  Author: Patrick Huang <pahuang at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    M functional-test/src/main/java/org/zanata/page/WebDriverFactory.java
    A functional-test/src/main/java/org/zanata/util/ScreenshotDir.java
    M functional-test/src/main/java/org/zanata/util/TestEventForScreenshotListener.java
    M functional-test/src/test/java/org/zanata/util/TakeScreenshotRule.java

  Log Message:
  -----------
  unify test screenshot directory location


  Commit: 0327fa3f49cedf022958e425ca584e4bcf8185fb
      https://github.com/zanata/zanata-server/commit/0327fa3f49cedf022958e425ca584e4bcf8185fb
  Author: Patrick Huang <pahuang at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    M functional-test/src/main/java/org/zanata/page/WebDriverFactory.java
    M functional-test/src/test/java/org/zanata/feature/document/UploadTest.java
    M functional-test/src/test/java/org/zanata/feature/project/EditMaintainersTest.java
    M functional-test/src/test/java/org/zanata/feature/project/ProjectVersionTest.java

  Log Message:
  -----------
  add screenshot rule to frequent failing test


  Commit: 0badbc693c9170ddd058a2c720e07cd841935a98
      https://github.com/zanata/zanata-server/commit/0badbc693c9170ddd058a2c720e07cd841935a98
  Author: Patrick Huang <pahuang at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    M functional-test/src/main/java/org/zanata/page/projects/CreateVersionPage.java

  Log Message:
  -----------
  try to make test more stable


  Commit: e8454979737d06db061805d872be78531e0df935
      https://github.com/zanata/zanata-server/commit/e8454979737d06db061805d872be78531e0df935
  Author: Patrick Huang <pahuang at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    M functional-test/src/main/java/org/zanata/page/WebDriverFactory.java
    R functional-test/src/main/java/org/zanata/util/ScreenshotDir.java
    A functional-test/src/main/java/org/zanata/util/ScreenshotDirForTest.java
    M functional-test/src/main/java/org/zanata/util/TestEventForScreenshotListener.java
    M functional-test/src/test/java/org/zanata/util/TakeScreenshotRule.java

  Log Message:
  -----------
  rename class


  Commit: 1893a21058f88498ceab194bf50b30a9396c15b6
      https://github.com/zanata/zanata-server/commit/1893a21058f88498ceab194bf50b30a9396c15b6
  Author: Patrick Huang <pahuang at redhat.com>
  Date:   2014-01-06 (Mon, 06 Jan 2014)

  Changed paths:
    M functional-test/src/main/java/org/zanata/page/WebDriverFactory.java
    M functional-test/src/test/java/org/zanata/feature/account/AccountTestSuite.java
    M functional-test/src/test/java/org/zanata/util/TakeScreenshotRule.java

  Log Message:
  -----------
  rewrite test rule so that it will unregister afterwards


Compare: https://github.com/zanata/zanata-server/compare/29d4d67179fc...1893a21058f8


More information about the zanata-commits mailing list