diff options
Diffstat (limited to 'src/frontend/utils/enums')
| -rw-r--r-- | src/frontend/utils/enums/AttributeNames.ts | 6 | ||||
| -rw-r--r-- | src/frontend/utils/enums/CypressFields.ts | 28 |
2 files changed, 34 insertions, 0 deletions
diff --git a/src/frontend/utils/enums/AttributeNames.ts b/src/frontend/utils/enums/AttributeNames.ts new file mode 100644 index 0000000..e0820ba --- /dev/null +++ b/src/frontend/utils/enums/AttributeNames.ts @@ -0,0 +1,6 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +export enum AttributeNames { + SESSION_ID = 'session.id' +} diff --git a/src/frontend/utils/enums/CypressFields.ts b/src/frontend/utils/enums/CypressFields.ts new file mode 100644 index 0000000..be85b82 --- /dev/null +++ b/src/frontend/utils/enums/CypressFields.ts @@ -0,0 +1,28 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +export enum CypressFields { + Ad = 'ad', + CartDropdown = 'cart-dropdown', + CartDropdownItem = 'cart-dropdown-item', + CartDropdownItemQuantity = 'cart-dropdown-item-quantity', + CartGoToShopping = 'cart-go-to-shopping', + CartIcon = 'cart-icon', + CartItemCount = 'cart-item-count', + CheckoutPlaceOrder = 'checkout-place-order', + CheckoutItem = 'checkout-item', + CurrencySwitcher = 'currency-switcher', + SessionId = 'session-id', + ProductCard = 'product-card', + ProductList = 'product-list', + ProductPrice = 'product-price', + RecommendationList = 'recommendation-list', + HomePage = 'home-page', + ProductDetail = 'product-detail', + HotProducts = 'hot-products', + ProductPicture = 'product-picture', + ProductName = 'product-name', + ProductDescription = 'product-description', + ProductQuantity = 'product-quantity', + ProductAddToCart = 'product-add-to-cart', +} |
