@@ -13,10 +13,11 @@ import Meta, {
13
13
DataBrokerActionNeeded ,
14
14
DataBrokerInProgress ,
15
15
DataBrokerManualRemoved ,
16
- DataBrokerRemovalUnderMaintenance ,
17
- DataBrokerRemovalUnderMaintenanceFixed ,
18
16
DataBrokerRemoved ,
19
17
DataBrokerRequestedRemoval ,
18
+ // TODO: MNTOR-3880 Waiting for criteria for data brokers under maintenace to be determined
19
+ // DataBrokerRemovalUnderMaintenance,
20
+ // DataBrokerRemovalUnderMaintenanceFixed,
20
21
} from "./ExposureCard.stories" ;
21
22
22
23
jest . mock ( "../../../hooks/useTelemetry" ) ;
@@ -75,35 +76,39 @@ describe("ScanResultCard", () => {
75
76
expect ( innerDescription ) . toBeInTheDocument ( ) ;
76
77
} ) ;
77
78
79
+ // TODO: MNTOR-3880 Waiting for criteria for data brokers under maintenace to be determined
78
80
// Data broker removal under maintenance
79
- it ( "shows the right description for a scan result card with removal under maintenance status" , ( ) => {
80
- const ComposedProgressCard = composeStory (
81
- DataBrokerRemovalUnderMaintenance ,
82
- Meta ,
83
- ) ;
84
- render ( < ComposedProgressCard /> ) ;
85
- const innerDescription = screen . getByText (
86
- "We’ve asked this data broker to remove your profile but they haven’t done it." ,
87
- { exact : false } ,
88
- ) ;
89
-
90
- expect ( innerDescription ) . toBeInTheDocument ( ) ;
91
- } ) ;
92
-
81
+ // eslint-disable-next-line jest/no-commented-out-tests
82
+ // it("shows the right description for a scan result card with removal under maintenance status", () => {
83
+ // const ComposedProgressCard = composeStory(
84
+ // DataBrokerRemovalUnderMaintenance,
85
+ // Meta,
86
+ // );
87
+ // render(<ComposedProgressCard />);
88
+ // const innerDescription = screen.getByText(
89
+ // "We’ve asked this data broker to remove your profile but they haven’t done it.",
90
+ // { exact: false },
91
+ // );
92
+
93
+ // expect(innerDescription).toBeInTheDocument();
94
+ // });
95
+
96
+ // TODO: MNTOR-3880 Waiting for criteria for data brokers under maintenace to be determined
93
97
// Data broker removal under maintenance resolved
94
- it ( "shows the right description for a scan result card with removal under maintenance status that's been resolved" , ( ) => {
95
- const ComposedProgressCard = composeStory (
96
- DataBrokerRemovalUnderMaintenanceFixed ,
97
- Meta ,
98
- ) ;
99
- render ( < ComposedProgressCard /> ) ;
100
- const innerDescription = screen . getByText (
101
- "You could be added back in the future, so Monitor will continue to scan data broker sites for new exposures." ,
102
- { exact : false } ,
103
- ) ;
104
-
105
- expect ( innerDescription ) . toBeInTheDocument ( ) ;
106
- } ) ;
98
+ // eslint-disable-next-line jest/no-commented-out-tests
99
+ // it("shows the right description for a scan result card with removal under maintenance status that's been resolved", () => {
100
+ // const ComposedProgressCard = composeStory(
101
+ // DataBrokerRemovalUnderMaintenanceFixed,
102
+ // Meta,
103
+ // );
104
+ // render(<ComposedProgressCard />);
105
+ // const innerDescription = screen.getByText(
106
+ // "You could be added back in the future, so Monitor will continue to scan data broker sites for new exposures.",
107
+ // { exact: false },
108
+ // );
109
+
110
+ // expect(innerDescription).toBeInTheDocument();
111
+ // });
107
112
108
113
// Data broker removal in progress
109
114
it ( "shows the right description for a scan result card where removal is in progress" , ( ) => {
@@ -117,20 +122,22 @@ describe("ScanResultCard", () => {
117
122
expect ( innerDescription ) . toBeInTheDocument ( ) ;
118
123
} ) ;
119
124
125
+ // TODO: MNTOR-3880 Waiting for criteria for data brokers under maintenace to be determined
120
126
// Data broker removal under maintenance
121
- it ( "shows the right description for a scan result card where removal is under maintenance" , ( ) => {
122
- const ComposedProgressCard = composeStory (
123
- DataBrokerRemovalUnderMaintenance ,
124
- Meta ,
125
- ) ;
126
- render ( < ComposedProgressCard /> ) ;
127
- const innerDescription = screen . getByText (
128
- "We’ve asked this data broker to remove your profile but they haven’t done it." ,
129
- { exact : false } ,
130
- ) ;
131
-
132
- expect ( innerDescription ) . toBeInTheDocument ( ) ;
133
- } ) ;
127
+ // eslint-disable-next-line jest/no-commented-out-tests
128
+ // it("shows the right description for a scan result card where removal is under maintenance", () => {
129
+ // const ComposedProgressCard = composeStory(
130
+ // DataBrokerRemovalUnderMaintenance,
131
+ // Meta,
132
+ // );
133
+ // render(<ComposedProgressCard />);
134
+ // const innerDescription = screen.getByText(
135
+ // "We’ve asked this data broker to remove your profile but they haven’t done it.",
136
+ // { exact: false },
137
+ // );
138
+
139
+ // expect(innerDescription).toBeInTheDocument();
140
+ // });
134
141
135
142
it ( "shows an additional note for “requested removal” status label" , ( ) => {
136
143
const ComposedProgressCard = composeStory ( DataBrokerRequestedRemoval , Meta ) ;
0 commit comments