-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): Typescript Test Run Automate Tab (#3576)
- Loading branch information
Showing
7 changed files
with
65 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 3 additions & 11 deletions
14
web/src/components/RunDetailAutomateDefinition/RunDetailAutomateDefinition.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
web/src/components/RunDetailAutomateMethods/methods/Typescript/Typescript.styled.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import {Typography} from 'antd'; | ||
import styled from 'styled-components'; | ||
|
||
export const Title = styled(Typography.Title).attrs({ | ||
level: 3, | ||
})` | ||
&& { | ||
font-size: ${({theme}) => theme.size.md}; | ||
font-weight: 600; | ||
margin-bottom: 16px; | ||
} | ||
`; | ||
|
||
export const TitleContainer = styled.div` | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
`; | ||
|
||
export const Container = styled.div` | ||
margin: 16px 0; | ||
`; |
14 changes: 14 additions & 0 deletions
14
web/src/components/RunDetailAutomateMethods/methods/Typescript/Typescript.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import {Typography} from 'antd'; | ||
import {withCustomization} from 'providers/Customization'; | ||
import * as S from './Typescript.styled'; | ||
|
||
const Typescript = () => ( | ||
<S.Container> | ||
<S.TitleContainer> | ||
<S.Title>Typescript Integration</S.Title> | ||
</S.TitleContainer> | ||
<Typography.Paragraph>* this capability is limited to the commercial version of Tracetest.</Typography.Paragraph> | ||
</S.Container> | ||
); | ||
|
||
export default withCustomization(Typescript, 'typescript'); |
2 changes: 2 additions & 0 deletions
2
web/src/components/RunDetailAutomateMethods/methods/Typescript/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// eslint-disable-next-line no-restricted-exports | ||
export {default} from './Typescript'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters