File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
webview/src/experiments/components Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -7,23 +7,23 @@ import { addConfiguration } from '../util/messages'
77export const AddStage : React . FC = ( ) => (
88 < div className = { styles . addConfigButton } >
99 < p >
10- Define a{ ' ' }
11- < a href = "https://dvc.org/doc/user-guide/pipelines/defining-pipelines " >
12- pipeline
10+ Create a{ ' ' }
11+ < a href = "https://dvc.org/doc/user-guide/project-structure/dvcyaml-files " >
12+ dvc.yaml
1313 </ a > { ' ' }
14- to improve experiment reproducibility .
14+ to run, queue and pass parameters to new experiments .
1515 </ p >
1616 < IconButton
1717 icon = { Add }
1818 onClick = { ( ) => addConfiguration ( ) }
19- text = "Add Stage "
19+ text = "Add dvc.yaml "
2020 />
2121 < p >
2222 Learn more about{ ' ' }
23- < a href = "https://dvc.org/doc/user-guide/project-structure/dvcyaml-files " >
24- dvc.yaml
23+ < a href = "https://dvc.org/doc/user-guide/pipelines/defining-pipelines " >
24+ pipelines
2525 </ a > { ' ' }
26- files .
26+ .
2727 </ p >
2828 </ div >
2929)
Original file line number Diff line number Diff line change @@ -1740,20 +1740,20 @@ describe('App', () => {
17401740 renderTable ( )
17411741 setTableData ( { ...tableDataFixture , hasConfig : false } )
17421742
1743- expect ( screen . getByText ( 'Add Stage ' ) ) . toBeInTheDocument ( )
1743+ expect ( screen . getByText ( 'Add dvc.yaml ' ) ) . toBeInTheDocument ( )
17441744 } )
17451745
17461746 it ( 'should not show a add config button if the project has pipeline stages' , ( ) => {
17471747 renderTable ( )
17481748
1749- expect ( screen . queryByText ( 'Add Stage ' ) ) . not . toBeInTheDocument ( )
1749+ expect ( screen . queryByText ( 'Add dvc.yaml ' ) ) . not . toBeInTheDocument ( )
17501750 } )
17511751
17521752 it ( 'should send a message to the extension to add a pipeline stage when clicking on the add config button' , ( ) => {
17531753 renderTable ( )
17541754 setTableData ( { ...tableDataFixture , hasConfig : false } )
17551755
1756- fireEvent . click ( screen . getByText ( 'Add Stage ' ) )
1756+ fireEvent . click ( screen . getByText ( 'Add dvc.yaml ' ) )
17571757
17581758 expect ( mockPostMessage ) . toHaveBeenCalledWith ( {
17591759 type : MessageFromWebviewType . ADD_CONFIGURATION
You can’t perform that action at this time.
0 commit comments