Add the acceptance for get_page_source
Bug #1108153 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
selenium-simple-test |
Confirmed
|
High
|
Unassigned |
Bug Description
We don't have an acceptance test for get_page_source.
This test is not easy. If we are getting the source with different browsers they will have a different order of the HTML attributes.
As a first approach, we can open the saved source and assert some things, like the title.
To make a full comparison, we can use django assertHTMLEquals utilities.
Changed in selenium-simple-test: | |
status: | Triaged → Confirmed |
importance: | Undecided → High |
To post a comment you must log in.