From 2ab0456dd5ed0e4efb365ded266a28b74f2889da Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Wed, 14 Jun 2023 14:40:13 -0700 Subject: [PATCH] Enable Tor Test (without explicit version check) --- .drone.yml | 4 ++-- integration_test/features/01_tor/03_tor.feature | 1 - integration_test/steps/overrides.dart | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 04d8203d..f4648fbf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,8 +66,8 @@ steps: - name: deps path: /root/.pub-cache commands: - # Run 01_general, 02_global_settings, and 04_profile_mgmt features... - - ./run-tests-headless.sh "01_general|02_global_settings|04_profile_mgmt" + # Run 01_general, 01_tor, 02_global_settings, and 04_profile_mgmt features... + - ./run-tests-headless.sh "01_general|01_tor|02_global_settings|04_profile_mgmt" - name: test-build-android image: openpriv/flutter-desktop:linux-fstable-3.10.2 diff --git a/integration_test/features/01_tor/03_tor.feature b/integration_test/features/01_tor/03_tor.feature index 1530a083..63a4f1df 100644 --- a/integration_test/features/01_tor/03_tor.feature +++ b/integration_test/features/01_tor/03_tor.feature @@ -2,7 +2,6 @@ Feature: Tor initializes correctly Scenario: Check the Tor version Given I wait until the widget with type 'ProfileMgrView' is present And I tap the icon with type "TorIcon" - Then I expect the string '0.4.' to be present within 120 seconds And I expect the string 'Online' to be present within 120 seconds Scenario: Reset Tor diff --git a/integration_test/steps/overrides.dart b/integration_test/steps/overrides.dart index 92a9ca42..26acaa66 100644 --- a/integration_test/steps/overrides.dart +++ b/integration_test/steps/overrides.dart @@ -122,7 +122,7 @@ StepDefinitionGeneric ExpectTextToBePresent() { (key, seconds, context) async { await context.world.appDriver.waitUntil( () async { - //await context.world.appDriver.waitForAppToSettle(); + await context.world.appDriver.waitForAppToSettle(); return context.world.appDriver.isPresent( context.world.appDriver.findBy(key, FindType.text),