Skip to content

Commit 5363c23

Browse files
committed
User reporting: test script update
1 parent 5fe22cf commit 5363c23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/src/components/DatasetInformation/DatasetError.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ describe("DatasetError", () => {
102102
});
103103

104104
it("hides form fields and button on success", async () => {
105-
const wrapper = await montDatasetError();
105+
const wrapper = await montDatasetError(false, false, "test_email");
106106

107107
server.use(
108108
http.post("/api/jobs/{job_id}/error", ({ response }) => {
@@ -112,10 +112,10 @@ describe("DatasetError", () => {
112112
})
113113
);
114114

115-
const FormAndSubmitButton = "#dataset-error-form";
115+
const FormAndSubmitButton = "#data-error-form";
116116
expect(wrapper.find(FormAndSubmitButton).exists()).toBe(true);
117117

118-
const submitButton = "#dataset-error-submit";
118+
const submitButton = "#data-error-submit";
119119
expect(wrapper.find(submitButton).exists()).toBe(true);
120120

121121
await wrapper.find(submitButton).trigger("click");

0 commit comments

Comments
 (0)