test/integration/zafu_compiler/action.yml in zena-1.2.1 vs test/integration/zafu_compiler/action.yml in zena-1.2.2
- old
+ new
@@ -67,11 +67,11 @@
res: "/nodes/22/versions/0/edit.*Open the edition window to edit the node.*Zena.open_window/"
swap:
src: "<span do='block' do='swap' attr='weight' states='100,-100' do='weight'/>"
tem: '/:dom_id => %Q\{list1\}, :t_url => "action/swap/list1"/'
- '/action/swap/en/list1.erb': "/<span id='<%= ndom_id\(@node\) %>'>/"
+ '/action/swap/en/list1.erb': "/<span .*id='<%= ndom_id\(@node\) %>'/"
swap_with_params:
src: "<span do='block' do='swap' node[origin]='%{me}' attr='weight' states='100,-100' do='weight'/>"
res: "/node\[origin\]=me&node\[weight\]=100/"
@@ -84,10 +84,10 @@
tem: "/\"node\[origin\]\" => next_in_list_s\(var2.prop\['origin'\], \"todo,done,alert\"/"
res: "/id='list1_29'.*dom_id=list1_29.*node\[v_status\]=50.*id='list1_33'.*dom_id=list1_33/"
swap_in_each_with_block:
src: "<r:pages in='site limit 2'><li do='each'><p do='block'><span do='swap' publish='true' attr='origin' states='todo,done,alert'/></p></li></r:pages>"
- res: "/<p id='list2_29'>.*list2_29.*<p id='list2_33'>.*list2_33/"
+ res: "/<p .*id='list2_29'.*>.*list2_29.*<p .*id='list2_33'.*>.*list2_33/"
hand_made_swap:
src: "<r:link update='_page' node[origin]='next_in_list(origin, \"todo,done\")' action='update'/>"
tem: "/node\[origin\]. => next_in_list_s\(@node.prop\['origin'\].*todo,done.*method:.put./"
\ No newline at end of file