Skip to content

Commit

Permalink
Update snapshots and tests
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <[email protected]>
  • Loading branch information
AMoo-Miki committed Aug 2, 2024
1 parent 10a92b1 commit 1d8a36c
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 46 deletions.
32 changes: 16 additions & 16 deletions public/components/main/__tests__/__snapshots__/main.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports[`<Main /> panel render component 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -522,7 +522,7 @@ exports[`<Main /> panel render component 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -554,7 +554,7 @@ exports[`<Main /> panel render component 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
id="createReportHomepageButton"
type="button"
>
Expand Down Expand Up @@ -912,7 +912,7 @@ exports[`<Main /> panel render component 1`] = `
/>
<div>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -975,7 +975,7 @@ exports[`<Main /> panel render component after create success 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -1470,7 +1470,7 @@ exports[`<Main /> panel render component after create success 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -1502,7 +1502,7 @@ exports[`<Main /> panel render component after create success 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
id="createReportHomepageButton"
type="button"
>
Expand Down Expand Up @@ -1860,7 +1860,7 @@ exports[`<Main /> panel render component after create success 1`] = `
/>
<div>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -1980,7 +1980,7 @@ exports[`<Main /> panel render component after delete success 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -2475,7 +2475,7 @@ exports[`<Main /> panel render component after delete success 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -2507,7 +2507,7 @@ exports[`<Main /> panel render component after delete success 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
id="createReportHomepageButton"
type="button"
>
Expand Down Expand Up @@ -2865,7 +2865,7 @@ exports[`<Main /> panel render component after delete success 1`] = `
/>
<div>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -2986,7 +2986,7 @@ exports[`<Main /> panel render component after edit success 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -3481,7 +3481,7 @@ exports[`<Main /> panel render component after edit success 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down Expand Up @@ -3513,7 +3513,7 @@ exports[`<Main /> panel render component after edit success 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
id="createReportHomepageButton"
type="button"
>
Expand Down Expand Up @@ -3871,7 +3871,7 @@ exports[`<Main /> panel render component after edit success 1`] = `
/>
<div>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ exports[`<ReportDefinitions /> panel render empty table 1`] = `
/>
<div>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Expand Down
1 change: 0 additions & 1 deletion public/components/main/loading_modal/loading_modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
EuiFlexGroup,
EuiFlexItem,
EuiLoadingSpinner,
EuiSmallButton,
} from '@elastic/eui';
import { i18n } from '@osd/i18n';
import React, { useState } from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ exports[`<ReportDefinitionDetails /> panel render 5 hours recurring definition d
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--danger"
class="euiButton euiButton--danger euiButton--small"
id="deleteReportDefinitionButton"
type="button"
>
Expand All @@ -63,7 +63,7 @@ exports[`<ReportDefinitionDetails /> panel render 5 hours recurring definition d
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
id="changeStatusFromDetailsButton"
type="button"
>
Expand All @@ -82,7 +82,7 @@ exports[`<ReportDefinitionDetails /> panel render 5 hours recurring definition d
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
id="editReportDefinitionButton"
type="button"
>
Expand Down Expand Up @@ -457,7 +457,7 @@ exports[`<ReportDefinitionDetails /> panel render disabled daily definition, cli
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--danger"
class="euiButton euiButton--danger euiButton--small"
id="deleteReportDefinitionButton"
type="button"
>
Expand All @@ -476,7 +476,7 @@ exports[`<ReportDefinitionDetails /> panel render disabled daily definition, cli
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
id="changeStatusFromDetailsButton"
type="button"
>
Expand All @@ -495,7 +495,7 @@ exports[`<ReportDefinitionDetails /> panel render disabled daily definition, cli
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
id="editReportDefinitionButton"
type="button"
>
Expand Down Expand Up @@ -870,7 +870,7 @@ exports[`<ReportDefinitionDetails /> panel render on demand definition details 1
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--danger"
class="euiButton euiButton--danger euiButton--small"
id="deleteReportDefinitionButton"
type="button"
>
Expand All @@ -889,7 +889,7 @@ exports[`<ReportDefinitionDetails /> panel render on demand definition details 1
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
id="changeStatusFromDetailsButton"
type="button"
>
Expand All @@ -908,7 +908,7 @@ exports[`<ReportDefinitionDetails /> panel render on demand definition details 1
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
id="editReportDefinitionButton"
type="button"
>
Expand Down
1 change: 0 additions & 1 deletion public/components/main/reports_table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import React, { Fragment, useState } from 'react';
import { i18n } from '@osd/i18n';
import {
EuiSmallButton,
// @ts-ignore
EuiLink,
EuiText,
Expand Down
Loading

0 comments on commit 1d8a36c

Please sign in to comment.