Skip to content
This repository was archived by the owner on Mar 27, 2020. It is now read-only.

Commit 31548e1

Browse files
committed
Merged dev
2 parents 62a4c6d + cf0eb86 commit 31548e1

28 files changed

+1014
-653
lines changed

AndroidManifest.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<uses-permission android:name="android.permission.WAKE_LOCK" />
1919
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
2020
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
21+
<uses-permission android:name="android.permission.GET_TASKS" />
2122

2223
<application android:icon="@drawable/icon_calculator"
2324
android:theme="@android:style/Theme.Light.NoTitleBar"
@@ -65,7 +66,7 @@
6566
android:screenOrientation="portrait"
6667
android:excludeFromRecents="true"/>
6768
<activity android:name=".CalculatorActivity"
68-
android:launchMode="singleInstance"
69+
android:launchMode="singleTask"
6970
android:screenOrientation="portrait"
7071
android:excludeFromRecents="true"/>
7172
<activity android:name=".LoginActivity"
@@ -100,6 +101,17 @@
100101
</intent-filter>
101102
</receiver>
102103

104+
105+
<!--Check Current Running Activity Receivers -->
106+
<receiver android:name=".trigger.StartupReceiver">
107+
<intent-filter>
108+
<action android:name="android.intent.action.BOOT_COMPLETED" />
109+
<action android:name="StartupReceiver_Manual_Start" />
110+
</intent-filter>
111+
</receiver>
112+
113+
<receiver android:name = ".trigger.CheckRunningApplicationReceiver"/>
114+
103115
</application>
104116
</manifest>
105117

features/1_welcome.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Feature: Welcome page
33

44
Scenario: Verify wizard start screen is displayed on clicking wizard entry point
5-
Given I wait upto 30 seconds for the "WizardActivity" screen to appear
5+
Given I wait upto 60 seconds for the "WizardActivity" screen to appear
66
Then I see the text "Panic Button"
7-
Then I verify action button text is "Take me to the training"
8-
Then I verify action button is "enabled"
7+
Then I press "Set-Up"
8+
Then I see the text "Get started"

0 commit comments

Comments
 (0)