Просмотр исходного кода

now let’s try moving fallback test to the end

Artur Paikin 8 лет назад
Родитель
Сommit
42411272e2
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      test/acceptance/index.js

+ 4 - 4
test/acceptance/index.js

@@ -112,10 +112,6 @@ var specificTests = {
 
 
 function runAllTests () {
 function runAllTests () {
   if (isRemoteTest) {
   if (isRemoteTest) {
-    // run custom platform-specific tests here
-    // fallback test
-    specificTests.fallback()
-
     // run all tests for all platforms
     // run all tests for all platforms
     platforms.forEach(function (platform) {
     platforms.forEach(function (platform) {
       tests.forEach(function (test) {
       tests.forEach(function (test) {
@@ -123,6 +119,10 @@ function runAllTests () {
         test(driver, platform, host)
         test(driver, platform, host)
       })
       })
     })
     })
+
+    // run custom platform-specific tests here
+    // fallback test
+    specificTests.fallback()
   } else {
   } else {
     // run tests just for local Firefox
     // run tests just for local Firefox
     tests.forEach(function (test) {
     tests.forEach(function (test) {