001/*
002 * (C) Copyright 2014 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *
016 * Contributors:
017 *     <a href="mailto:grenard@nuxeo.com">Guillaume Renard</a>
018 *
019 */
020
021package org.nuxeo.functionaltests.pages.restapiDoc;
022
023import org.nuxeo.functionaltests.Required;
024import org.openqa.selenium.WebElement;
025import org.openqa.selenium.support.FindBy;
026
027/**
028 * @since 7.3
029 */
030public class RestApiDocBasePage {
031
032    @Required
033    @FindBy(id = "api_info")
034    public WebElement apiInfoDiv;
035
036    @Required
037    @FindBy(linkText = "path")
038    public WebElement pathLink;
039
040    @Required
041    @FindBy(linkText = "id")
042    public WebElement idLink;
043
044    @Required
045    @FindBy(linkText = "query")
046    public WebElement queryLink;
047
048    @Required
049    @FindBy(linkText = "automation")
050    public WebElement automationLink;
051
052    @Required
053    @FindBy(linkText = "user")
054    public WebElement userLink;
055
056    @Required
057    @FindBy(linkText = "group")
058    public WebElement groupLink;
059
060    @Required
061    @FindBy(linkText = "directory")
062    public WebElement directoryLink;
063
064    @Required
065    @FindBy(linkText = "childrenAdapter")
066    public WebElement childrenAdapterLink;
067
068    @Required
069    @FindBy(linkText = "searchAdapter")
070    public WebElement searchAdapterLink;
071
072    @Required
073    @FindBy(linkText = "ppAdapter")
074    public WebElement ppAdapterLink;
075
076    @Required
077    @FindBy(linkText = "auditAdapter")
078    public WebElement auditAdapterLink;
079
080    @Required
081    @FindBy(linkText = "aclAdapter")
082    public WebElement aclAdapterLink;
083
084    @Required
085    @FindBy(linkText = "boAdapter")
086    public WebElement boAdapterLink;
087
088    @Required
089    @FindBy(linkText = "workflow")
090    public WebElement workflowLink;
091
092    @Required
093    @FindBy(linkText = "workflowModel")
094    public WebElement workflowModelLink;
095
096    @Required
097    @FindBy(linkText = "task")
098    public WebElement taskLink;
099
100    @Required
101    @FindBy(linkText = "search")
102    public WebElement searchLink;
103
104}