Skip to content

Commit

Permalink
Merge pull request #1063 from hinashi/feature/ui_test/entry_details
Browse files Browse the repository at this point in the history
Added html id for uitest
  • Loading branch information
userlocalhost authored Jan 29, 2024
2 parents f8e6e70 + 0a24d38 commit c01e319
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/entry/EntryAttributes.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { EntryAttributeType } from "@dmm-com/airone-apiclient-typescript-fetch";
import {
Paper,
Table,
TableContainer,
TableHead,
TableBody,
TableCell,
TableContainer,
TableHead,
TableRow,
Paper,
Typography,
} from "@mui/material";
import { styled } from "@mui/material/styles";
Expand Down Expand Up @@ -47,7 +47,7 @@ const AttrValueTableCell = styled(TableCell)(() => ({
export const EntryAttributes: FC<Props> = ({ attributes }) => {
return (
<TableContainer component={Paper}>
<Table>
<Table id="table_attr_list">
<TableHead sx={{ backgroundColor: "primary.dark" }}>
<TableRow>
<HeaderTableCell>項目</HeaderTableCell>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ exports[`should match snapshot 1`] = `
>
<table
class="MuiTable-root css-rqglhn-MuiTable-root"
id="table_attr_list"
>
<thead
class="MuiTableHead-root css-15n4dzy-MuiTableHead-root"
Expand Down Expand Up @@ -821,6 +822,7 @@ exports[`should match snapshot 1`] = `
>
<table
class="MuiTable-root css-rqglhn-MuiTable-root"
id="table_attr_list"
>
<thead
class="MuiTableHead-root css-15n4dzy-MuiTableHead-root"
Expand Down

0 comments on commit c01e319

Please sign in to comment.