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 * 029 * @since 7.3 030 */ 031public class RestApiDocBasePage { 032 033 @Required 034 @FindBy(id = "api_info") 035 public WebElement apiInfoDiv; 036 037 @Required 038 @FindBy(linkText = "path") 039 public WebElement pathLink; 040 041 @Required 042 @FindBy(linkText = "id") 043 public WebElement idLink; 044 045 @Required 046 @FindBy(linkText = "query") 047 public WebElement queryLink; 048 049 @Required 050 @FindBy(linkText = "automation") 051 public WebElement automationLink; 052 053 @Required 054 @FindBy(linkText = "user") 055 public WebElement userLink; 056 057 @Required 058 @FindBy(linkText = "group") 059 public WebElement groupLink; 060 061 @Required 062 @FindBy(linkText = "directory") 063 public WebElement directoryLink; 064 065 @Required 066 @FindBy(linkText = "childrenAdapter") 067 public WebElement childrenAdapterLink; 068 069 @Required 070 @FindBy(linkText = "searchAdapter") 071 public WebElement searchAdapterLink; 072 073 @Required 074 @FindBy(linkText = "ppAdapter") 075 public WebElement ppAdapterLink; 076 077 @Required 078 @FindBy(linkText = "auditAdapter") 079 public WebElement auditAdapterLink; 080 081 @Required 082 @FindBy(linkText = "aclAdapter") 083 public WebElement aclAdapterLink; 084 085 @Required 086 @FindBy(linkText = "boAdapter") 087 public WebElement boAdapterLink; 088 089 @Required 090 @FindBy(linkText = "workflow") 091 public WebElement workflowLink; 092 093 @Required 094 @FindBy(linkText = "workflowModel") 095 public WebElement workflowModelLink; 096 097 @Required 098 @FindBy(linkText = "task") 099 public WebElement taskLink; 100 101}