add test001 and add repo to drone
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
* added first test * added drone config .drone.yml * fixed typo in README.md
This commit is contained in:
parent
9c892ed5fa
commit
f06875a6a5
18
.drone.yml
Normal file
18
.drone.yml
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: test001
|
||||
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: open-website
|
||||
pull: always
|
||||
image: robotframework/rfdocker
|
||||
commands:
|
||||
- uname -r
|
||||
- python --version
|
||||
- robot test001
|
||||
- cat log.html
|
||||
- cat output.html
|
||||
- cat report.hmtl
|
@ -1,5 +1,5 @@
|
||||
# rf-testing
|
||||
# rf-testing [![Build Status](https://drone.dotya.ml/api/badges/wanderer/rf-testing/status.svg?ref=refs/heads/master)](https://drone.dotya.ml/wanderer/rf-testing)
|
||||
|
||||
this repoholds *testing* sawce of robotframework tests that are meant to be run in a Docker container
|
||||
this repo holds *testing* sawce of robotframework tests that are meant to be run in a Docker container
|
||||
|
||||
> use at your own discretion
|
||||
|
20
test001.robot
Normal file
20
test001.robot
Normal file
@ -0,0 +1,20 @@
|
||||
*** Settings ***
|
||||
Library SeleniumLibrary run_on_failure=Nothing
|
||||
|
||||
*** Variables ***
|
||||
${URL} https://drone.dotya.ml/wanderer/docker-archlinux-cdev/
|
||||
${BROWSER} Chrome
|
||||
${RANDELEM} //section[@class='repo-item build-yes active-yes']
|
||||
|
||||
*** Test Cases ***
|
||||
TC_001 - open browser and go to url
|
||||
Set Selenium Speed 0.2
|
||||
Open Browser ${URL} ${BROWSER}
|
||||
Wait Until Element Is Visible ${RANDELEM}
|
||||
Click Element ${RANDELEM}
|
||||
Log Location
|
||||
Sleep 2
|
||||
Capture Page Screenshot filename=screen.png
|
||||
|
||||
Post-conditions
|
||||
Close Browser
|
Loading…
Reference in New Issue
Block a user