feat(uiTest): Data changes to fit new display name req.
This commit is contained in:
parent
6d1e0f8cc3
commit
78f6df4d06
|
@ -16,8 +16,8 @@
|
|||
from data.StatusAccount import StatusAccount
|
||||
from processes.StatusLoginProcess import StatusLoginProcess
|
||||
|
||||
@Given("A Status Desktop |any| and |word| with |word| as a preference language")
|
||||
def step(context,account,password,languageType):
|
||||
@Given("A Status Desktop |any| and |word|")
|
||||
def step(context,account,password):
|
||||
|
||||
# Create new data domain:
|
||||
accountObj = StatusAccount(account, password)
|
||||
|
@ -28,7 +28,6 @@ def step(context,account,password,languageType):
|
|||
# Set needed context properties:
|
||||
context.userData['process'] = process
|
||||
context.userData['account'] = accountObj
|
||||
context.userData['languageType'] = languageType
|
||||
|
||||
# Verify process can be executed:
|
||||
test.verify(process.can_execute_process(), "Not possible to start login process. Check if expected Login Screen is available.")
|
||||
|
|
|
@ -17,23 +17,23 @@ Feature: Status Desktop login
|
|||
|
||||
Scenario Outline: User tries to login with a valid password
|
||||
|
||||
Given A Status Desktop <account> and <password> with <languageType> as a preference language
|
||||
Given A Status Desktop <account> and <password>
|
||||
When the user tries to login with valid credentials
|
||||
Then the user is able to login to Status Desktop application
|
||||
Examples:
|
||||
| account | password | languageType |
|
||||
| Athletic Prime Springtail | Test_1234 | english |
|
||||
| Nervous Pesky Serpent | Test_1234 | english |
|
||||
| Granular Diligent Gorilla | Test_1234 | english |
|
||||
| account | password |
|
||||
| Athletic_Prime | Test_1234 |
|
||||
| Nervous_Pesky | Test_1234 |
|
||||
| Granular_Diligent| Test_1234 |
|
||||
|
||||
|
||||
Scenario Outline: User tries to login with an invalid password
|
||||
|
||||
Given A Status Desktop <account> and <password> with <languageType> as a preference language
|
||||
Given A Status Desktop <account> and <password>
|
||||
When the user tries to login with invalid credentials
|
||||
Then the user is NOT able to login to Status Desktop application
|
||||
Examples:
|
||||
| account | password | languageType |
|
||||
| Athletic Prime Springtail | Invalid34 | english |
|
||||
| Granular Diligent Gorilla | Testpwd | english |
|
||||
| Nervous Pesky Serpent | WrongPSW | english |
|
||||
| account | password |
|
||||
| Athletic_Prime | Invalid34 |
|
||||
| Granular_Diligent | Testpwd |
|
||||
| Nervous_Pesky | WrongPSW |
|
||||
|
|
Loading…
Reference in New Issue