diff --git a/src/Test/TestWeb.py b/src/Test/TestWeb.py index 08052e45..10e1829d 100644 --- a/src/Test/TestWeb.py +++ b/src/Test/TestWeb.py @@ -65,6 +65,7 @@ class TestWeb: # Switch to inner frame browser.switch_to.frame(browser.find_element_by_id("inner-iframe")) assert "wrapper_nonce" in getContextUrl(browser) + assert browser.find_element_by_id("script_output").text == "Result: Works" browser.switch_to.default_content() # Clicking on links without target @@ -95,3 +96,10 @@ class TestWeb: assert "wrapper_nonce" in getContextUrl(browser) # We try to use nonce-ed html without iframe assert "