Commit Graph

127 Commits

Author SHA1 Message Date
Fabien Pinckaers 54d30d5194 [IMP] clean sitemap, enumerate pages + fixes
bzr revid: fp@tinyerp.com-20140511115231-g8ke14r9iepyypv4
2014-05-11 13:52:31 +02:00
chm@openerp.com 1fc8f89bc1 [MERGE] from trunk
bzr revid: chm@openerp.com-20140411082050-lr7vtew6yvsqaon6
2014-04-11 10:20:50 +02:00
Raphael Collet 560166d5a1 [FIX] website/tests: fix test_requests by manually switching registry to test mode
bzr revid: rco@openerp.com-20140409092450-2r4gx0eggw2p7lch
2014-04-09 11:24:50 +02:00
chm@openerp.com 62814f9c23 [FIX] website: activate new tour tests
bzr revid: chm@openerp.com-20140324081112-15n58puu29weydme
2014-03-24 09:11:12 +01:00
Xavier Morel 5196cd6e8c [FIX] website: set inherit_branding in test contexts to trigger generation of relevant edition attributes
bzr revid: xmo@openerp.com-20140317152502-6a2agi1xjooi516e
2014-03-17 16:25:02 +01:00
Antony Lesuisse 0772c99bcb [FIX] website test, remove useless test, waitfor banner fix
bzr revid: al@openerp.com-20140316144546-agpgmlwxa532xxmb
2014-03-16 15:45:46 +01:00
Antony Lesuisse e23ce63133 [FIX] website tests crawler, admin password != super admin password
bzr revid: al@openerp.com-20140316142302-7xm0sputqgadihs0
2014-03-16 15:23:02 +01:00
Christophe Simonis d504764eff [MERGE] forward port of branch saas-3 up to revid 9298 chm@openerp.com-20140311130852-3ft0v1mc9ht1any6
bzr revid: chs@openerp.com-20140311145205-s56fj113fsrnisc3
2014-03-11 15:52:05 +01:00
Xavier Morel 6b857b6eeb [FIX] whitespace/indent lost by RTE
Didn't manage to find RTE settings to avoid losing leading whitespace of
lines, so reindeint arch after doing all integration, right before saving back
to view's field.

* html.fromstring(parser=HTMLParser(remove_blank_text=True) does not seem to
  work, so serialize to XML, and parse back with
  remove_blank_text. remove_blank_text necessary for lxml's pretty_print to
  work correctly.

* pretty_print only & always uses 2 spaces/indent level. Our files (and the
  HTML editor's Format button) uses 4 spaces -> need a second pass to double
  indents.

bzr revid: xmo@openerp.com-20140227125934-q8j3z440px2ic6kx
2014-02-27 13:59:34 +01:00
Xavier Morel 55a9e5af27 [FIX] re-enable website_sale tests because they pass so whatever
bzr revid: xmo@openerp.com-20140219144754-52dz24qmnjq72zor
2014-02-19 15:47:54 +01:00
Xavier Morel a77097ce60 [REM] broken and PITA test_02_public_login_logout
* / fails to load, it turns out Tour is undefined because unlogged home does
  not load bootstrap-tour

* after injecting bootstrap-tour, redirects to /login (to log in), tries to
  inject tour again except this time ``openerp.website`` is completely empty
  (although it is present on the page), no idea why.

removed test because whatever, if enable-test-fix-tour is ever rewritten and
fixed it may reappear.

bzr revid: xmo@openerp.com-20140219142115-5kpu5uvzpkwnt1ef
2014-02-19 15:21:15 +01:00
Xavier Morel 86a537e6a7 [FIX] typo method name
bzr revid: xmo@openerp.com-20140219140241-5p6u4t818mkuo74w
2014-02-19 15:02:41 +01:00
Xavier Morel 61c82f28a4 [FIX] imports, use @expectedFailure, simplify some inject specs
bzr revid: xmo@openerp.com-20140218160339-2r34z4ks2o4lriu5
2014-02-18 17:03:39 +01:00
Xavier Morel c42f9553ec [IMP] remove pointless semicolons, use @expectedFailure instead of commenting broken test
bzr revid: xmo@openerp.com-20140218140610-t4amo9b2jjkk2r0h
2014-02-18 15:06:10 +01:00
Xavier Morel aa0eac1257 [FIX] re-enable crawler tests
Move URLCase back out of the test module, otherwise loadTestFromModule
attempts to load it in the usual manner (~URLCase('runTest')). Which does not
work at all, because that's not what URLCase is for.

URLCase extends TestCase to benefit from the TestCase.run infrastructure
(running tests, filling result object, etc...)

bzr revid: xmo@openerp.com-20140217151535-alq7pq6qapski73x
2014-02-17 16:15:35 +01:00
Antony Lesuisse 2112eb6448 [FIX] website_sale enable some tests
bzr revid: al@openerp.com-20140217012827-3rb4mrkgx3ubp0dx
2014-02-17 02:28:27 +01:00
Antony Lesuisse e54758988a [FIX] website tests
bzr revid: al@openerp.com-20140217001148-2ub37hxyz8tbxrwe
2014-02-17 01:11:48 +01:00
Christophe Simonis f6422470dd ಠ_ಠ
bzr revid: chs@openerp.com-20140213152348-alye3ovcn2y53xp3
2014-02-13 16:23:48 +01:00
Christophe Matthieu c86156bbec [FIX] website: comment test login_test.js. Error QWeb2 (test dependence) is not injected in the login page to insert login and password
bzr revid: chm@openerp.com-20140213132550-9i28l7v8vcibz36t
2014-02-13 14:25:50 +01:00
Christophe Matthieu a193f3fef8 [FIX] website: login for test js
bzr revid: chm@openerp.com-20140213132156-plxe5hqohmkxf40g
2014-02-13 14:21:56 +01:00
Antony Lesuisse 9c7f132a7a [IMP] website test_ui simplification
bzr revid: al@openerp.com-20140210005926-03hhcm56gpplgbt2
2014-02-10 01:59:26 +01:00
Antony Lesuisse bf2198e4c8 [IMP] website test shorter code
bzr revid: al@openerp.com-20140209234531-0i2xgr94yjaqzen8
2014-02-10 00:45:31 +01:00
Antony Lesuisse a21b1c4f8c [IMP] test_ui conversion, needs validation from chm
bzr revid: al@openerp.com-20140209232040-12uq85pseheth8z0
2014-02-10 00:20:40 +01:00
Antony Lesuisse 70d498c14a [FIX] disable http test before conversion
bzr revid: al@openerp.com-20140209141950-o9sf0jual07y315f
2014-02-09 15:19:50 +01:00
Christophe Matthieu efe1e4a183 [FIX] website test: remove hack for runbot
bzr revid: chm@openerp.com-20140207155454-jf3pwp3hl9nvay6m
2014-02-07 16:54:54 +01:00
Christophe Matthieu d432e56661 [FIX] website: for activate test on runbot
bzr revid: chm@openerp.com-20140207143241-e4u7ikvgbl0f980d
2014-02-07 15:32:41 +01:00
Christophe Matthieu 6cb5b1e556 [FIX] website: test tour: use admin insead of tools.config['admin_passwd']
bzr revid: chm@openerp.com-20140207130104-nuwurzlsvt4cu1jr
2014-02-07 14:01:04 +01:00
Christophe Matthieu b21bb08c22 [ADD] website: test login, backend, go back, branding, edit, logout
bzr revid: chm@openerp.com-20140207125231-3zd0i1axdwuht5g4
2014-02-07 13:52:31 +01:00
Christophe Matthieu b71ef0541e [FIX] website test phantomjs login
bzr revid: chm@openerp.com-20140207115903-kzf9ikk37xvtq0ef
2014-02-07 12:59:03 +01:00
Christophe Matthieu 4663f5b10c [IMP] website test: add a timeout in phantom js to raise a better error and improve log error
bzr revid: chm@openerp.com-20140207074745-ffrcoi2aj5m67i8m
2014-02-07 08:47:45 +01:00
Christophe Matthieu 062c491488 [IMP] website test_ui: add a try catch in run and run_test to display error
bzr revid: chm@openerp.com-20140206175113-w0qscfngebnn7718
2014-02-06 18:51:13 +01:00
Christophe Matthieu 97091c31ae [IMP] website: reduce run test of banner
bzr revid: chm@openerp.com-20140206161614-afam16q12ci0kr7l
2014-02-06 17:16:14 +01:00
Christophe Matthieu e8964f896c [FIX] website: tour, test and test_runner
bzr revid: chm@openerp.com-20140206140746-jmeyx8q9qxv7sz1j
2014-02-06 15:07:46 +01:00
Antony Lesuisse 1c283ddf24 phantomjs segfaults
bzr revid: al@openerp.com-20140131002019-tbvgpunj6kj6675v
2014-01-31 01:20:19 +01:00
Christophe Matthieu 5400c508e5 [FIX] website tour test
bzr revid: chm@openerp.com-20140130232330-kgrw8e7d0ez3f3pp
2014-01-31 00:23:30 +01:00
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