Skip to content

Commit df9e4ab

Browse files
committed
increased timeout
1 parent 1f9c713 commit df9e4ab

13 files changed

Lines changed: 22 additions & 22 deletions

File tree

src/visualBuilder/__test__/hover/fields/file.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { screen, waitFor} from "@testing-library/preact";
1+
import { screen, waitFor } from "@testing-library/preact";
22
import { getFieldSchemaMap } from "../../../../__test__/data/fieldSchemaMap";
33
import { waitForHoverOutline } from "../../../../__test__/utils";
44
import Config from "../../../../configManager/configManager";
@@ -239,7 +239,7 @@ describe("When an element is hovered in visual builder mode", () => {
239239
);
240240
expect(customCursor?.getAttribute("data-icon")).toBe("file");
241241
expect(customCursor?.classList.contains("visible")).toBeTruthy();
242-
});
242+
}, 60000);
243243

244244
test("should have outline and custom cursor on individual instances", async () => {
245245
firstFileField.dispatchEvent(mousemoveEvent);
@@ -270,6 +270,6 @@ describe("When an element is hovered in visual builder mode", () => {
270270
`[data-testid="visual-builder__cursor"]`
271271
);
272272
expect(customCursor?.classList.contains("visible")).toBeTruthy();
273-
});
273+
}, 60000);
274274
});
275275
});

src/visualBuilder/__test__/hover/fields/group.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ describe("When an element is hovered in visual builder mode", () => {
225225

226226
expect(customCursor).toHaveAttribute("data-icon", "group");
227227
expect(customCursor?.classList.contains("visible")).toBeTruthy();
228-
});
228+
}, 60000);
229229

230230
test("should have outline and custom cursor on nested multi line", async () => {
231231
firstNestedMultiLine.dispatchEvent(mousemoveEvent);

src/visualBuilder/__test__/hover/fields/html-rte.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,6 @@ describe("When an element is hovered in visual builder mode", () => {
187187

188188
expect(customCursor).toHaveAttribute("data-icon", "html_rte");
189189
expect(customCursor?.classList.contains("visible")).toBeTruthy();
190-
});
190+
}, 60000);
191191
});
192192
});

src/visualBuilder/__test__/hover/fields/json-rte.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,6 @@ describe("When an element is hovered in visual builder mode", () => {
187187

188188
expect(customCursor).toHaveAttribute("data-icon", "json_rte");
189189
expect(customCursor?.classList.contains("visible")).toBeTruthy();
190-
});
190+
}, 60000);
191191
});
192192
});

src/visualBuilder/__test__/hover/fields/link.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,6 @@ describe("When an element is hovered in visual builder mode", () => {
184184

185185
expect(customCursor).toHaveAttribute("data-icon", "link");
186186
expect(customCursor?.classList.contains("visible")).toBeTruthy();
187-
});
187+
}, 60000);
188188
});
189189
});

src/visualBuilder/__test__/hover/fields/markdown.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,6 @@ describe("When an element is hovered in visual builder mode", () => {
188188

189189
expect(customCursor).toHaveAttribute("data-icon", "markdown_rte");
190190
expect(customCursor?.classList.contains("visible")).toBeTruthy();
191-
});
191+
}, 60000);
192192
});
193193
});

src/visualBuilder/__test__/hover/fields/multi-line.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,6 @@ describe("When an element is hovered in visual builder mode", () => {
186186

187187
expect(customCursor).toHaveAttribute("data-icon", "multiline");
188188
expect(customCursor?.classList.contains("visible")).toBeTruthy();
189-
});
189+
}, 60000);
190190
});
191191
});

src/visualBuilder/__test__/hover/fields/number.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,6 @@ describe("When an element is hovered in visual builder mode", () => {
184184

185185
expect(customCursor).toHaveAttribute("data-icon", "number");
186186
expect(customCursor?.classList.contains("visible")).toBeTruthy();
187-
});
187+
}, 60000);
188188
});
189189
});

src/visualBuilder/__test__/hover/fields/reference.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,6 @@ describe("When an element is hovered in visual builder mode", () => {
187187

188188
expect(customCursor).toHaveAttribute("data-icon", "reference");
189189
expect(customCursor?.classList.contains("visible")).toBeTruthy();
190-
});
190+
}, 60000);
191191
});
192192
});

src/visualBuilder/__test__/hover/fields/select.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,6 @@ describe("When an element is hovered in visual builder mode", () => {
199199

200200
expect(customCursor).toHaveAttribute("data-icon", "select");
201201
expect(customCursor?.classList.contains("visible")).toBeTruthy();
202-
});
202+
}, 60000);
203203
});
204204
});

0 commit comments

Comments
 (0)