qe-fe-automation
Version:
FE test automation framework using cypress
28 lines (23 loc) • 1.12 kB
text/typescript
export const helpCenterSelectors = {
chatEntry: '[data-testid="needHelpByChat"] button',
chat: '[data-role="ta-chat-messages-view"]',
chatMessage: '[data-role="ta-chat-message-item-body"]',
chatBubble: '[data-testid="ta-chat-toggle-button"]',
minimizeChat: '[data-testid="Nav__minimiseButton"]',
callEntry: '[data-testid="needHelpByPhone"]',
phoneNumbersModal: '.ta-phone-numbers-modal',
phoneNumberWrapper: '.phone-number-wrapper',
topCategories: '[data-testid="top-categories"]',
topCategoriesCards: '[data-testid="top-categories-cards"]',
topCategoriesCard: '[data-testid="top-categories-card"]',
topArticles: '[data-testid="top-articles"]',
article: '[data-testid="ta-hc-article"]',
categoryPage: '[data-testid="ta-hc-category-page"]',
categoryPageArticle: '[data-testid="ta-hc-category-article"]',
breadcrumbs: '[data-testid="ta-hc-breadcrumbs"]',
articleTitle: '[data-testid="article-title"]',
articleContent: '[data-testid="article-content"]',
header: '[data-testid="hc-header"]',
footer: '[data-testid="hc-footer"]',
loginButton: '[data-testid="login-button"]'
};