Skip to content

Commit 0a24d38

Browse files
committed
Added html id for uitest
1 parent 2bff298 commit 0a24d38

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

frontend/src/components/entry/EntryAttributes.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { EntryAttributeType } from "@dmm-com/airone-apiclient-typescript-fetch";
22
import {
3+
Paper,
34
Table,
4-
TableContainer,
5-
TableHead,
65
TableBody,
76
TableCell,
7+
TableContainer,
8+
TableHead,
89
TableRow,
9-
Paper,
1010
Typography,
1111
} from "@mui/material";
1212
import { styled } from "@mui/material/styles";
@@ -47,7 +47,7 @@ const AttrValueTableCell = styled(TableCell)(() => ({
4747
export const EntryAttributes: FC<Props> = ({ attributes }) => {
4848
return (
4949
<TableContainer component={Paper}>
50-
<Table>
50+
<Table id="table_attr_list">
5151
<TableHead sx={{ backgroundColor: "primary.dark" }}>
5252
<TableRow>
5353
<HeaderTableCell>項目</HeaderTableCell>

frontend/src/pages/__snapshots__/EntryDetailsPage.test.tsx.snap

+2
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ exports[`should match snapshot 1`] = `
393393
>
394394
<table
395395
class="MuiTable-root css-rqglhn-MuiTable-root"
396+
id="table_attr_list"
396397
>
397398
<thead
398399
class="MuiTableHead-root css-15n4dzy-MuiTableHead-root"
@@ -821,6 +822,7 @@ exports[`should match snapshot 1`] = `
821822
>
822823
<table
823824
class="MuiTable-root css-rqglhn-MuiTable-root"
825+
id="table_attr_list"
824826
>
825827
<thead
826828
class="MuiTableHead-root css-15n4dzy-MuiTableHead-root"

0 commit comments

Comments
 (0)