Commit Graph

142 Commits

Author SHA1 Message Date
Christophe Matthieu ed45f41f9b [FIX] website tour test + add test for shop
bzr revid: chm@openerp.com-20140130224453-e0drwj4m54vymahz
2014-01-30 23:44:53 +01:00
Christophe Matthieu 5e10f80cd4 [fix] website: test tour
bzr revid: chm@openerp.com-20140130215717-h211wj65wl20zfru
2014-01-30 22:57:17 +01:00
Christophe Matthieu 110f3dd910 [IMP] website tour: refactoring: Check dom insead of trigger
bzr revid: chm@openerp.com-20140130210001-kiecx5nde2um3ni1
2014-01-30 22:00:01 +01:00
Denis Ledoux 18532330d4 [FIX] *: replace urllib calls by werkzeug calls, as werkzeug handles utf-8 encoding while urllib doesnt
bzr revid: dle@openerp.com-20140130112408-8pdju26jnkyxvlw2
2014-01-30 12:24:08 +01:00
Denis Ledoux 0306adbfe3 [FIX] *: using werkzeug.url_encode instead of urllib.urlencode because urliblib.encode does not accept unicode
bzr revid: dle@openerp.com-20140129121316-b5f5e4r6fz9l80kq
2014-01-29 13:13:16 +01:00
Christophe Matthieu 4e68fff52e [FIX] website_sale: demo data, test, delivery, context pricelist
bzr revid: chm@openerp.com-20140123104705-679zt0odq0pseu7p
2014-01-23 11:47:05 +01:00
Christophe Matthieu ffba2091e7 [IMP] website: ui_test_runer: display report before 'wait for' message
bzr revid: chm@openerp.com-20140123081721-gi9y1y5mfneaufy6
2014-01-23 09:17:21 +01:00
Fabien Meghazi 92f06e7eab [MERGE] server side login
bzr revid: fme@openerp.com-20140122133757-hougjgwesg9n9s1p
2014-01-22 14:37:57 +01:00
Christophe Matthieu 8256bdfe44 [IMP] website: add a log report in tour test
bzr revid: chm@openerp.com-20140122112041-id595hkptgzoym6w
2014-01-22 12:20:41 +01:00
Fabien Meghazi df63fcba81 [MERGE] upstream
bzr revid: fme@openerp.com-20140122102232-77lvvwpzet58sa7p
2014-01-22 11:22:32 +01:00
Christophe Matthieu e6c54ca924 [REV] website: ui_test_runner log
bzr revid: chm@openerp.com-20140122100403-6w2pek1cbmhhra0j
2014-01-22 11:04:03 +01:00
Christophe Matthieu 35b7cd5d51 [WIP] website_sale: test tour debug
bzr revid: chm@openerp.com-20140122081321-8mtcqnd5yyx6c2nj
2014-01-22 09:13:21 +01:00
Christophe Matthieu 53d8280f1d [IMP] website: test class with test for website_sale sale process
bzr revid: chm@openerp.com-20140120182643-tw65rig4qqi3sqqf
2014-01-20 19:26:43 +01:00
Fabien Meghazi 96c79572f8 [FIX] test ui should use /login route for auto login
bzr revid: fme@openerp.com-20140115161318-v8ksw0u0u1mpgn0x
2014-01-15 17:13:18 +01:00
Fabien Meghazi 3755e320a0 [MERGE] upstream
bzr revid: fme@openerp.com-20140115160017-tg0zqbogexo0ybhz
2014-01-15 17:00:17 +01:00
Fabien Meghazi 876760bec4 [IMP] Ignore phantomjs Warnings for ui tests
bzr revid: fme@openerp.com-20140115153235-hicqe8foynkc14yj
2014-01-15 16:32:35 +01:00
Fabien Meghazi 1f916750eb [FIX] test_request: process cookies on redirections
bzr revid: fme@openerp.com-20140115140958-9hm8thtlcnyflazz
2014-01-15 15:09:58 +01:00
Xavier Morel 3f8c2d0bad [FIX] conversion from html to values for text field
see html_to_text comment

bzr revid: xmo@openerp.com-20140110152024-yp2out0jg1gx1uhs
2014-01-10 16:20:24 +01:00
ddm@openerp.com 24e1e2cb6c [IMP] use MBA resolution
bzr revid: ddm@openerp.com-20140110143833-d3j1n5tt0jnd25i9
2014-01-10 15:38:33 +01:00
ddm@openerp.com ed96693541 [IMP] UI tests: more retries
bzr revid: ddm@openerp.com-20140109174714-489xtghuhzk90g4l
2014-01-09 18:47:14 +01:00
ddm@openerp.com b657843403 [IMP] UI tests: delay retry
bzr revid: ddm@openerp.com-20140109171225-bl495hi6otl84ura
2014-01-09 18:12:25 +01:00
ddm@openerp.com 492af3afbf [IMP] attempt to fix intermittent UI test errors
bzr revid: ddm@openerp.com-20140109104234-x1on4xm0hkdym2l8
2014-01-09 11:42:34 +01:00
ddm@openerp.com 7d7cada5d6 Rename
bzr revid: ddm@openerp.com-20140108101857-2tr49ax6qataoiw8
2014-01-08 11:18:57 +01:00
ddm@openerp.com a56ab27bfb Remove useless comments
bzr revid: ddm@openerp.com-20140108100333-ji1dff867e7rqjaj
2014-01-08 11:03:33 +01:00
ddm@openerp.com 56e5fc3c05 [FIX] UI blog tests
bzr revid: ddm@openerp.com-20140107171841-ysj0qzb9g3hqbvad
2014-01-07 18:18:41 +01:00
ddm@openerp.com 2c46694462 [FIX] phantom 1.9.2 OS X 10.9 bug
bzr revid: ddm@openerp.com-20140107114740-7d2444m2fma44v69
2014-01-07 12:47:40 +01:00
ddm@openerp.com b4b52bbcac [FIX] UI tests imps & fixes
bzr revid: ddm@openerp.com-20140106153906-tvibq7wjrgflatd6
2014-01-06 16:39:06 +01:00
ddm 0e430008bd [IMP] Added blog UI test
bzr revid: ddm@openerp.com-20140102151115-16mlisduee7zav6g
2014-01-02 16:11:15 +01:00
ddm c71318e342 [FIX] UI test runner snafu
bzr revid: ddm@openerp.com-20140102103629-r6sjvevgsihricte
2014-01-02 11:36:29 +01:00
ddm 8baadbd7b1 [IMP] code cleanup + comments
bzr revid: ddm@openerp.com-20131231142824-rxyge2oupzaym6mh
2013-12-31 15:28:24 +01:00
ddm 7b5f713c93 [FIX] Fixed popovers in banner tour
bzr revid: ddm@openerp.com-20131231101338-91q7yt5d62joldwd
2013-12-31 11:13:38 +01:00
ddm cc197bd895 [IMP] Code cleanup
bzr revid: ddm@openerp.com-20131230172759-c1f8mmangnwtmuny
2013-12-30 18:27:59 +01:00
ddm 1bfa357e2c [FIX] Broken test runner
bzr revid: ddm@openerp.com-20131230163032-dbzgro9noo2nbtjc
2013-12-30 17:30:32 +01:00
ddm 1813715892 [FIX] Extra long delay for runbot
bzr revid: ddm@openerp.com-20131230161333-e3ibc6b2v33dx31z
2013-12-30 17:13:33 +01:00
ddm 5b55fa570d [FIX] Larger timeout for UI tests
bzr revid: ddm@openerp.com-20131230144702-2ydq0wfc1it4b43t
2013-12-30 15:47:02 +01:00
ddm 97e0e97c7a [IMP] Cleanup + timeout
bzr revid: ddm@openerp.com-20131230142601-w9zamknj7h4qw9zh
2013-12-30 15:26:01 +01:00
ddm cd45e69769 [IMP] Remove unused data
bzr revid: ddm@openerp.com-20131230142250-315i86pzudhfar8s
2013-12-30 15:22:50 +01:00
ddm 0135ea6f86 [FIX] Better OE url for UI tests
bzr revid: ddm@openerp.com-20131230134659-2ky4zyw0q2i96g6y
2013-12-30 14:46:59 +01:00
ddm b3cf02d123 [FIX] More test params
bzr revid: ddm@openerp.com-20131230131322-5atbn0wyfjlctgyw
2013-12-30 14:13:22 +01:00
ddm 12b5b73312 [DEBUG] More debug info for UI tests
bzr revid: ddm@openerp.com-20131230123229-jf4vfkha16l4poct
2013-12-30 13:32:29 +01:00
ddm fdb6af8805 [FIX] Disable DB selection in UI tests
bzr revid: ddm@openerp.com-20131230110620-18xf9x5dkfr4h362
2013-12-30 12:06:20 +01:00
ddm b1de39faf0 [DEBUG] UI tests debug info on runbot
bzr revid: ddm@openerp.com-20131230102754-9411hh64xy6ojoz2
2013-12-30 11:27:54 +01:00
ddm 315da9c809 [FIX] Trying long timeout for runbot
bzr revid: ddm@openerp.com-20131227165824-ae2tvwczt5pwq6we
2013-12-27 17:58:24 +01:00
ddm 09878aa45a Revert
bzr revid: ddm@openerp.com-20131227161040-wy2s7ydcvt0jxhdb
2013-12-27 17:10:40 +01:00
ddm 6e54f0a834 Temporary test
bzr revid: ddm@openerp.com-20131227142933-174si3fpu9jm4cld
2013-12-27 15:29:33 +01:00
ddm d02f8b2d3a bzr revid: ddm@openerp.com-20131227140744-y9pgrkt6qina3sez 2013-12-27 15:07:44 +01:00
ddm 8ea56d266e [IMP] UI tests code cleanup
bzr revid: ddm@openerp.com-20131227135330-z3815qyz4cjaf8zj
2013-12-27 14:53:30 +01:00
ddm e6a0d7bed2 [FIX] Yet another attempt to figure out UI tests on runbot
bzr revid: ddm@openerp.com-20131227134436-mx8a7vid4m70sqtp
2013-12-27 14:44:36 +01:00
ddm 7cf5089cce [FIX] Broke commit
bzr revid: ddm@openerp.com-20131227123502-ysoogk0nwit4c7xv
2013-12-27 13:35:02 +01:00
ddm d3ec7c10dc [IMP] UI test debug info
bzr revid: ddm@openerp.com-20131227122426-debzjgmuc0ge72tq
2013-12-27 13:24:26 +01:00
ddm 3344f5792d [FIX] UI tests timeout extension
bzr revid: ddm@openerp.com-20131227112824-82t16ygv33wt7hfw
2013-12-27 12:28:24 +01:00
ddm 23958c233b [FIX] UI tests config for runbot
bzr revid: ddm@openerp.com-20131227112554-4q839w4xrrnmth0e
2013-12-27 12:25:54 +01:00
ddm 02e944cb8a [FIX] UI tests should not fail on runbot
bzr revid: ddm@openerp.com-20131227100939-dadzuyexl0anrese
2013-12-27 11:09:39 +01:00
ddm eb9aa9ca3b [IMP] Code cleanup
bzr revid: ddm@openerp.com-20131224084326-j2mbcq90pc5hvezi
2013-12-24 09:43:26 +01:00
ddm 7c695446b8 bzr revid: ddm@openerp.com-20131223165708-3fz1mk6s9bmlvxka 2013-12-23 17:57:08 +01:00
ddm 2648d55033 [IMP] Refactor UI test code for reusability
bzr revid: ddm@openerp.com-20131223165113-kx4aalzs6las1m2z
2013-12-23 17:51:13 +01:00
ddm cbfadb48a0 [IMP] UI tests code cleanup (python)
bzr revid: ddm@openerp.com-20131223162234-2cicx8ffnjrp24s4
2013-12-23 17:22:34 +01:00
ddm 71a5a4a9f4 [IMP] UI tests: removed useless break
bzr revid: ddm@openerp.com-20131223161032-ipncw5lfxmdrjz9x
2013-12-23 17:10:32 +01:00
ddm ddb551cbd6 [FIX] Banner tour test
bzr revid: ddm@openerp.com-20131223154653-44ws3k6o6u4tegjn
2013-12-23 16:46:53 +01:00
ddm 39c5b09e6e [IMP] Banner tour automated test
bzr revid: ddm@openerp.com-20131223152503-saqpy0d8vgvg9p20
2013-12-23 16:25:03 +01:00
ddm 65f48d0ce7 [IMP] PhantomJS UI test code
bzr revid: ddm@openerp.com-20131223145436-nqrwtsg5avqml7qw
2013-12-23 15:54:36 +01:00
ddm faae14704d [IMP] PhantomJS UI error reporting
bzr revid: ddm@openerp.com-20131223144603-xxuml794a91nt2sc
2013-12-23 15:46:03 +01:00
ddm dbe5c06d95 [IMP] PhantomJS UI tests code cleanup
bzr revid: ddm@openerp.com-20131223144100-h8eui7szdj40e2mo
2013-12-23 15:41:00 +01:00
ddm fbea33821b [IMP] PhantomJS test with authentication
bzr revid: ddm@openerp.com-20131223143547-sgx2shqf9vg52e9j
2013-12-23 15:35:47 +01:00
ddm 8fd5fb82a7 [IMP] Added simple DOM UI test as example
bzr revid: ddm@openerp.com-20131223135425-9hxb4nmvdr0rrb3t
2013-12-23 14:54:25 +01:00
ddm 4a7143d329 [IMP] Sleep a little between reads
bzr revid: ddm@openerp.com-20131223102826-u3z9i9ohy7s1d8nb
2013-12-23 11:28:26 +01:00
ddm 063ebff8f5 [IMP] Code style + doc
bzr revid: ddm@openerp.com-20131223101701-1o9qvlwk96axpd1l
2013-12-23 11:17:01 +01:00
ddm 726fd3f2bc [FIX] Handle timeout in UI tests
bzr revid: ddm@openerp.com-20131223100003-h8qhzmk61dz9bzon
2013-12-23 11:00:03 +01:00
ddm 2381c44441 [IMP] UI test runner code doc
bzr revid: ddm@openerp.com-20131218152352-mclkpnjpzvqsibqh
2013-12-18 16:23:52 +01:00
ddm 50ab1e551e [IMP] Cleanup UI tests
bzr revid: ddm@openerp.com-20131218151702-68m9z9wm31rj5g2f
2013-12-18 16:17:02 +01:00
ddm 245a6aafa9 [FIX] Fix UI test runner
bzr revid: ddm@openerp.com-20131218150056-xqueu19zpm17nlpj
2013-12-18 16:00:56 +01:00
ddm 4f0ad3f64a [IMP] Basic support for ui tests
bzr revid: ddm@openerp.com-20131218145628-9oqxlwy4g05n4jwa
2013-12-18 15:56:28 +01:00
Xavier Morel e04983ae69 [IMP] conversion back from m2o t-field to openerp value
Instead of doing a name_get on the edited value and trying to find out
an m2o to assign back (which there's pretty much no chance of given
there's no autocompletion or anything), alter the m2o record in-place
by setting the provided edited value to its _rec_name.

Ideally, both features could be supported via more advanced m2o
edition widgets which would allow selecting an existing m2o, creating
a new m2o record from scratch or (maybe) editing the existing m2o's
display_name if possible, somewhat similar to what the form view
provides.

Without these though, the only action which makes any sense is to edit
the user-visible "value" where it is found, as with more normal
fields.

bzr revid: xmo@openerp.com-20131218140917-4eo2o55yfcumzhov
2013-12-18 15:09:17 +01:00
Xavier Morel 4469b36f77 [FIX] change view section saving: only save view section *content*
Before, would save view section itself (including root element). But
branding distribution (and thus editability) are set on the last
programmatic root, thus the root element may well be generated
e.g. <span t-att-foo> will define the span itself as editable.

Saving this would remove the programmatic content on the node, and
thus break the view section altogether.

Fix the issue by only saving the root's content in the previous root.

bzr revid: xmo@openerp.com-20131217112034-nbxbg919cffv4w51
2013-12-17 12:20:34 +01:00
Xavier Morel a67b3adf80 [IMP] remove footer link to sitemap, add direct sitemap link in test suite
the html sitemap is used as a proxy for testing the XML one.

bzr revid: xmo@openerp.com-20131125120916-d5w5xos2c7aimf31
2013-11-25 13:09:16 +01:00
Xavier Morel b05db3495c [IMP] in crawler testing, indicate at which page the failed url was found
bzr revid: xmo@openerp.com-20131125120548-0s7xnhszd48e1u9v
2013-11-25 13:05:48 +01:00
Xavier Morel 841a5e7c2d [FIX] db handling being a pain in the ass
On runbot the base url dispatches into a unknown void of no db being
selected and the CMS thus 404s. For human beings there are additional
links to special subdomains setting the right db in the right place
(or maybe the right dbfilter, whatever) but that doesn't work right
for the crawler test suite.

Instead go through /web/ with a forced db selection, this *should* set
the db correctly in the user's session even if he's anonymous and thus
allows us to browse said db.

No idea if this fevered idea is actually going to work.

bzr revid: xmo@openerp.com-20131106115547-0ozlex09svkecrhb
2013-11-06 12:55:47 +01:00
Xavier Morel b754d4999c [FIX] enable auth'd crawling of CMS
bzr revid: xmo@openerp.com-20131105161345-257bebtxce4wa217
2013-11-05 17:13:45 +01:00
Xavier Morel 1308726046 [FIX] use config's xmlrpc_port during auth
bzr revid: xmo@openerp.com-20131105154414-wdfmu70m5gf2sjea
2013-11-05 16:44:14 +01:00
Xavier Morel a9193cf2ec [FIX] use db_name from tools.config to know where to auth
auth's currently disabled so it doesn't matter much really

bzr revid: xmo@openerp.com-20131105154131-35lqg2l6tdccgvp7
2013-11-05 16:41:31 +01:00
Xavier Morel 496431b4f0 [ADD] CMS crawling case, with a bunch of hardcoded values to fix
bzr revid: xmo@openerp.com-20131105145047-4ccrchj79lohry5q
2013-11-05 15:50:47 +01:00
Xavier Morel 1687668026 [ADD] parsing of locale-formatted floats
bzr revid: xmo@openerp.com-20131022085450-mhymubsywkonepjx
2013-10-22 10:54:50 +02:00
Xavier Morel 53d004b6bc [FIX] test for qweb getting cr and uid
bzr revid: xmo@openerp.com-20131018144604-z39ibj61x96foatc
2013-10-18 16:46:04 +02:00
Xavier Morel ec8ea76a0e [FIX] QWebContext necessary in some tests
bzr revid: xmo@openerp.com-20131014093713-2hawn717pby32pgw
2013-10-14 11:37:13 +02:00
Xavier Morel eaef36c910 [FIX] move conversion code from ir.fields.converter into website.qweb structures
bzr revid: xmo@openerp.com-20131009133112-05dglhptiw019838
2013-10-09 15:31:12 +02:00
Xavier Morel 3d5857d504 [FIX] qweb oe object renamed in registry
bzr revid: xmo@openerp.com-20131007092405-2ffrntwlzup6lvu1
2013-10-07 11:24:05 +02:00
Xavier Morel e826d0e7f8 [IMP] openerp-ified qweb
bzr revid: xmo@openerp.com-20131004134637-l2mpxsjwgu4pff2z
2013-10-04 15:46:37 +02:00
Xavier Morel ce30e7691e [IMP] move conversion out of view.save
Also, html.fromstring does weird stuff when encoding is not specified,
force to utf-8 just in case.

bzr revid: xmo@openerp.com-20130930145358-qh7xdicgg21prsk4
2013-09-30 16:53:58 +02:00
Xavier Morel 5de155ad98 [FIX] avoid losing non-meta attributes when converting t-fields back
bzr revid: xmo@openerp.com-20130919092546-c7yr8e4kixh4ngta
2013-09-19 11:25:46 +02:00
Xavier Morel 757a2dbc4e [IMP] single whole-page editor, reinstate ability to save only an embedded field (not part of a view)
bzr revid: xmo@openerp.com-20130917085753-aa32xxezhtrfaffj
2013-09-17 10:57:53 +02:00
Xavier Morel 29707bb8bf [FIX] don't lose text following a node being transformed back into a t-field
bzr revid: xmo@openerp.com-20130910143406-nuzu8vz5rzmshnzc
2013-09-10 16:34:06 +02:00
Xavier Morel 7e6f1a104e [ADD] move view.save tests from server
bzr revid: xmo@openerp.com-20130910133055-75q72gd75sty317m
2013-09-10 15:30:55 +02:00