Examples of clickSaveAndView()


Examples of org.xwiki.test.ui.po.editor.WYSIWYGEditPage.clickSaveAndView()

        int availableTemplateSize = createPagePage.getAvailableTemplateSize();
        String templateInstanceName = TEMPLATE_NAME + "Instance";
        WYSIWYGEditPage templateInstanceEditWysiwyg =
            createPagePage.createPageFromTemplate(getTestClassName(), templateInstanceName, templateProviderFullName);
        templateInstanceEditWysiwyg.waitUntilPageIsLoaded();
        WikiEditPage templateInstanceEdit = templateInstanceEditWysiwyg.clickSaveAndView().editWiki();

        // Verify template instance content
        Assert.assertEquals(templateInstanceName, templateInstanceEdit.getTitle());
        Assert.assertEquals(templateContent, templateInstanceEdit.getContent());
        // check the parent of the template instance
View Full Code Here

Examples of org.xwiki.test.ui.po.editor.WikiEditPage.clickSaveAndView()

        // Create a template
        WikiEditPage editTemplatePage = WikiEditPage.gotoPage(space, TEMPLATE_NAME);
        editTemplatePage.setTitle(templateTitle);
        editTemplatePage.setContent(templateContent);
        editTemplatePage.clickSaveAndView();

        // Create the template provider
        TemplatesAdministrationSectionPage sectionPage = TemplatesAdministrationSectionPage.gotoPage();
        TemplateProviderInlinePage templateProviderInline =
            sectionPage.createTemplateProvider(space, templateProviderName);
View Full Code Here

Examples of org.xwiki.test.ui.scheduler.elements.editor.SchedulerEditPage.clickSaveAndView()

        String jobName = "Tester problem";
        schedulerEdit.setJobName(jobName);
        schedulerEdit.setJobDescription(jobName);
        schedulerEdit.setCron("0 15 10 ? * MON-FRI");
        SchedulerPage schedulerPage = schedulerEdit.clickSaveAndView();
        this.schedulerHomePage = schedulerPage.backToHome();

        // View Job
        schedulerPage = this.schedulerHomePage.clickJobActionView(jobName);
        this.schedulerHomePage = schedulerPage.backToHome();
View Full Code Here

Examples of org.xwiki.test.ui.scheduler.elements.editor.SchedulerEditPage.clickSaveAndView()

        // Edit Job
        schedulerEdit = this.schedulerHomePage.clickJobActionEdit(jobName);
        schedulerEdit.setJobDescription("Tester problem2");
        schedulerEdit.setCron("0 0/5 14 * * ?");
        schedulerPage = schedulerEdit.clickSaveAndView();
        this.schedulerHomePage = schedulerPage.backToHome();

        // Delete and Restore Job
        DeletePage deletePage = this.schedulerHomePage.clickJobActionDelete(jobName);
        deletePage.confirm();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.