예제 #1
0
def load_tests(loader, base, _):
    base.addTest(
        test_ui.WebsiteUiSuite(
            test_ui.full_path(__file__, 'website_sale-sale_process-test.js'),
            {'action': 'website.action_website_homepage'}))
    base.addTest(
        test_ui.WebsiteUiSuite(
            test_ui.full_path(__file__, 'website_sale-sale_process-test-2.js'),
            {'action': 'website.action_website_homepage'}))
    return base
예제 #2
0
def load_tests(loader, base, _):
    base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'website_event_sale_test.js'),
        {'redirect': '/page/website.homepage'}))
    base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'website_event_sale_test.js'),
        {'redirect': '/page/website.homepage', 'user': '******', 'password': '******'}))
    # Test has been commented in SAAS-3 ONLY, it must be activated in trunk. 
    # Log for test JS has been improved in trunk, so we stop to loss time in saas-3 and debug it directly in trunk.
    # Tech Saas & AL agreement
    # base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'website_event_sale_test.js'), {'path': '/', 'user': None}))
    return base
예제 #3
0
파일: test_ui.py 프로젝트: Nucleoos/saas3
def load_tests(loader, base, _):
    base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'website_sale-sale_process-test.js'),
        { 'action': 'website.action_website_homepage' }))
    base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'website_sale-sale_process-test-2.js'),
        { 'action': 'website.action_website_homepage' }))
    return base
예제 #4
0
파일: test_ui.py 프로젝트: Nucleoos/saas3
def load_tests(loader, base, _):
    base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'event_test.js'), {'redirect': '/page/website.homepage'}, 60.0))
    return base
예제 #5
0
def load_tests(loader, base, _):
    base.addTest(
        test_ui.WebsiteUiSuite(test_ui.full_path(__file__, 'post_test.js'),
                               {'redirect': '/page/website.homepage'}, 60.0))
    return base