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

.type() hangs when invoking with a number instead of text #10

Open
icoloma opened this issue Sep 27, 2013 · 1 comment
Open

.type() hangs when invoking with a number instead of text #10

icoloma opened this issue Sep 27, 2013 · 1 comment
Assignees
Labels

Comments

@icoloma
Copy link

icoloma commented Sep 27, 2013

Triggered by my own mistake while testing a numeric field:

.type('[name="my_number_field"]', 1)

Will hang dalek and the test will not end. Notice the missing quotes on the number.

Tested with Dalek cli 0.0.2 and local 0.0.6 on Linux.

@asciidisco
Copy link
Member

Okay. Numbers do not seem to be allowed by the spec.
Nevertheless, I will add an auto converter to dalek, that converts all numbers to strings.

@ghost ghost assigned asciidisco Oct 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants