Some Kanban tests are flaky #1073

Open
opened 1 week ago by dpschen · 8 comments
dpschen commented 1 week ago
Collaborator

I see these tests fail from time to time and have to restart the CI to make them pass.

I see these tests fail from time to time and have to restart the CI to make them pass.
dpschen added the
kind/bug
label 1 week ago
Owner

That's kind of a known issue with cypress. I think there's a workaround command in there somewhere.

That's kind of a known issue with cypress. I think there's a workaround command in there somewhere.
Poster
Collaborator

You mean the getSettled command?

You mean the `getSettled` command?
Owner

No I mean the This element is detached from the dom issue

No I mean the `This element is detached from the dom` issue
Poster
Collaborator

Ahh and what do you mean then by: [...] in there somewhere

Ahh and what do you mean then by: <cite>[...] in there somewhere</cite>
Owner

I think there's a command or some other workaround in the cypress commands (on my phone right now, can't really search)

I've ranted on twitter about this before and got a few suggestions out of it: https://twitter.com/kolaente/status/1399254966343176192

Maybe those are worth a re-visit.

https://kolaente.dev/vikunja/frontend/src/branch/main/cypress/support/commands.js#L10

I think there's a command or some other workaround in the cypress commands (on my phone right now, can't really search) I've ranted on twitter about this before and got a few suggestions out of it: https://twitter.com/kolaente/status/1399254966343176192 Maybe those are worth a re-visit. https://kolaente.dev/vikunja/frontend/src/branch/main/cypress/support/commands.js#L10
Poster
Collaborator

I also saw that the new create-vue comes with cypress support built in. Maybe there's something we can learn.. Will check that.

I also saw that the new [create-vue](https://github.com/vuejs/create-vue) comes with cypress support built in. Maybe there's something we can learn.. Will check that.
Poster
Collaborator

I think I could make these flaky tests working via getSettled in #816

That solves the issue for me. Tests need to work and not to be perfect =)

I think I could make these flaky tests working via `getSettled` in https://kolaente.dev/vikunja/frontend/pulls/816 That solves the issue for me. Tests need to work and not to be perfect =)
Owner

Tests need to work and not to be perfect =)

Oh definitely :)

> Tests need to work and not to be perfect =) Oh definitely :)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.