Created Testing Templates (markdown)
parent
ec6c1018fb
commit
078c90655f
1 changed files with 10 additions and 0 deletions
10
Testing-Templates.md
Normal file
10
Testing-Templates.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
Helper method in DjangoContext:
|
||||
- DjangoContext.template(...)
|
||||
|
||||
Assetions:
|
||||
- to_contain([CSS selector])
|
||||
|
||||
Template object:
|
||||
- load(...) -> String
|
||||
- select_element(...) -> Selector
|
||||
- get_text([CSS selector]) -> String
|
Reference in a new issue