Detox/E2E: Messaging post options e2e tests in Gekidou (#6405)

* Detox/E2E: Messaging post options e2e tests in Gekidou

* Simplify find channels search bar
This commit is contained in:
Joseph Baylon
2022-06-17 18:01:05 -07:00
committed by GitHub
parent 07df681193
commit 7a71d864e2
61 changed files with 953 additions and 70 deletions

View File

@@ -235,6 +235,7 @@ function unsupportedServerAlert(intl: IntlShape) {
function buildServerModalOptions(theme: Theme, closeButtonId: string) {
const closeButton = CompassIcon.getImageSourceSync('close', 24, changeOpacity(theme.centerChannelColor, 0.56));
const closeButtonTestId = `${closeButtonId.replace('close-', 'close.').replace(/-/g, '_')}.button`;
return {
layout: {
backgroundColor: theme.centerChannelBg,
@@ -251,7 +252,7 @@ function buildServerModalOptions(theme: Theme, closeButtonId: string) {
leftButtons: [{
id: closeButtonId,
icon: closeButton,
testID: closeButtonId,
testID: closeButtonTestId,
}],
leftButtonColor: undefined,
title: {color: theme.sidebarHeaderTextColor},