From 37052c8c3fa91ddca612c801ae8e7eff44d7043b Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Thu, 29 Sep 2022 11:02:00 +0200 Subject: [PATCH] SONAR-17188 Improve tests --- .../BranchAnalysisStepContent.tsx | 12 +- .../ExtensionInstallationStepContent.tsx | 2 +- .../ServiceEndpointStepContent.tsx | 2 +- .../__tests__/AzurePipelinesTutorial-it.tsx | 133 +- .../AzurePipelinesTutorial-it.tsx.snap | 3334 +---------------- .../tutorials/components/AllSetStep.tsx | 2 +- 6 files changed, 78 insertions(+), 3407 deletions(-) diff --git a/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/BranchAnalysisStepContent.tsx b/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/BranchAnalysisStepContent.tsx index 0579b592fa6..70200e4d080 100644 --- a/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/BranchAnalysisStepContent.tsx +++ b/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/BranchAnalysisStepContent.tsx @@ -58,13 +58,11 @@ export function BranchAnalysisStepContent(props: BranchesAnalysisStepProps) { optionLabelKey="onboarding.build" options={buildToolsList} /> -
- -
+ ); } diff --git a/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/ExtensionInstallationStepContent.tsx b/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/ExtensionInstallationStepContent.tsx index 2b6271bc5d8..eff9bb3e535 100644 --- a/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/ExtensionInstallationStepContent.tsx +++ b/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/ExtensionInstallationStepContent.tsx @@ -24,7 +24,7 @@ import Link from '../../common/Link'; export default function ExtensionInstallationStepContent() { return ( - + -
    +
    1. { + await clickButton(user, `onboarding.build.other.os.${os}`); + assertCFamilyStepIsCorrectlyRendered(os); + }); //// Analysis step: Other await clickButton(user, 'onboarding.build.other'); @@ -171,45 +162,12 @@ it('should not offer CFamily analysis if the language is not available', async ( ).not.toBeInTheDocument(); }); -function renderAzurePipelinesTutorial( - props: Partial = {}, - { - appState = mockAppState({ branchesEnabled: true }), - languages = { c: mockLanguage({ key: 'c' }) } - }: RenderContext = {} -) { - return renderApp( - '/', - , - { appState, languages } - ); -} - -async function clickButton(user: UserEvent, name: string, context?: HTMLElement) { - if (context) { - await user.click(within(context).getByRole('button', { name })); - } else { - await user.click(screen.getByRole('button', { name })); - } -} - -async function goToNextStep(user: UserEvent) { - await clickButton(user, 'continue'); -} - function assertDefaultStepIsCorrectlyRendered() { expect( screen.getByRole('heading', { name: 'onboarding.tutorial.with.azure_pipelines.ExtensionInstallation.title' }) ).toBeInTheDocument(); - expect(screen.getByTestId('azure-tutorial__extension')).toMatchSnapshot('extension step'); } function assertServiceEndpointStepIsCorrectlyRendered() { @@ -218,10 +176,7 @@ function assertServiceEndpointStepIsCorrectlyRendered() { name: 'onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.title' }) ).toBeInTheDocument(); - expect(screen.getByTestId('azure-tutorial__service-endpoint')).toMatchSnapshot( - 'service endpoint step' - ); - expect(screen.getByRole('button', { name: 'copy_to_clipboard' })).toBeInTheDocument(); + expect(getCopyToClipboardValue()).toBe('https://sonarqube.example.com/'); expect( screen.getByRole('button', { name: 'onboarding.token.generate.long' }) ).toBeInTheDocument(); @@ -233,45 +188,26 @@ function assertDotNetStepIsCorrectlyRendered() { name: 'onboarding.tutorial.with.azure_pipelines.BranchAnalysis.title' }) ).toBeInTheDocument(); - - expect(screen.getByTestId('azure-tutorial__analysis-command')).toMatchSnapshot('dotnet step'); - expect(screen.getByRole('button', { name: 'copy_to_clipboard' })).toBeInTheDocument(); + expect(getCopyToClipboardValue()).toBe('foo'); } function assertMavenStepIsCorrectlyRendered() { - expect(screen.getByTestId('azure-tutorial__analysis-command')).toMatchSnapshot('maven step'); - expect(screen.getByRole('button', { name: 'copy_to_clipboard' })).toBeInTheDocument(); + expect(getCopyToClipboardValue()).toMatchSnapshot('maven, copy additional properties'); } function assertGradleStepIsCorrectlyRendered() { - expect(screen.getByTestId('azure-tutorial__analysis-command')).toMatchSnapshot('gradle step'); - expect(screen.getByRole('button', { name: 'copy_to_clipboard' })).toBeInTheDocument(); + expect(getCopyToClipboardValue()).toMatchSnapshot('gradle, copy additional properties'); } -function assertCFamilyLinuxStepIsCorrectlyRendered() { - expect(screen.getByTestId('azure-tutorial__analysis-command')).toMatchSnapshot( - 'cfamily linux step' - ); - expect(screen.getAllByRole('button', { name: 'copy_to_clipboard' })).toHaveLength(4); -} - -function assertCFamilyWindowsStepIsCorrectlyRendered() { - expect(screen.getByTestId('azure-tutorial__analysis-command')).toMatchSnapshot( - 'cfamily windows step' - ); - expect(screen.getAllByRole('button', { name: 'copy_to_clipboard' })).toHaveLength(4); -} - -function assertCFamilyMacOSStepIsCorrectlyRendered() { - expect(screen.getByTestId('azure-tutorial__analysis-command')).toMatchSnapshot( - 'cfamily macos step' - ); - expect(screen.getAllByRole('button', { name: 'copy_to_clipboard' })).toHaveLength(4); +function assertCFamilyStepIsCorrectlyRendered(os: string) { + expect(getCopyToClipboardValue(0)).toMatchSnapshot(`cfamily ${os}, copy shell script`); + expect(getCopyToClipboardValue(1)).toBe('foo'); + expect(getCopyToClipboardValue(2)).toMatchSnapshot(`cfamily ${os}, copy additional properties`); + expect(getCopyToClipboardValue(3)).toMatchSnapshot(`cfamily ${os}, copy build-wrapper command`); } function assertOtherStepIsCorrectlyRendered() { - expect(screen.getByTestId('azure-tutorial__analysis-command')).toMatchSnapshot('other step'); - expect(screen.getByRole('button', { name: 'copy_to_clipboard' })).toBeInTheDocument(); + expect(getCopyToClipboardValue()).toBe('foo'); } function assertFinishStepIsCorrectlyRendered() { @@ -280,5 +216,40 @@ function assertFinishStepIsCorrectlyRendered() { name: 'onboarding.tutorial.ci_outro.all_set.title' }) ).toBeInTheDocument(); - expect(screen.getByTestId('azure-tutorial__all-set')).toMatchSnapshot('all set step'); +} + +function renderAzurePipelinesTutorial( + props: Partial = {}, + { + appState = mockAppState({ branchesEnabled: true }), + languages = { c: mockLanguage({ key: 'c' }) } + }: RenderContext = {} +) { + return renderApp( + '/', + , + { appState, languages } + ); +} + +async function clickButton(user: UserEvent, name: string, context?: HTMLElement) { + if (context) { + await user.click(within(context).getByRole('button', { name })); + } else { + await user.click(screen.getByRole('button', { name })); + } +} + +async function goToNextStep(user: UserEvent) { + await clickButton(user, 'continue'); +} + +function getCopyToClipboardValue(i = 0, name = 'copy_to_clipboard') { + return screen.getAllByRole('button', { name })[i].getAttribute('data-clipboard-text'); } diff --git a/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/__tests__/__snapshots__/AzurePipelinesTutorial-it.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/__tests__/__snapshots__/AzurePipelinesTutorial-it.tsx.snap index 8d91963a5b3..f02fe7b9621 100644 --- a/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/__tests__/__snapshots__/AzurePipelinesTutorial-it.tsx.snap +++ b/server/sonar-web/src/main/js/components/tutorials/azure-pipelines/__tests__/__snapshots__/AzurePipelinesTutorial-it.tsx.snap @@ -1,3340 +1,42 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`should render correctly and allow navigating between the different steps: all set step 1`] = ` -
      -
      -

      - onboarding.tutorial.ci_outro.all_set.sentence - - onboarding.tutorial.ci_outro.all_set.sentence.all_set - -

      -
      -
      - -
      -
      -

      - - onboarding.tutorial.ci_outro.commit - -

      -

      - onboarding.tutorial.ci_outro.commit.why.azure -

      -
      -
      -
      -
      - -
      -
      -

      - - onboarding.tutorial.ci_outro.refresh - -

      -

      - onboarding.tutorial.ci_outro.refresh.why -

      -
      -
      -
      -
      - - onboarding.tutorial.ci_outro.waiting_for_fist_analysis -
      -
      -`; - -exports[`should render correctly and allow navigating between the different steps: cfamily linux step 1`] = ` -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.emotion-1 { - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - overflow: auto; - text-align: left; - padding: 8px calc(2 * 8px); -} - -.emotion-3 { - border: 1px solid; - border-radius: 2px; - margin-bottom: 8px; - border-color: #b1dff3; - background-color: #d9edf7; - color: #0e516f; - display: block; -} +exports[`should render correctly and allow navigating between the different steps: cfamily linux, copy additional properties 1`] = `"sonar.cfamily.build-wrapper-output=bw-output"`; -.emotion-3:empty { - display: none; -} +exports[`should render correctly and allow navigating between the different steps: cfamily linux, copy build-wrapper command 1`] = `"./build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output "`; -.emotion-3 a, -.emotion-3 .button-link { - border-color: #236a97; -} - -.emotion-0 { - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: calc(4 * 8px); - border-right: 1px solid; - border-color: #b1dff3; -} - -
      - - onboarding.tutorial.with.azure_pipelines.os - -
      -
        -
      • - -
      • -
      • - -
      • -
      • - -
      • -
      -
      -
      - -

      - onboarding.tutorial.cfamily.examples_repositories_description -

      -
      -
      -
      -
      - - - -
      -
      - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info.doc_link - -
      -
      -
      -
        -
      1. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.pipeline - -
      2. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.script.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.nix.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.nix.sentence.inline - -
          -
          -            curl 'http://localhost/static/cpp/build-wrapper-linux-x86.zip' --output build-wrapper.zip
          -unzip build-wrapper.zip
          -          
          - -
          -
        • -
        -
      3. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.before - -
      4. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence.endpoint - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.cfamily - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence.mode - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence.project_key - - - my-project - - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.advanced - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.additional - - - sonar.cfamily.build-wrapper-output=bw-output - - -
        • -
        -
      5. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp.sentence.task - -
      6. - -
      7. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.after - -
      8. -
      9. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence.task - -
        -
        -
        - - - -
        -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.info.sentence1 -
        -
        -
        -
      10. -
      11. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.tab - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.continuous_integration - -
      12. -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection.link - -
      -
      `; -exports[`should render correctly and allow navigating between the different steps: cfamily macos step 1`] = ` -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.emotion-1 { - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - overflow: auto; - text-align: left; - padding: 8px calc(2 * 8px); -} - -.emotion-3 { - border: 1px solid; - border-radius: 2px; - margin-bottom: 8px; - border-color: #b1dff3; - background-color: #d9edf7; - color: #0e516f; - display: block; -} +exports[`should render correctly and allow navigating between the different steps: cfamily mac, copy additional properties 1`] = `"sonar.cfamily.build-wrapper-output=bw-output"`; -.emotion-3:empty { - display: none; -} +exports[`should render correctly and allow navigating between the different steps: cfamily mac, copy build-wrapper command 1`] = `"./build-wrapper-macos-x86/build-wrapper-macos-x86 --out-dir bw-output "`; -.emotion-3 a, -.emotion-3 .button-link { - border-color: #236a97; -} - -.emotion-0 { - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: calc(4 * 8px); - border-right: 1px solid; - border-color: #b1dff3; -} - -
      - - onboarding.tutorial.with.azure_pipelines.os - -
      -
        -
      • - -
      • -
      • - -
      • -
      • - -
      • -
      -
      -
      - -

      - onboarding.tutorial.cfamily.examples_repositories_description -

      -
      -
      -
      -
      - - - -
      -
      - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info.doc_link - -
      -
      -
      -
        -
      1. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.pipeline - -
      2. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.script.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.nix.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.nix.sentence.inline - -
          -
          -            curl 'http://localhost/static/cpp/build-wrapper-macosx-x86.zip' --output build-wrapper.zip
          -unzip build-wrapper.zip
          -          
          - -
          -
        • -
        -
      3. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.before - -
      4. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence.endpoint - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.cfamily - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence.mode - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence.project_key - - - my-project - - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.advanced - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.additional - - - sonar.cfamily.build-wrapper-output=bw-output - - -
        • -
        -
      5. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp.sentence.task - -
      6. - -
      7. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.after - -
      8. -
      9. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence.task - -
        -
        -
        - - - -
        -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.info.sentence1 -
        -
        -
        -
      10. -
      11. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.tab - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.continuous_integration - -
      12. -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection.link - -
      -
      `; -exports[`should render correctly and allow navigating between the different steps: cfamily windows step 1`] = ` -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.emotion-1 { - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - overflow: auto; - text-align: left; - padding: 8px calc(2 * 8px); -} - -.emotion-3 { - border: 1px solid; - border-radius: 2px; - margin-bottom: 8px; - border-color: #b1dff3; - background-color: #d9edf7; - color: #0e516f; - display: block; -} +exports[`should render correctly and allow navigating between the different steps: cfamily win, copy additional properties 1`] = `"sonar.cfamily.build-wrapper-output=bw-output"`; -.emotion-3:empty { - display: none; -} +exports[`should render correctly and allow navigating between the different steps: cfamily win, copy build-wrapper command 1`] = `"build-wrapper-win-x86/build-wrapper-win-x86-64.exe --out-dir bw-output "`; -.emotion-3 a, -.emotion-3 .button-link { - border-color: #236a97; -} - -.emotion-0 { - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: calc(4 * 8px); - border-right: 1px solid; - border-color: #b1dff3; -} - -
      - - onboarding.tutorial.with.azure_pipelines.os - -
      -
        -
      • - -
      • -
      • - -
      • -
      • - -
      • -
      -
      -
      - -

      - onboarding.tutorial.cfamily.examples_repositories_description -

      -
      -
      -
      -
      - - - -
      -
      - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info.doc_link - -
      -
      -
      -
        -
      1. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.pipeline - -
      2. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.script.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.win.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.win.sentence.inline - -
          -
          -            Invoke-WebRequest -Uri 'http://localhost/static/cpp/build-wrapper-win-x86.zip' -OutFile 'build-wrapper.zip'
          -Expand-Archive -Path 'build-wrapper.zip' -DestinationPath '.'
          -          
          - -
          -
        • -
        -
      3. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.before - -
      4. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence.endpoint - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.cfamily - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence.mode - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence.project_key - - - my-project - - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.advanced - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.additional - - - sonar.cfamily.build-wrapper-output=bw-output - - -
        • -
        -
      5. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp.sentence.task - -
      6. - -
      7. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.ccpp.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.after - -
      8. -
      9. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence.task - -
        -
        -
        - - - -
        -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.info.sentence1 -
        -
        -
        -
      10. -
      11. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.tab - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.continuous_integration - -
      12. -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection.link - -
      -
      -`; - -exports[`should render correctly and allow navigating between the different steps: dotnet step 1`] = ` -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.emotion-1 { - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - overflow: auto; - text-align: left; - padding: 8px calc(2 * 8px); -} - -.emotion-3 { - border: 1px solid; - border-radius: 2px; - margin-bottom: 8px; - border-color: #b1dff3; - background-color: #d9edf7; - color: #0e516f; - display: block; -} - -.emotion-3:empty { - display: none; -} - -.emotion-3 a, -.emotion-3 .button-link { - border-color: #236a97; -} - -.emotion-0 { - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: calc(4 * 8px); - border-right: 1px solid; - border-color: #b1dff3; -} - -
      -
      -
      -
      - - - -
      -
      - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info.doc_link - -
      -
      -
      -
        -
      1. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.pipeline - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.before - -
      2. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence.endpoint - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.dotnet - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence.project_key - - - my-project - - -
        • -
        -
      3. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.after - -
      4. -
      5. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence.task - -
        -
        -
        - - - -
        -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.info.sentence1 -
        -
        -
        -
      6. -
      7. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.tab - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.continuous_integration - -
      8. -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection.link - -
      -
      -`; - -exports[`should render correctly and allow navigating between the different steps: extension step 1`] = ` - - onboarding.tutorial.with.azure_pipelines.ExtensionInstallation.sentence - - - - - onboarding.tutorial.with.azure_pipelines.ExtensionInstallation.sentence.link - - - onboarding.tutorial.with.azure_pipelines.ExtensionInstallation.sentence.button - - -`; - -exports[`should render correctly and allow navigating between the different steps: gradle step 1`] = ` -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.emotion-1 { - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - overflow: auto; - text-align: left; - padding: 8px calc(2 * 8px); -} - -.emotion-3 { - border: 1px solid; - border-radius: 2px; - margin-bottom: 8px; - border-color: #b1dff3; - background-color: #d9edf7; - color: #0e516f; - display: block; -} - -.emotion-3:empty { - display: none; -} - -.emotion-3 a, -.emotion-3 .button-link { - border-color: #236a97; -} - -.emotion-0 { - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: calc(4 * 8px); - border-right: 1px solid; - border-color: #b1dff3; -} - -
      -
      -
      -
      - - - -
      -
      - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info.doc_link - -
      -
      -
      -
        -
      1. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.pipeline - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.before - -
      2. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence.endpoint - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.gradle - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence.properties - - : -
          -
          -            # Additional properties that will be passed to the scanner,
          -# Put one key=value per line, example:
          -# sonar.exclusions=**/*.bin
          -sonar.projectKey=my-project
          -          
          - -
          -
        • -
        -
      3. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.title -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_version - - - 11 - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.or_higher -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_architecture - - - x64 - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_source - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.pre-installed - -
        • -
        -
      4. -
      5. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.onboarding.build.gradle -
      6. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence.option - -
        • -
        -
      7. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence.task - -
        -
        -
        - - - -
        -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.info.sentence1 -
        -
        -
        -
      8. -
      9. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.tab - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.continuous_integration - -
      10. -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection.link - -
      -
      `; -exports[`should render correctly and allow navigating between the different steps: gradle step 2`] = ` -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.emotion-1 { - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - overflow: auto; - text-align: left; - padding: 8px calc(2 * 8px); -} - -.emotion-3 { - border: 1px solid; - border-radius: 2px; - margin-bottom: 8px; - border-color: #b1dff3; - background-color: #d9edf7; - color: #0e516f; - display: block; -} - -.emotion-3:empty { - display: none; -} - -.emotion-3 a, -.emotion-3 .button-link { - border-color: #236a97; -} - -.emotion-0 { - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: calc(4 * 8px); - border-right: 1px solid; - border-color: #b1dff3; -} - -
      -
      -
      -
      - - - -
      -
      - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info.doc_link - -
      -
      -
      -
        -
      1. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.pipeline - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.before - -
      2. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence.endpoint - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.gradle - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence.properties - - : -
          -
          -            # Additional properties that will be passed to the scanner,
          -# Put one key=value per line, example:
          -# sonar.exclusions=**/*.bin
          -sonar.projectKey=my-project
          -          
          - -
          -
        • -
        -
      3. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.title -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_version - - - 11 - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.or_higher -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_architecture - - - x64 - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_source - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.pre-installed - -
        • -
        -
      4. -
      5. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.onboarding.build.gradle -
      6. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence.option - -
        • -
        -
      7. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence.task - -
        -
        -
        - - - -
        -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.info.sentence1 -
        -
        -
        -
      8. -
      9. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.tab - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.continuous_integration - -
      10. -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection.link - -
      -
      +sonar.projectKey=foo" `; -exports[`should render correctly and allow navigating between the different steps: maven step 1`] = ` -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.emotion-1 { - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - overflow: auto; - text-align: left; - padding: 8px calc(2 * 8px); -} - -.emotion-3 { - border: 1px solid; - border-radius: 2px; - margin-bottom: 8px; - border-color: #b1dff3; - background-color: #d9edf7; - color: #0e516f; - display: block; -} - -.emotion-3:empty { - display: none; -} - -.emotion-3 a, -.emotion-3 .button-link { - border-color: #236a97; -} - -.emotion-0 { - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: calc(4 * 8px); - border-right: 1px solid; - border-color: #b1dff3; -} - -
      -
      -
      -
      - - - -
      -
      - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info.doc_link - -
      -
      -
      -
        -
      1. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.pipeline - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.before - -
      2. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence.endpoint - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.gradle - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties.sentence.properties - - : -
          -
          -            # Additional properties that will be passed to the scanner,
          -# Put one key=value per line, example:
          -# sonar.exclusions=**/*.bin
          -sonar.projectKey=my-project
          -          
          - -
          -
        • -
        -
      3. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.title -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_version - - - 11 - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.or_higher -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_architecture - - - x64 - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.java_source - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java_installer.pre-installed - -
        • -
        -
      4. -
      5. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.onboarding.build.maven -
      6. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.java.settings.sentence.option - -
        • -
        -
      7. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence.task - -
        -
        -
        - - - -
        -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.info.sentence1 -
        -
        -
        -
      8. -
      9. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.tab - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.continuous_integration - -
      10. -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection.link - -
      -
      -`; - -exports[`should render correctly and allow navigating between the different steps: other step 1`] = ` -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.emotion-1 { - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - overflow: auto; - text-align: left; - padding: 8px calc(2 * 8px); -} - -.emotion-3 { - border: 1px solid; - border-radius: 2px; - margin-bottom: 8px; - border-color: #b1dff3; - background-color: #d9edf7; - color: #0e516f; - display: block; -} - -.emotion-3:empty { - display: none; -} - -.emotion-3 a, -.emotion-3 .button-link { - border-color: #236a97; -} - -.emotion-0 { - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: calc(4 * 8px); - border-right: 1px solid; - border-color: #b1dff3; -} - -
      -
      -
      -
      - - - -
      -
      - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.info.doc_link - -
      -
      -
      -
        -
      1. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.pipeline - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.sentence.before - -
      2. -
          -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint.sentence.endpoint - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.other - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual.sentence.mode - -
        • -
        • - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence.project_key - - - my-project - - -
        • -
        -
      3. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.task - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.sentence.after - -
      4. -
      5. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.sentence.task - -
        -
        -
        - - - -
        -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.publish_qg.info.sentence1 -
        -
        -
        -
      6. -
      7. - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.tab - - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.continous_integration.sentence.continuous_integration - -
      8. -
        - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection - - onboarding.tutorial.with.azure_pipelines.BranchAnalysis.branch_protection.link - -
      -
      -`; - -exports[`should render correctly and allow navigating between the different steps: service endpoint step 1`] = ` -
        -
      1. - onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step1.sentence - - onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step1.sentence.menu - -
      2. -
      3. - onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step2.sentence - - onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step2.sentence.type - -
      4. -
      5. - onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step3.sentence - - http://localhost:9000 - - -
      6. -
      7. - - onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step4.sentence - : - - -
      8. -
      9. - onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step5.sentence -
      10. -
      11. - onboarding.tutorial.with.azure_pipelines.ServiceEndpoint.step6.sentence -
      12. -
      +sonar.projectKey=foo" `; diff --git a/server/sonar-web/src/main/js/components/tutorials/components/AllSetStep.tsx b/server/sonar-web/src/main/js/components/tutorials/components/AllSetStep.tsx index dbf457dd861..58c3805e34d 100644 --- a/server/sonar-web/src/main/js/components/tutorials/components/AllSetStep.tsx +++ b/server/sonar-web/src/main/js/components/tutorials/components/AllSetStep.tsx @@ -37,7 +37,7 @@ export default function AllSetStep(props: AllSetStepProps) { finished={false} open={open} renderForm={() => ( -
      +
      )} -- 2.39.5