elastic / synthetics-demo

Demo app for elastic/synthetics
https://elastic.github.io/synthetics-demo/
MIT License
2 stars 11 forks source link

Use init generated files, clean up repo #24

Closed andrewvc closed 2 years ago

andrewvc commented 2 years ago

Replaces the contents of the todo folder in this repo with the output of the init command from https://github.com/elastic/synthetics/pull/525

This also adds examples using the request object filling a gap identified in the documentation of that feature (CC @colleenmcginnis )

It also removes the e-commerce demo temporarily till we have steady hosting for it. This blocks #25 as a result.

Finally, this adds inline examples, and removes the heartbeat folder, since as of 8.4 we want to discourage running browser monitors directly with heartbeat.

DO NOT MERGE THIS this until 8.4 is publicly available and beta 32 of the synthetics CLI is out

github-actions[bot] commented 2 years ago

Elastic Synthetics Tests

1 files  ±  0  1 suites   - 2   0s :stopwatch: -1s 4 tests  - 12  4 :heavy_check_mark:  - 12  0 :zzz: ±0  0 :x: ±0  4 runs   - 13  4 :heavy_check_mark:  - 13  0 :zzz: ±0  0 :x: ±0 

Results for commit 98947134. ± Comparison against base commit 98947134.

This pull request removes 16 and adds 4 tests. Note that renamed tests count towards both. ``` My Example Journey assert title ‑ assert title My Example Journey launch application ‑ launch application adding and removing multiple tasks add task Task 1 ‑ add task Task 1 adding and removing multiple tasks add task Task 2 ‑ add task Task 2 adding and removing multiple tasks add task Task 3 ‑ add task Task 3 adding and removing multiple tasks add task Task 4 ‑ add task Task 4 adding and removing multiple tasks check that task list has exactly 2 elements ‑ check that task list has exactly 2 elements adding and removing multiple tasks check that task list has exactly 3 elements ‑ check that task list has exactly 3 elements adding and removing multiple tasks destroy task 'Task 2' ‑ destroy task 'Task 2' adding and removing multiple tasks launch app ‑ launch app … ``` ``` Retrieve and use HTTP Headers via request object Retrieve headers from API ‑ Retrieve headers from API Retrieve and use HTTP Headers via request object Send headers to API ‑ Send headers to API Retrieve and use HTTP Headers via request object Use API Key in HTTP request ‑ Use API Key in HTTP request Retrieve and use HTTP Headers via request object Use API Key in page request ‑ Use API Key in page request ```
github-actions[bot] commented 2 years ago

Elastic Synthetics Tests

1 files  ±0  1 suites  ±0   1s :stopwatch: ±0s 4 tests ±0  4 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 98947134. ± Comparison against base commit 98947134.

:recycle: This comment has been updated with latest results.

shahzad31 commented 2 years ago

Skipping POST FF Testing !!