Skip to content

Commit bdebca2

Browse files
authored
fix: update images via GUI in Cypress 11 (#193)
references #187
1 parent df87da6 commit bdebca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/support.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ after(() => {
109109
{ log: false }
110110
).then((wasImageNotUpdatedYet) => {
111111
if (!top) return false;
112-
queueClear();
113112

114113
Cypress.$(
115114
generateOverlayTemplate({
@@ -128,6 +127,7 @@ after(() => {
128127
});
129128

130129
wrapper.on("submit", "form", function (e) {
130+
queueClear();
131131
e.preventDefault();
132132

133133
cy.task(TASK.approveImage, { img: imgPath }).then(() =>

0 commit comments

Comments
 (0)