Skip to content

[probes.browser] First working draft of the browser probe. - #846

Merged
manugarg merged 4 commits into
browser_devfrom
browser_probe
Sep 12, 2024
Merged

manugarg merged 4 commits into
browser_devfrom
browser_probe

Conversation

@manugarg

Copy link
Copy Markdown
Contributor
  • It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
  • Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
  • Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
    • Serve screenshots through cloudprober web server, unless disabled.
    • Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.

@manugarg manugarg self-assigned this Sep 12, 2024
@manugarg
manugarg merged commit c59175e into browser_dev Sep 12, 2024
@manugarg
manugarg deleted the browser_probe branch September 12, 2024 17:27
manugarg added a commit that referenced this pull request Sep 23, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Sep 23, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Sep 23, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Sep 27, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Sep 29, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Oct 3, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Oct 6, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Oct 10, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Oct 16, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Oct 18, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Nov 11, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Nov 16, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Nov 16, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
manugarg added a commit that referenced this pull request Dec 10, 2024
- It uses playwright for running browser tests. It expects playwright to be already installed. We'll eventually provide a docker image with playwright installed.
- Probe config takes a test spec. Each test can contain multiple tests and steps. We export metrics for all tests defined in the test spec. We achieve this by defining a custom reporter.
- Config also takes the output directory for generated test assets like screenshots, and traces (need to be enabled through config). If output directory is not defined, a temporary directory will be created. However, we'll strongly encourage users to provide a persistent directory so that screenshots are preserved. More work here:
   - Serve screenshots through cloudprober web server, unless disabled.
   - Implement retention period for assets.

Warning: this is not ready for use right now, that's why integrating into a dev branch for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant