ConversationsTestKeys class
Test keys for CometChatConversations widget.
These keys are applied to specific widget slots so that integration tests and E2E tests can reliably find and assert on custom views, styles, and structural elements without depending on fragile text/type finders.
Usage in E2E:
expect(find.byKey(ConversationsTestKeys.customListItem), findsWidgets);
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- appBar → const Key
- The app bar area
- backButton → const Key
- The back button
- conversationsList → const Key
- The main conversations list (ListView/SliverList)
- customEmptyState → const Key
- Applied to the custom emptyStateView when provided
- customErrorState → const Key
- Applied to the custom errorStateView when provided
- customLeading → const Key
- Applied to the wrapper of custom leadingView when provided
- customListItem → const Key
- Applied to the wrapper of custom listItemView when provided
- customLoadingState → const Key
- Applied to the custom loadingStateView when provided
- customSubtitle → const Key
- Applied to the wrapper of custom subtitleView when provided
- customTitle → const Key
- Applied to the wrapper of custom titleView when provided
- customTrailing → const Key
- Applied to the wrapper of custom trailingView when provided
- listItemRow → const Key
- Applied to each conversation list item row
- searchField → const Key
- The search field
- titleText → const Key
- Applied to the title text widget (for style verification)