Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ehasa-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WIMMA Lab 2019
Overflow
ehasa-frontend
Commits
c0312b10
Commit
c0312b10
authored
5 years ago
by
L4074
Browse files
Options
Downloads
Patches
Plain Diff
UPDATE resource.robot
parent
dde853cf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/resource.robot
+19
-6
19 additions, 6 deletions
tests/resource.robot
with
19 additions
and
6 deletions
tests/resource.robot
+
19
−
6
View file @
c0312b10
...
...
@@ -77,8 +77,12 @@ ${testit} css=button[id^="selecttest_"]
## Join Game
${B_JOINGAME}
id=joinGameButton
${L_SELECTFACTION}
id=selectFactionList
${I_JOINPASS}
id=factionPasswordInput
${B_JOINSUBMIT}
id=joinGameSubmitButton
## Promote
${B_SHOWPLAYERS}
id=showPlayersButton
*** Keywords ***
#Valid Login
...
...
@@ -125,7 +129,7 @@ Wait For Log Out Button To Appear #not in use
#Registration
Open Registration
Click Button
id=
ope
nRegister
Form
Button
Click Button
id=
logi
nRegisterButton
Generate Valid Username
#Generates new username for every test rotation in gitlab. Used in test suite 00.
${GENE_username}
=
Generate Random String
12
[LETTERS][NUMBERS]
...
...
@@ -460,7 +464,7 @@ Save Game
Click Button
${B_ESUBMIT}
Alert Should Be Present
text=Game updated
action=ACCEPT
timeout=None
Click Element
${E_ECLOSE}
#
Click Element ${E_ECLOSE}
# Handle Alert
Generate Valid Gamename
#Generates new name for every test rotation in gitlab. Used in test suite xx.
...
...
@@ -508,14 +512,16 @@ Generate Game End Date And Time
#
# JOIN GAME AND FACTION
# PROMOTE
#
Generate Player Username
#Generates new username for every test rotation in gitlab. Used in test suite 10.
#Generates new username for every test rotation in gitlab. Used in test suite join_game
Generate Player Username
${playername}
=
Generate Random String
12
[LETTERS][NUMBERS]
[
Return
]
${playername}
Input Player Username
#Inputs the generated valid username for login. (Test suite 00)
#Inputs the generated valid username for login. (Test suite join_game)
Input Player Username
[
Arguments
]
${playername}
Input Text
${LOC_USER}
${playername}
...
...
@@ -523,10 +529,17 @@ Join Game
[
Arguments
]
${faction}
${password}
Click Button
${B_JOINGAME}
Select From List By Label
${L_SELECTFACTION}
${faction}
Input Text
${I_
FACTIO
NPASS}
${password}
Input Text
${I_
JOI
NPASS}
${password}
Click Button
${B_JOINSUBMIT}
Handle Alert
Go To Players
Click Button
${B_SHOWPLAYERS}
Promote
${x}
=
Format String
select{}
${VALID_GAME}
Click Button
Log
[
Arguments
]
${x}
Log To Console
${x}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment