Skip to content

Commit

Permalink
fix: send real message only during warmup stage
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillzyusko committed Aug 20, 2024
1 parent 8143c8d commit 88c4b22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/libs/E2E/tests/reportTypingTest.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ import ROUTES from '@src/ROUTES';
import * as NativeCommands from '../../../../tests/e2e/nativeCommands/NativeCommandsAction';

const test = (config: NativeConfig) => {
const message = `Measure_performance#${Math.floor(Math.random() * 1000000)}`;

// check for login (if already logged in the action will simply resolve)
console.debug('[E2E] Logging in for typing');

const reportID = getConfigValueOrThrow('reportID', config);
const message = getConfigValueOrThrow('message', config);

E2ELogin().then((neededLogin) => {
if (neededLogin) {
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export default {
},
// Crowded Policy (Do Not Delete) Report, has a input bar available:
reportID: '8268282951170052',
message: `Measure_performance#${Math.floor(Math.random() * 1000000)}`,
},
[TEST_NAMES.ChatOpening]: {
name: TEST_NAMES.ChatOpening,
Expand Down

0 comments on commit 88c4b22

Please sign in to comment.