bigtorrent: fix TEST mode for #1219

and also return a login error message
This commit is contained in:
Garfield69 2019-02-28 10:05:20 +13:00
parent 18f48cb04b
commit ee8fc6a78f
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@
sent: "yes"
returnto: "/"
error:
- selector: table:contains("Login failed!")
- selector: div.error
test:
path: index.php
@ -61,7 +61,7 @@
- path: browse.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
search: "{{ .Query.Keywords }}"
search: "{{if .Keywords}}{{ .Keywords }}{{else}} {{end}}"
rows:
selector: table#torrent_table > tbody > tr:has(a[href^="browse.php?cat="])
fields: