I'm attempting to write a Selenium test for my django app that performs a 
custom action in the admin page. If the action is successful, the i use the 
message_user function to send a success message back to the user, e.g. 
"Action successful!". It appears that this message doesn't appear in the 
raw html when the new page is loaded, and as such I can't perform an assert 
that the message is appearing and the action was successful.

I know I could do this using the context/etc. using the built in django 
client, but is it possible to do it using an external web driver like 
Selenium?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a1d36959-b269-4a78-9051-684d7b551415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to