Skip to content
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

Snapshot(s) on demand #19

Open
oliyh opened this issue Jun 9, 2020 · 0 comments
Open

Snapshot(s) on demand #19

oliyh opened this issue Jun 9, 2020 · 0 comments

Comments

@oliyh
Copy link
Owner

oliyh commented Jun 9, 2020

Would be nice to be able to write something like :kamera/snapshot to the js console and have kamera take the snapshot and do the assertion.

Would need to know in advance that this was a devcard with that behaviour, and also how many snapshots to expect, e.g.

{:capture-on :console ;; new option - other values could be timeout, or dom selector
 :capture-count 3 ;; expect 3 captures, number them in order when looking for comparison file
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant