@Test(groups = { CONTEXTS })
@SpecAssertion(section = "6.7.4", id = "m")
public void testConversationPropagatedOverRedirect() throws Exception {
WebClient webClient = new WebClient();
HtmlPage storm = webClient.getPage(getPath("storm.jsf"));
HtmlSubmitInput beginConversationButton = getFirstMatchingElement(storm, HtmlSubmitInput.class,
"beginConversationButton");
storm = beginConversationButton.click();
HtmlTextInput stormStrength = getFirstMatchingElement(storm, HtmlTextInput.class, "stormStrength");
stormStrength.setValueAttribute(REDIRECT_STORM_STRENGTH);
String stormCid = getCid(storm);
HtmlSubmitInput lighteningButton = getFirstMatchingElement(storm, HtmlSubmitInput.class, "lighteningButton");
HtmlPage lightening = lighteningButton.click();
assert lightening.getWebResponse().getRequestUrl().toString().contains("lightening.jsf");
assert stormCid.equals(getCid(lightening));
stormStrength = getFirstMatchingElement(lightening, HtmlTextInput.class, "stormStrength");
assert stormStrength.getValueAttribute().equals(REDIRECT_STORM_STRENGTH);
}