Skip to content

Commit 65ce5cc

Browse files
committed
cleaned up commands
1 parent 2a410ec commit 65ce5cc

File tree

4 files changed

+5
-149
lines changed

4 files changed

+5
-149
lines changed

core/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"EC_QuoteIdInPtt": ["textBox", "cell"],
118118
"EC_VerifyDropdownValueNotExist": ["dropdown", "dropdownValue"],
119119
"EC_TradeIdComparison": ["button1", "label", "button2"],
120-
"EC_VerifyAbsolutePremium": ["label", "textBox"],
120+
"EC_VerifyAbsolutePremium": ["button1", "label1", "button2", "label2"],
121121
"EC_VerifyNegativeAbsolutePremium": ["label", "textBox"],
122122
"EC_VerifyRedColor": ["textBox"],
123123
"EC_VerifySolverAbosultePremium": ["textBox", "text"],

core/expected_results.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,8 @@
161161
"EC_LASTLOGINVERIFICATION": "Last login timestamp for {value1} successfully verified.",
162162
"EC_DELETEEXISTINGPAGE": "Existing page successfully deleted.",
163163
"EC_VALIDATEDAILYVOLWEIGHTED": "Daily vol weighted successfully validated.",
164-
"FWC_VERIFYBUTTONTEXT": "Successfully verified {value1} button text is {value2}.",
165-
"FWC_GETELEMENTTEXT": "Successfully got text from {value1}.",
166-
"FWC_VERIFYBULKDATA": "Successfully verified bulk data {value1}.",
167-
"FWC_SETTLEPRICINGSCREEN": "Pricing screen successfully settled.",
168-
"FWC_WAITFORELEMENTTOBEINTERACTABLE": "Element successfully became interactable.",
169-
"FWC_MOUSEOVERBUTTON": "Successfully moused over {value1} button."
164+
"FWC_MOUSEOVERBUTTON": "Successfully moused over {value1} button.",
165+
"STARTAPPWITHLOGIN": "A successful login should happen.",
170166
}
171167

172168
def get_expected_results(command, value1, value2):

core/steps_performed.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,9 @@
163163
"EC_LASTLOGINVERIFICATION": "Verify last login timestamp for {value1}",
164164
"EC_DELETEEXISTINGPAGE": "Delete existing page",
165165
"EC_VALIDATEDAILYVOLWEIGHTED": "Validate daily vol weighted",
166-
"FWC_VERIFYBUTTONTEXT": "Verify {value1} button text is {value2}",
167-
"FWC_GETELEMENTTEXT": "Get text from {value1}",
168-
"FWC_VERIFYBULKDATA": "Verify bulk data {value1}",
169-
"FWC_SETTLEPRICINGSCREEN": "Settle pricing screen",
170-
"FWC_WAITFORELEMENTTOBEINTERACTABLE": "Wait for element to be interactable",
171166
"FWC_MOUSEOVERBUTTON": "Mouse over {value1} button",
167+
"STARTAPPWITHLOGIN": "Start app and login with {value1}",
168+
"STOPAPP": "Close Application",
172169
}
173170

174171
def get_steps_performed(command, value1, value2):

parser.py

Lines changed: 0 additions & 137 deletions
This file was deleted.

0 commit comments

Comments
 (0)