package org.jenkinsci.plugins.globalEventsPlugin;

import com.gargoylesoftware.htmlunit.WebAssert;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;

public class JenkinsTest {
    @Rule
    public JenkinsRule j = new JenkinsRule();

    @Test
    public void testConfig() throws Exception {
        HtmlPage page = j.createWebClient().goTo("configure");
        WebAssert.assertTextPresent(page, "Groovy Code");
    }
}
Add End-to-End test for configuration page
Add End-to-End test for configuration page
