Created
June 23, 2016 09:10
-
-
Save seryh/cf8433f38c68af210f1925fd461428d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftest test-route | |
"nextgen" | |
(let [] | |
(click (find-element (first (find-elements {:css ".iw-nextgen-global-view .iw-multifinderwidget-box"})) | |
{:css ".iw-multifinderwidget-place-title"})) | |
(Thread/sleep 500) | |
(find-and-select | |
(find-element (first (find-elements {:css ".iw-nextgen-global-view .iw-multifinderwidget-box"})) | |
{:css ".iw-multifinderwidget-place .iw-multifinderwidget-input"}) | |
"Новосибирск") | |
(Thread/sleep 500) | |
(click (find-element (first (find-elements {:css ".iw-nextgen-global-view .iw-multifinderwidget-box"})) | |
{:css ".iw-multifinderwidget-address-title"})) | |
(Thread/sleep 200) | |
(find-and-select | |
(find-element (first (find-elements {:css ".iw-nextgen-global-view .iw-multifinderwidget-box"})) | |
{:css ".iw-multifinderwidget-address .iw-multifinderwidget-input"}) | |
"Киевская 23") | |
(Thread/sleep 200) | |
(find-and-select | |
(find-element (last (find-elements {:css ".iw-nextgen-global-view .iw-multifinderwidget-box"})) | |
{:css ".iw-multifinderwidget-place .iw-multifinderwidget-input"}) | |
"Новосибирск") | |
(Thread/sleep 200) | |
(find-and-select | |
(find-element (last (find-elements {:css ".iw-nextgen-global-view .iw-multifinderwidget-box"})) | |
{:css ".iw-multifinderwidget-address .iw-multifinderwidget-input"}) | |
"Ленина 6")) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment