Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

canopy.classic.waitForElement function fix #428

Merged
merged 2 commits into from
Apr 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/canopy/canopy.fs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let edgeBETA = edgeBETA
(* documented/actions *)
let chrome = chrome
(* documented/actions *)
let chromium = chromium
let chromium = chromium
(* documented/actions *)
let safari = safari

Expand Down Expand Up @@ -158,7 +158,7 @@ let fastTextFromCSS selector = fastTextFromCSS selector browser
let ( == ) item value = equals item value browser

(* documented/assertions *)
let ( != ) cssSelector value = notEquals cssSelector value browser
let ( != ) cssSelector value = notEquals cssSelector value browser

(* documented/assertions *)
let ( *= ) cssSelector value = oneOrManyEquals cssSelector value browser
Expand All @@ -183,12 +183,12 @@ let ( =~ ) cssSelector pattern = regexEquals cssSelector pattern browser

(* documented/assertions *)
let ( !=~ ) cssSelector pattern = regexNotEquals cssSelector pattern browser

(* documented/assertions *)
let ( *~ ) cssSelector pattern = oneOrManyRegexEquals cssSelector pattern browser

(* documented/assertions *)
let is expected actual = is expected actual
let is expected actual = is expected actual

(* documented/assertions *)
let (===) expected actual = is expected actual
Expand All @@ -198,7 +198,7 @@ let displayed item = displayed item browser

(* documented/assertions *)
let notDisplayed item = notDisplayed item browser

(* documented/assertions *)
let enabled item = enabled item browser

Expand Down Expand Up @@ -244,7 +244,7 @@ let drag cssSelectorA cssSelectorB = drag cssSelectorA cssSelectorB
//browser related
(* documented/actions *)
let pin direction = pin direction browser

(* documented/actions *)
let start b =
browser <- start b
Expand Down Expand Up @@ -327,4 +327,4 @@ let value = value
let skip message = skip message browser

(* documented/actions *)
let waitForElement cssSelector = waitForElement
let waitForElement cssSelector = waitForElement cssSelector browser