Skip to content

Instantly share code, notes, and snippets.

@pmuir
Created August 25, 2010 11:46
Show Gist options
  • Save pmuir/549341 to your computer and use it in GitHub Desktop.
Save pmuir/549341 to your computer and use it in GitHub Desktop.
-------------------------------------------------------------------------------
Test set: TestSuite
-------------------------------------------------------------------------------
Tests run: 6, Failures: 2, Errors: 0, Skipped: 2, Time elapsed: 19.391 sec <<< FAILURE!
newPublicPostTest(org.jboss.weld.examples.pastecode.test.selenium.PasteCodeTest) Time elapsed: 0.988 sec <<< FAILURE!
java.lang.AssertionError: A page should contain text 'Posted by PublicTester just now' expected:<true> but was:<false>
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:443)
at org.testng.Assert.assertTrue(Assert.java:37)
at org.jboss.weld.examples.pastecode.test.selenium.PasteCodeTest.newPublicPostTest(PasteCodeTest.java:119)
recentPostsTest(org.jboss.weld.examples.pastecode.test.selenium.PasteCodeTest) Time elapsed: 0.495 sec <<< FAILURE!
java.lang.AssertionError: A page should contain 'Posted by crazyman on 19 Feb' expected:<true> but was:<false>
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:443)
at org.testng.Assert.assertTrue(Assert.java:37)
at org.jboss.weld.examples.pastecode.test.selenium.PasteCodeTest.recentPostsTest(PasteCodeTest.java:151)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment