Skip to content
Open
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
38 changes: 37 additions & 1 deletion docs/resources/create_browser_check_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "synthetics_create_browser_check_v2" "long_browser_v2_foo_check" {
steps {
name = "02 fill in fieldz"
selector = "beep"
selector_type = "id"
selector_type = "id" # (Valid types: "id", "name", "xpath", "css", "link", "jspath")
type = "enter_value"
value = "{{env.beep-var}}"
}
Expand Down Expand Up @@ -105,6 +105,42 @@ resource "synthetics_create_browser_check_v2" "long_browser_v2_foo_check" {
value = "beeeeeeep"
wait_for_nav = true
}
steps {
name = "011 Assert element present"
type = "assert_element_present"
selector = "abcde"
selector_type = "id"
}
steps {
name = "012 Assert element not present"
type = "assert_element_not_present"
selector = "zyxwv"
selector_type = "id"
}
steps {
name = "013 Assert element visible"
type = "assert_element_visible"
selector = "jklmnopq"
selector_type = "id"
}
steps {
name = "014 Assert element not visible"
type = "assert_element_not_visible"
selector = "lkjihgfe"
selector_type = "id"
}
steps {
name = "015 Assert text present"
type = "assert_text_present"
selector = "textabc"
selector_type = "id"
}
steps {
name = "016 Assert text not present"
type = "assert_text_not_present"
selector = "textxyz"
selector_type = "id"
}
}
transactions {
name = "2nd Synthetic transaction"
Expand Down