Closed andrewvc closed 2 years ago
I agree this is a good idea to make it easy to set up monitors with a single URL. I also agree that there needs to be some assertion to check the page is loaded as expected. A couple of points that come to mind:
browser
type and not separated out from our existing types (it just becomes a different way of creating it, like Inline, Suite/ZIP URL, Script Recorder and now also Single Page)hello world
exists on the page loadedDiscussed in refinement, input will have a URL and text input (to be on the loaded page) only
Here is an example of the new flow
Open Questions:
- What level of validation should we perform?
- How do we determine the page is 'done'?
Validation:
Page done:
step()
behaviour where we wait for the loaded stateRequirements are going to be moved from here to https://github.com/elastic/kibana/issues/128473 (cc @drewpost @hbharding)
This is covered in https://github.com/elastic/kibana/issues/128473 (with the addition of the assertion requirement as mentioned in https://github.com/elastic/kibana/issues/128473#issuecomment-1147524569)
For users who want to just load a single page and test that it works in a browser, they must write a small synthetics script. We should create a new simplified workflow for this, whereby:
source
type in heartbeat ofurl
, that takes a single URL and checks that it loadsOpen Questions: