Commit 37375b24 authored by Ryan Herbert's avatar Ryan Herbert

server functional tests use ServerTest class

Changing the test order for browser_test.rb is not the best idea in the
scope of this feature. Implementing a ServerTest class that inherits
from BrowserTest changing only the test order allows us to maintain
behaviour for browser tests and still have a random order for server
tests.
parent 217bdccd
Pipeline #36026 passed with stages
in 4 minutes and 59 seconds
......@@ -21,7 +21,7 @@ class BrowserTest < MiniTest::Test
end
def self.test_order
:random
:alpha
end
def setup
......
load 'browser_test.rb'
class ServerTest < BrowserTest
def self.test_order
:random
end
end
load 'vidjil_browser.rb'
load 'browser_test.rb'
load 'server_test.rb'
class TestLogin < BrowserTest
class TestLogin < ServerTest
def setup
super
......
load 'vidjil_browser.rb'
load 'browser_test.rb'
load 'server_test.rb'
class TestPreProcess < BrowserTest
class TestPreProcess < ServerTest
def setup
super
......
load 'vidjil_browser.rb'
load 'browser_test.rb'
load 'server_test.rb'
class TestSample < BrowserTest
class TestSample < ServerTest
def setup
super
......
load 'vidjil_browser.rb'
load 'browser_test.rb'
load 'server_test.rb'
class TestSampleSet < BrowserTest
class TestSampleSet < ServerTest
def setup
super
......
load 'vidjil_browser.rb'
load 'browser_test.rb'
load 'server_test.rb'
class TestTag < BrowserTest
class TestTag < ServerTest
def setup
super
......
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