diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 8235f50d28..fcb990f01d 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - os: [ubuntu-20.04, macos-latest, windows-2019] + os: [ubuntu-20.04, macos-12, windows-2019] steps: - name: "Print OS" diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 7781362d15..68a52349d5 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -96,7 +96,7 @@ jobs: build-macos: # needs: run-e2e-tests-mac - runs-on: macos-latest + runs-on: macos-12 if: | startsWith(github.ref, 'refs/tags/@quiet/desktop') diff --git a/.github/workflows/desktop-rtl-tests.yml b/.github/workflows/desktop-rtl-tests.yml index 8e8343b736..7262c6bce6 100644 --- a/.github/workflows/desktop-rtl-tests.yml +++ b/.github/workflows/desktop-rtl-tests.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - os: [ubuntu-20.04, macos-latest] + os: [ubuntu-20.04, macos-12] steps: - name: "Print OS" diff --git a/.github/workflows/desktop-tests.yml b/.github/workflows/desktop-tests.yml index 38fbf3592f..5971ab6924 100644 --- a/.github/workflows/desktop-tests.yml +++ b/.github/workflows/desktop-tests.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - os: [ubuntu-20.04, macos-latest] + os: [ubuntu-20.04, macos-12] steps: - name: "Print OS" diff --git a/.github/workflows/e2e-android-self.yml b/.github/workflows/e2e-android-self.yml index 113d6e1d6f..1cf7ab9493 100644 --- a/.github/workflows/e2e-android-self.yml +++ b/.github/workflows/e2e-android-self.yml @@ -10,7 +10,7 @@ on: jobs: detox-android-self-hosted: - timeout-minutes: 10 + timeout-minutes: 25 runs-on: [self-hosted, macOS, ARM64, android] steps: @@ -32,6 +32,14 @@ jobs: ndk.path=/Users/quiet/Library/Android/sdk/ndk/25.1.8937393 EOF + - name: Install pm2 + run: npm install pm2@latest -g + + - name: Start metro + run: | + cd packages/mobile + pm2 --name METRO start npm -- start + - name: Build Detox run: | export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home @@ -41,4 +49,8 @@ jobs: - name: Run basic tests run: | cd packages/mobile - detox test starter -c android.emu.debug.ci \ No newline at end of file + detox test starter -c android.emu.debug.ci + + - name: Stop metro + if: always() + run: pm2 stop METRO diff --git a/.github/workflows/e2e-android.yml b/.github/workflows/e2e-android.yml index 08a9ee19de..7a1826b096 100644 --- a/.github/workflows/e2e-android.yml +++ b/.github/workflows/e2e-android.yml @@ -5,7 +5,7 @@ on: workflow_dispatch jobs: detox-android: timeout-minutes: 25 - runs-on: [macos-latest-xlarge] + runs-on: [macos-14-xlarge] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/e2e-mac.yml b/.github/workflows/e2e-mac.yml index e8d3d0fc61..ff9002b06b 100644 --- a/.github/workflows/e2e-mac.yml +++ b/.github/workflows/e2e-mac.yml @@ -3,7 +3,7 @@ name: E2E Mac on: [workflow_call] jobs: mac: - runs-on: macos-latest + runs-on: macos-12 timeout-minutes: 180 env: ELECTRON_CUSTOM_VERSION: 23.0.0 diff --git a/.github/workflows/identity-tests.yml b/.github/workflows/identity-tests.yml index ea66be2b38..9019564c57 100644 --- a/.github/workflows/identity-tests.yml +++ b/.github/workflows/identity-tests.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - os: [ubuntu-20.04, macos-latest, windows-2019] + os: [ubuntu-20.04, macos-12, windows-2019] steps: - name: "Print OS" diff --git a/.github/workflows/mobile-deploy-ios.yml b/.github/workflows/mobile-deploy-ios.yml index 6560298c51..657cc5df20 100644 --- a/.github/workflows/mobile-deploy-ios.yml +++ b/.github/workflows/mobile-deploy-ios.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - os: [macOS-latest] + os: [macos-12] steps: - name: "Print OS" diff --git a/.github/workflows/state-manager-tests.yml b/.github/workflows/state-manager-tests.yml index cd68e78a5b..61d97d1ed9 100644 --- a/.github/workflows/state-manager-tests.yml +++ b/.github/workflows/state-manager-tests.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - os: [ubuntu-20.04, macos-latest] + os: [ubuntu-20.04, macos-12] steps: - name: "Print OS" diff --git a/.github/workflows/utils-tests.yml b/.github/workflows/utils-tests.yml index 15edc17f60..b002c21ee3 100644 --- a/.github/workflows/utils-tests.yml +++ b/.github/workflows/utils-tests.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - os: [ubuntu-20.04, macos-latest, windows-2019] + os: [ubuntu-20.04, macos-12, windows-2019] steps: - name: "Print OS" diff --git a/packages/desktop/src/renderer/components/ChangeUsername/ChangeUsername.component.tsx b/packages/desktop/src/renderer/components/ChangeUsername/ChangeUsername.component.tsx index 6235c69744..55bda3ff9b 100644 --- a/packages/desktop/src/renderer/components/ChangeUsername/ChangeUsername.component.tsx +++ b/packages/desktop/src/renderer/components/ChangeUsername/ChangeUsername.component.tsx @@ -38,7 +38,7 @@ const classes = { } const StyledGrid = styled(Grid)(({ theme }) => ({ - backgroundColor: theme.palette.colors.white, + backgroundColor: theme.palette.background.default, padding: '0px 32px', [`& .${classes.focus}`]: { diff --git a/packages/desktop/src/renderer/components/ChangeUsername/UsernameChanged/UsernameChanged.component.tsx b/packages/desktop/src/renderer/components/ChangeUsername/UsernameChanged/UsernameChanged.component.tsx index dac4a0f8e7..a3332cdf01 100644 --- a/packages/desktop/src/renderer/components/ChangeUsername/UsernameChanged/UsernameChanged.component.tsx +++ b/packages/desktop/src/renderer/components/ChangeUsername/UsernameChanged/UsernameChanged.component.tsx @@ -16,7 +16,7 @@ const classes = { } const StyledGrid = styled(Grid)(({ theme }) => ({ - backgroundColor: theme.palette.colors.white, + backgroundColor: theme.palette.background.default, padding: '0px 32px', [`& .${classes.button}`]: { diff --git a/packages/desktop/src/renderer/components/Channel/ChannelComponent.tsx b/packages/desktop/src/renderer/components/Channel/ChannelComponent.tsx index a74d127d53..752a06f0e1 100644 --- a/packages/desktop/src/renderer/components/Channel/ChannelComponent.tsx +++ b/packages/desktop/src/renderer/components/Channel/ChannelComponent.tsx @@ -30,7 +30,7 @@ import { HandleOpenModalType } from '../widgets/userLabel/UserLabel.types' const ChannelMessagesWrapperStyled = styled(Grid)(({ theme }) => ({ position: 'relative', height: 0, - backgroundColor: theme.palette.colors.white, + backgroundColor: theme.palette.background.default, })) export interface ChannelComponentProps { diff --git a/packages/desktop/src/renderer/components/Channel/CreateChannel/CreateChannelComponent.tsx b/packages/desktop/src/renderer/components/Channel/CreateChannel/CreateChannelComponent.tsx index cd576d6583..51197f2a59 100644 --- a/packages/desktop/src/renderer/components/Channel/CreateChannel/CreateChannelComponent.tsx +++ b/packages/desktop/src/renderer/components/Channel/CreateChannel/CreateChannelComponent.tsx @@ -30,7 +30,7 @@ const classes = { } const StyledModalContent = styled(Grid)(({ theme }) => ({ - backgroundColor: theme.palette.colors.white, + backgroundColor: theme.palette.background.default, padding: '0px 32px', [`& .${classes.fullContainer}`]: { diff --git a/packages/desktop/src/renderer/components/Channel/DeleteChannel/DeleteChannel.test.tsx b/packages/desktop/src/renderer/components/Channel/DeleteChannel/DeleteChannel.test.tsx index 61eb7e67cf..54c839013f 100644 --- a/packages/desktop/src/renderer/components/Channel/DeleteChannel/DeleteChannel.test.tsx +++ b/packages/desktop/src/renderer/components/Channel/DeleteChannel/DeleteChannel.test.tsx @@ -21,7 +21,7 @@ describe('LeaveCommunity', () => { aria-hidden="true" />