package org.apache.tapestry5.integrati.app1

import org.apache.tapestry5.integration.TapestryCoreTestCase
import org.testng.annotations.Test

class TapestryJavaScriptTests extends TapestryCoreTestCase {

    @Test
    void basic_javascript_tests() {
        openLinks "JavaScript Unit Tests"

        def resultClass = getAttribute("//table[@class='js-results']/caption/@class")
        
        if (resultClass == 'failures') {
            fail "Some JavaScript unit tests failed"
        }
    }
}
package org.apache.tapestry5.integration.app1

import org.apache.tapestry5.integration.TapestryCoreTestCase
import org.testng.annotations.Test

class TapestryJavaScriptTests extends TapestryCoreTestCase {

    @Test
    void basic_javascript_tests() {
        openLinks "JavaScript Unit Tests"

        def resultClass = getAttribute("//table[@class='js-results']/caption/@class")
        
        if (resultClass == 'failures') {
            fail "Some JavaScript unit tests failed"
        }
    }
}
Fix corrupted package name in JavaScriptTests.groovy
Fix corrupted package name in JavaScriptTests.groovy

git-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@1140275 13f79535-47bb-0310-9956-ffa450edef68
