From 011a2f2bb6075767b20506874ff7797fddf81175 Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Tue, 15 Jun 2021 10:59:57 +0100 Subject: [PATCH] Remove test data for develop pipeline --- .github/workflows/develop.yml | 8 ++++---- src/components/structures/MatrixChat.tsx | 5 ----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 00752a8693..273dea1062 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -31,8 +31,8 @@ jobs: tool: 'jsperformanceentry' output-file-path: test/end-to-end-tests/performance-entries.json fail-on-alert: false - # Personal access token to deploy GitHub Pages branch + comment-on-alert: true + # Only temporary to monitor where failures occur + alert-comment-cc-users: '@gsouquet' github-token: ${{ secrets.DEPLOY_GH_PAGES }} - # Push and deploy GitHub pages branch automatically - auto-push: true - # auto-push: ${{ github.ref == 'refs/heads/develop' }} + auto-push: ${{ github.ref == 'refs/heads/develop' }} diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx index c2ec313907..0af2d3d635 100644 --- a/src/components/structures/MatrixChat.tsx +++ b/src/components/structures/MatrixChat.tsx @@ -1954,11 +1954,6 @@ export default class MatrixChat extends React.PureComponent { await Lifecycle.setLoggedIn(credentials); await this.postLoginSetup(); - // artifically slowing down the registration - await (new Promise((resolve) => { - setTimeout(resolve, 1337); - })); - PerformanceMonitor.instance.stop(PerformanceEntryNames.LOGIN); PerformanceMonitor.instance.stop(PerformanceEntryNames.REGISTER); };