Skip to content

Commit

Permalink
Merge pull request #810 from reportportal/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
maria-hambardzumian authored Oct 29, 2024
2 parents 41a2e25 + 4af40ba commit d814b0d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/work-with-reports/LaunchesTestItemsAttributes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ Multiple values can be associated with a single key. For example, if we have a `
<MediaViewer src={require('./img/launches-test-items-attributes/Attributes5.png')} alt="jira_id key" />

:::important
The only valid use of the semicolon is to split the key and value.<br />
When a semicolon is present in the key or in the value, it breaks the string into two parts.
The only valid use of the colon is to split the key and value.<br />
When a colon is present in the key or in the value, it breaks the string into two parts.
:::

### Semicolon scenarios
### Colon scenarios

**1.** Key and value reported, semicolon used in key only.
**1.** Key and value reported, colon used in key only.

**Example:**<br />
```{"key": "la:bel", "value": "smoke"}```
Expand All @@ -56,7 +56,7 @@ Value: bel

The original value "smoke" is not transmitted at all.

**2.** Key and value reported, semicolon used in both key and value.
**2.** Key and value reported, colon used in both key and value.

**Example:**<br />
```{"key": "la:bel", "value": "smo:ke"}```
Expand All @@ -67,7 +67,7 @@ Value: bel

The original value "smoke" is not transmitted at all.

**3.** Key and value reported, semicolon used in value only.
**3.** Key and value reported, colon used in value only.

**Example:**<br />
```{"key": "label", "value": "smo:ke"}```
Expand All @@ -76,17 +76,17 @@ The original value "smoke" is not transmitted at all.
Key: label<br />
Value: smo

The value is truncated at the semicolon, and only the part before the semicolon is transmitted.
The value is truncated at the colon, and only the part before the colon is transmitted.

**4.** Value reported, semicolon used in value only.
**4.** Value reported, colon used in value only.

**Example:**<br />
```{"value": "smo:ke"}```

**Behavior on UI:**<br />
Value: smo

The value is truncated at the semicolon, and only the part before the semicolon is transmitted.
The value is truncated at the colon, and only the part before the colon is transmitted.

## Adding attributes

Expand Down

0 comments on commit d814b0d

Please sign in to comment.