-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More robust sync for unusual check-in states #712
Conversation
9aaadee
to
dff3fae
Compare
step( | ||
"should not be able to check in with a ticket that has already been used to check in", | ||
async function () { | ||
// TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test exists further up the file, so this can be removed.
dff3fae
to
318948d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good find, thank you
return true; | ||
} | ||
} | ||
else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think you've run the autoformatter on this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prettier
seems to be broken for me in VSCode. I'll see if I can figure out what's wrong with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sometimes it's necessary to restart vscode to fix that. super annoying. #718
@@ -635,6 +642,87 @@ describe("devconnect functionality", function () { | |||
); | |||
}); | |||
|
|||
/** | |||
* This covers the case where we have a ticket marked as consumed, but | |||
* the check-in is cancelled in Pretix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'check-in is cancelled' is kind of confusing terminology - do you mean that it is 'effectively cancelled out by a check-in exit entry' or that a 'check-in entry was cancelled' or that a 'check-in entry was deleted altogether'?
318948d
to
a9825e5
Compare
a9825e5
to
12f0200
Compare
Fixes #694
Fixes #693