chore: fix integration tests

pull/3074/head
Audric Ackermann 4 weeks ago
parent 53aeb63894
commit 63fa2538fc

@ -29,7 +29,7 @@ window.getNodeVersion = () => configAny.node_version;
window.sessionFeatureFlags = {
useOnionRequests: true,
useTestNet: isTestNet(),
useTestNet: isTestNet() || isTestIntegration(),
integrationTestEnv: isTestIntegration(),
useClosedGroupV3: false,
debug: {

@ -62,6 +62,7 @@ const Password = (props: PasswordProps) => {
<input
type="password"
id="seed-input-password"
data-testid="password-input"
placeholder={i18n('enterPassword')}
onKeyUp={onEnter}
/>
@ -77,12 +78,14 @@ const Password = (props: PasswordProps) => {
text={i18n('done')}
buttonType={SessionButtonType.Simple}
onClick={confirmPassword}
dataTestId="session-confirm-ok-button"
/>
<SessionButton
text={i18n('cancel')}
buttonType={SessionButtonType.Simple}
buttonColor={SessionButtonColor.Danger}
onClick={onClose}
dataTestId="session-confirm-cancel-button"
/>
</div>
</>

@ -428,7 +428,7 @@ async function createWindow() {
}, 5000);
}
if (isDevProd()) {
if (isDevProd() && !isTestIntegration()) {
// Open the DevTools.
mainWindow.webContents.openDevTools({
mode: 'bottom',

Loading…
Cancel
Save