|
@@ -429,6 +429,16 @@ def main():
|
|
|
check(rfc.get("show_body") is True,
|
|
check(rfc.get("show_body") is True,
|
|
|
"answered plan review shows the body again (review section gone)")
|
|
"answered plan review shows the body again (review section gone)")
|
|
|
|
|
|
|
|
|
|
+ print("== B1: highlight-to-comment quote dialog ==")
|
|
|
|
|
+ status, page = http("GET", "/tasks/%d" % plan_task, timeout=15)
|
|
|
|
|
+ check(status == 200 and "quote-comment-dialog" in page and "quote-text" in page,
|
|
|
|
|
+ "task page carries the quote-comment dialog the popover opens")
|
|
|
|
|
+ check('name="quote"' in page and 'name="return_to"' in page,
|
|
|
|
|
+ "quote dialog posts the quote and return-to fields")
|
|
|
|
|
+ status, page = http("GET", "/tasks/%d/terminal" % plan_task, timeout=15)
|
|
|
|
|
+ check(status == 200 and "quote-comment-dialog" in page,
|
|
|
|
|
+ "terminal page keeps its quote dialog")
|
|
|
|
|
+
|
|
|
print("== feature 5: rules ==")
|
|
print("== feature 5: rules ==")
|
|
|
rules_state = slot_public(auth, "/rules", "rules")
|
|
rules_state = slot_public(auth, "/rules", "rules")
|
|
|
for name, body in [
|
|
for name, body in [
|