Skip to content

Commit

Permalink
Merge pull request #42 from elisa-tech/revert-tc-gap
Browse files Browse the repository at this point in the history
Rever changes to Test Case gap implemented in v1.4
  • Loading branch information
pellecchialuigi authored Sep 12, 2024
2 parents 9098bc1 + 0179a7a commit 730874a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
11 changes: 1 addition & 10 deletions app/src/app/Mapping/MappingListingTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,15 +318,6 @@ const MappingListingTable: React.FunctionComponent<MappingListingTableProps> = (
{coverageFormat(test_case['coverage'])}% Coverage
</Label>
</FlexItem>
{indirect == false && test_case['coverage'] < 100 ? (
<FlexItem>
<Label color='red' name='label-test-case-coverage' variant='outline' isCompact>
{coverageFormat(100 - test_case['coverage'])}% Gap
</Label>
</FlexItem>
) : (
''
)}
<FlexItem align={{ default: 'alignRight' }}>
{indirect == false && auth.isLogged() ? (
<React.Fragment>
Expand Down Expand Up @@ -422,7 +413,7 @@ const MappingListingTable: React.FunctionComponent<MappingListingTableProps> = (
{test_spec['gap'] != 0 ? (
<React.Fragment>
<FlexItem>
<Label color='red' name='label-sw-requirement-coverage' variant='outline' isCompact>
<Label color='red' name='label-test-specification-coverage' variant='outline' isCompact>
{coverageFormat(test_spec['gap'])}% Gap
</Label>
</FlexItem>
Expand Down
1 change: 0 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
## 1.4.x

- Api pagination
- Test case gap highlight in case of direct mapping
- By default sort api by name, library_version instead of by id

## 1.3.x
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "BASIL"
version = "1.4.2"
version = "1.4.3"
description = "open source software quality management tool"
authors = [
{name = "Luigi Pellecchia", email = "[email protected]"},
Expand Down

0 comments on commit 730874a

Please sign in to comment.