Commit ad3c0ffe862645063dde1feb721dbfa134eaed97
Merge branch 'master' of git://github.com/openprocurement/robot_tests
Showing
3 changed files
with
8 additions
and
5 deletions
| 1 | 1 | from robot import run_cli |
| 2 | 2 | import os |
| 3 | 3 | import sys |
| 4 | +from chromedriver import CHROMEDRV_PATH | |
| 5 | + | |
| 6 | +sys.path.append(CHROMEDRV_PATH) | |
| 4 | 7 | |
| 5 | 8 | |
| 6 | 9 | def runner(): |
| 7 | 10 | args = sys.argv[1:] |
| 8 | - #if '-s' not in args: | |
| 9 | - # args += ['-s', 'OpenProcurementProcess'] | |
| 10 | 11 | if '-d' not in args: |
| 11 | 12 | directory = os.path.join(os.getcwd(), 'test_output') |
| 12 | 13 | if not os.path.exists(directory): | ... | ... |
| ... | ... | @@ -33,7 +33,7 @@ Go to homepage |
| 33 | 33 | Go To ${HOMEPAGE} |
| 34 | 34 | |
| 35 | 35 | Login |
| 36 | - Wait Until Page Contains Element id=phone_email 100 | |
| 36 | + Wait Until Page Contains Element id=phone_email 100 | |
| 37 | 37 | Input text id=phone_email ${LOGIN} |
| 38 | 38 | Input text id=password ${PASSWORD} |
| 39 | 39 | Click Button id=submit_login_button |
| ... | ... | @@ -113,4 +113,5 @@ get tender id |
| 113 | 113 | Click Link jquery=a[href^="#/tenderDetailes"] |
| 114 | 114 | Wait Until Page Contains ${ARGUMENTS[1]} 10 |
| 115 | 115 | sleep 1 |
| 116 | - Capture Page Screenshot | |
| \ No newline at end of file | ||
| 116 | + Capture Page Screenshot | |
| 117 | + | ... | ... |
Please
register
or
login
to post a comment