001/* 002 * (C) Copyright 2014 Nuxeo SA (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl-2.1.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * <a href="mailto:grenard@nuxeo.com">Guillaume Renard</a> 016 * 017 */ 018 019package org.nuxeo.functionaltests.pages.restapiDoc; 020 021import org.nuxeo.functionaltests.Required; 022import org.openqa.selenium.WebElement; 023import org.openqa.selenium.support.FindBy; 024 025/** 026 * 027 * @since 7.3 028 */ 029public class RestApiDocBasePage { 030 031 @Required 032 @FindBy(id = "api_info") 033 public WebElement apiInfoDiv; 034 035 @Required 036 @FindBy(linkText = "path") 037 public WebElement pathLink; 038 039 @Required 040 @FindBy(linkText = "id") 041 public WebElement idLink; 042 043 @Required 044 @FindBy(linkText = "query") 045 public WebElement queryLink; 046 047 @Required 048 @FindBy(linkText = "automation") 049 public WebElement automationLink; 050 051 @Required 052 @FindBy(linkText = "user") 053 public WebElement userLink; 054 055 @Required 056 @FindBy(linkText = "group") 057 public WebElement groupLink; 058 059 @Required 060 @FindBy(linkText = "directory") 061 public WebElement directoryLink; 062 063 @Required 064 @FindBy(linkText = "childrenAdapter") 065 public WebElement childrenAdapterLink; 066 067 @Required 068 @FindBy(linkText = "searchAdapter") 069 public WebElement searchAdapterLink; 070 071 @Required 072 @FindBy(linkText = "ppAdapter") 073 public WebElement ppAdapterLink; 074 075 @Required 076 @FindBy(linkText = "auditAdapter") 077 public WebElement auditAdapterLink; 078 079 @Required 080 @FindBy(linkText = "aclAdapter") 081 public WebElement aclAdapterLink; 082 083 @Required 084 @FindBy(linkText = "boAdapter") 085 public WebElement boAdapterLink; 086 087 @Required 088 @FindBy(linkText = "workflow") 089 public WebElement workflowLink; 090 091 @Required 092 @FindBy(linkText = "workflowModel") 093 public WebElement workflowModelLink; 094 095 @Required 096 @FindBy(linkText = "task") 097 public WebElement taskLink; 098 099}