select global/perprofile table
This commit is contained in:
@@ -119,6 +119,18 @@ mod tests {
|
||||
assert!(html.contains(r#"<option value="EUR">"#));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn the_scope_picker_explains_profile_and_shared_tables() {
|
||||
let html = render_builder(&page());
|
||||
|
||||
assert!(html.contains("Where should this table be available?"));
|
||||
assert!(html.contains(r#"name="global" value="false""#));
|
||||
assert!(html.contains(r#"name="global" value="true""#));
|
||||
assert!(html.contains("Which profile?"));
|
||||
assert!(html.contains("Only the selected profile can use this table."));
|
||||
assert!(html.contains("Every profile can use this shared table."));
|
||||
}
|
||||
|
||||
/// Every type the server accepts has to be reachable from the picker, or
|
||||
/// the web UI silently offers less than the backend does.
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user