app: add testIDs to workspace header and use them in e2e assertions
This commit is contained in:
@@ -1059,10 +1059,18 @@ function WorkspaceScreenContent({
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<Text style={styles.headerTitle} numberOfLines={1}>
|
||||
<Text
|
||||
testID="workspace-header-title"
|
||||
style={styles.headerTitle}
|
||||
numberOfLines={1}
|
||||
>
|
||||
{workspaceHeader.title}
|
||||
</Text>
|
||||
<Text style={styles.headerProjectTitle} numberOfLines={1}>
|
||||
<Text
|
||||
testID="workspace-header-subtitle"
|
||||
style={styles.headerProjectTitle}
|
||||
numberOfLines={1}
|
||||
>
|
||||
{workspaceHeader.subtitle}
|
||||
</Text>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user