Skip to content

Commit

Permalink
[test]: remove useless code and update snap
Browse files Browse the repository at this point in the history
  • Loading branch information
sunjinkang committed Jan 12, 2024
1 parent ad7b056 commit f8246cb
Show file tree
Hide file tree
Showing 21 changed files with 112 additions and 122 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`page/DataSource/AddDataSource render add database snap 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -961,7 +961,7 @@ exports[`page/DataSource/AddDataSource render submit when add database api succe
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -2212,7 +2212,7 @@ exports[`page/DataSource/AddDataSource render submit when add database api succe
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -2720,7 +2720,7 @@ exports[`page/DataSource/AddDataSource render submit when add database api succe
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -3228,7 +3228,7 @@ exports[`page/DataSource/AddDataSource render submit when add database api succe
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`page/DataSource/DataSourceList render list no permission 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -408,7 +408,7 @@ exports[`page/DataSource/DataSourceList render list snap 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -812,7 +812,7 @@ exports[`page/DataSource/DataSourceList render table filter option val 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -1675,7 +1675,7 @@ exports[`page/DataSource/DataSourceList render table for action btn render table
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -2380,7 +2380,7 @@ exports[`page/DataSource/DataSourceList render table for action btn render table
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -3085,7 +3085,7 @@ exports[`page/DataSource/DataSourceList render table for api has data 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -3827,7 +3827,7 @@ exports[`page/DataSource/DataSourceList render table for api has data 2`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -4594,7 +4594,7 @@ exports[`page/DataSource/DataSourceList render table for api return no data 1`]
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -4973,7 +4973,7 @@ exports[`page/DataSource/DataSourceList render table for api return no data 2`]
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -5352,7 +5352,7 @@ exports[`page/DataSource/DataSourceList render table for column val 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`page/DataSource/UpdateDataSource render edit data when has all value 1`
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -1112,7 +1112,7 @@ exports[`page/DataSource/UpdateDataSource render edit data when has all value 2`
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -2241,7 +2241,7 @@ exports[`page/DataSource/UpdateDataSource render edit database snap 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -3235,7 +3235,7 @@ exports[`page/DataSource/UpdateDataSource render get default val error 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -3381,7 +3381,7 @@ exports[`page/DataSource/UpdateDataSource render get default val error 2`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -3550,7 +3550,7 @@ exports[`page/DataSource/UpdateDataSource render prepare api 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`page/SyncDataSource/AddPage render add submit for success 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -495,7 +495,7 @@ exports[`page/SyncDataSource/AddPage render add sync task snap 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -1942,7 +1942,7 @@ exports[`page/SyncDataSource/AddPage render form item for prepare api 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`page/SyncDataSource/SyncTaskList render list action when no permission
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -448,7 +448,7 @@ exports[`page/SyncDataSource/SyncTaskList render list column data for table 1`]
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -934,7 +934,7 @@ exports[`page/SyncDataSource/SyncTaskList render list snap 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -1239,7 +1239,7 @@ exports[`page/SyncDataSource/SyncTaskList render list snap 2`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -1737,7 +1737,7 @@ exports[`page/SyncDataSource/SyncTaskList render list snap when no projectID 1`]
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -2018,7 +2018,7 @@ exports[`page/SyncDataSource/SyncTaskList render list snap when no projectID 2`]
<body>
<div>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`page/SyncDataSource/UpdateSyncTask render click reset btn 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -1478,7 +1478,7 @@ exports[`page/SyncDataSource/UpdateSyncTask render click reset btn 2`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -2954,7 +2954,7 @@ exports[`page/SyncDataSource/UpdateSyncTask render edit database snap 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -4425,7 +4425,7 @@ exports[`page/SyncDataSource/UpdateSyncTask render taskId is null 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -4595,7 +4595,7 @@ exports[`page/SyncDataSource/UpdateSyncTask render taskId is null 2`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-14fwawz"
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
>
<div
class="title"
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/lib/testUtil/mockAntDesignPlots.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const MockPlots = (props) => {
othersParams[key] = JSON.stringify(othersParams[key]);
}
});

return <div {...othersParams} />;
};

Expand Down Expand Up @@ -53,5 +54,5 @@ export default {
RadialBar,
Gauge,
Column,
G2,
G2
};
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`sqle/OperationRecord/List render action when filter item show 1`] = `
<div>
<article>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -798,7 +798,7 @@ exports[`sqle/OperationRecord/List render operation record table when request re
<div>
<article>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down Expand Up @@ -1401,7 +1401,7 @@ exports[`sqle/OperationRecord/List render table when request return error 1`] =
<div>
<article>
<div
class="actiontech-page-header-namespace css-14fwawz"
class="actiontech-page-header-namespace css-1xspr0w"
>
<div
class="title"
Expand Down
Loading

0 comments on commit f8246cb

Please sign in to comment.