Commit 49c17c8c authored by Ryan Herbert's avatar Ryan Herbert

server functional tests add dummy pre process

for permission tests
parent f22f5988
Pipeline #41369 failed with stages
in 4 minutes and 54 seconds
......@@ -73,6 +73,7 @@ class DBInitialiser(object):
auth.add_permission(public_group.id, PermissionEnum.access.value, db.pre_process, pid)
for i in range(3):
db.pre_process.insert(name="test pre-process %d" % i, command="dummy &file1& &file2& > &result&", info="test %d" % i)
db.pre_process.insert(name="pre-process perm", command="dummy &file1& &file2& > &result&", info="dummy pre_process for permissions")
@_needs_sets
def _init_sequence_files(self):
......
......@@ -94,7 +94,7 @@ class TestPreProcess < ServerTest
def test_pre_process_permission
table = go_to_list
line = table.td(:text => "test pre-process 2").parent
line = table.td(:text => "test pre-process perm").parent
line.i(:class => 'icon-key').click
Watir::Wait.until(30) {$b.execute_script("return jQuery.active") == 0}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment