Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6599

A functional test for Tasks example does not work correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • TBD, TBD EAP 5
    • EAP_EWP 5.1.1 ER2
    • Seam, Testsuite
    • None
    • Windows Server 2003

    • Not Required
    • NEW

      Running the test yields the following error:

      Error Message

      There should be a 'Resolve this task' button for: Buy a turtle and take it to work. expected:<true> but was:<false>

      Stacktrace

      java.lang.AssertionError: There should be a 'Resolve this task' button for: Buy a turtle and take it to work. expected:<true> but was:<false>
      at org.jboss.seam.example.tasks.test.selenium.SeleniumTasksTest.buttonPresent(SeleniumTasksTest.java:240)
      at org.jboss.seam.example.tasks.test.selenium.SeleniumTasksTest.editTurtleTask(SeleniumTasksTest.java:130)
      ... Removed 25 stack frames

      However, I tried the example manually and the new task really appears in the "Work" category after editing. So the example on its own works fine.

              rhn-engineering-jharting Jozef Hartinger
              mgencur Martin Gencur
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: