# Run Details

When creating a new run, playwright and cypress collect various information about the environment - this information is shown as Run Details in Currents Dashboard.

<figure><img src="https://3745692499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqmFDEiUa9mr11LUlxDnt%2Fuploads%2FYVAXppv9sqRYjpereKew%2Fcurrents-2024-01-30-14.32.32%402x.png?alt=media&#x26;token=7f02766d-a0b3-439a-93bf-d1adf8f7810d" alt=""><figcaption><p>Run details example</p></figcaption></figure>

| Field             | Description                                                                                                                                                                        |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Duration          | Run's duration                                                                                                                                                                     |
| Progress          | Completed / overall spec files progress                                                                                                                                            |
| Started at        | Run start timestamp                                                                                                                                                                |
| Branch            | Git branch (or HEAD branch name for [GitHub PRs](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/getting-started/ci-setup/github-actions/commit-data-for-github-actions)) |
| Commit            | Git commit message (or [PR Title GitHub PRs](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/getting-started/ci-setup/github-actions/commit-data-for-github-actions))     |
| Browser / Project | Cypress tests browser or Playwright Project                                                                                                                                        |
| Author            | Git commit author                                                                                                                                                                  |
| CI Build ID       | [ci-build-id](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/guides/ci-build-id "mention")                                                                               |

### Playwright / Cypress Git Information

In order to obtain git data, `.git` directory should be available during the execution of your tests (on CI machines). The package uses Git commands to get each property, like `git show -s --pretty=%B`, see [src/git-api.js](https://github.com/currents-dev/commit-info/blob/master/src/git-api.js).&#x20;

In addition, we can detect git information from certain CI-specific environment variables (e.g. [GitHub Actions Default Environment Variables](https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables)).&#x20;

When git information is not available from `.git` folder or environment variables, you can provide the data explicitly using environment variables:

```
COMMIT_INFO_BRANCH: branch
COMMIT_INFO_MESSAGE: commit message
COMMIT_INFO_EMAIL: commit author email
COMMIT_INFO_AUTHOR: commit author name
COMMIT_INFO_SHA: commit info sha
COMMIT_INFO_TIMESTAMP: commit timestamp
COMMIT_INFO_REMOTE: remote origin
```

{% hint style="info" %}
**Please note:** If no git information is available - either from`.git` folder or from environment variables, no git data will be shown&#x20;

`git` information is required for Bitbucket, GitHub and GitLab integrations to work properly
{% endhint %}

If you're not seeing git information for your runs, most chances it is just not available in the CI environment. Please enable the debug mode for [Playwright](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/getting-started/playwright/troubleshooting-playwright) or [Cypress](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/getting-started/cypress/troubleshooting-cypress#cypress-cloud) or add [git commands](https://github.com/cypress-io/commit-info/blob/3edc0e3005873997a15204be7daf45666fb9b932/src/git-api.js#L10) to your CI workflow for troubleshooting.

Read more about detecting [Pull Requests in GitHub Actions](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/getting-started/ci-setup/github-actions/commit-data-for-github-actions).

### Run Tags

Tagging is a convenient way to augment your executions with extra data that can be helpful for managing your tests. You can tag the runs (executions) by adding `--tag tagA,tagB` flag to `currents` command.

For example, running the next command `@currents/playwright` (version 1.7.0+):

{% code overflow="wrap" %}

```
npx pwc --key RECORD_KEY --project-id PROJECT_ID --ci-build-id CI_BUILD_ID --tag currents-cli,gha
```

{% endcode %}

or for cypress:

```
cypress-cloud run --parallel --record --tag currents-cli,gha 
```

Would generate a run with the corresponding tags:

<figure><img src="https://3745692499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqmFDEiUa9mr11LUlxDnt%2Fuploads%2FiqbfAoRh4rdDbIqNmKJb%2Fcurrents-2023-03-03-14.14.26%402x.png?alt=media&#x26;token=9ec5f726-2222-4a9e-a3d9-49872a87bde6" alt=""><figcaption><p>Tagged run example</p></figcaption></figure>

The run, spec and test execution recordings will inherit the tags. You can use the tags as a filter when browsing the dashboard to narrow down the results, for example:

* filter runs by tags
* filter insights and analytics to only include records with a particular tag
* filter errors, tests and spec performance explorers to only include records with a particular tag

The tags are also available in the results returned from the [Broken link](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/dashboard/runs/broken-reference "mention") and as part of [http-webhooks](https://docs.currents.dev/~/changes/TYKBeqcc7WyqjmgOzWzB/resources/integrations/http-webhooks "mention")

<figure><img src="https://3745692499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqmFDEiUa9mr11LUlxDnt%2Fuploads%2FPMiuulcIHqUThCIPeQqQ%2Fcurrents-2023-03-03-14.21.10%402x.png?alt=media&#x26;token=f55a0dfc-000b-4209-86f0-0bc95d32a5f6" alt=""><figcaption><p>Example of filterin Run Status Metrics by Tags</p></figcaption></figure>
