use of com.googlecode.jmeter.plugins.webdriver.config.FirefoxDriverConfig in project jmeter-plugins by undera.
the class FirefoxDriverConfigGuiTest method shouldSetFirefoxDriverConfigOnConfigure.
@Test
public void shouldSetFirefoxDriverConfigOnConfigure() {
FirefoxDriverConfig config = new FirefoxDriverConfig();
config.setUserAgentOverride("user-agent");
config.setUserAgentOverridden(true);
gui.configure(config);
assertThat(gui.userAgentOverrideText.getText(), is(config.getUserAgentOverride()));
assertThat(gui.userAgentOverrideCheckbox.isSelected(), is(config.isUserAgentOverridden()));
}
Aggregations