Skip to content

Commit

Permalink
Add branch to typing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Nov 9, 2023
1 parent 9c77c78 commit c2f29a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/libs/E2E/tests/reportTypingTest.e2e.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Config from 'react-native-config';
import E2ELogin from '@libs/E2E/actions/e2eLogin';
import waitForKeyboard from '@libs/E2E/actions/waitForKeyboard';
import E2EClient from '@libs/E2E/client';
Expand Down Expand Up @@ -42,6 +43,7 @@ const test = () => {
const rerenderCount = getRerenderCount();

E2EClient.submitTestResults({
branch: Config.E2E_BRANCH,
name: 'Composer typing rerender count',
renderCount: rerenderCount,
}).then(E2EClient.submitTestDone);
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/testRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const runTests = async () => {
result = testResult.renderCount;
}

Logger.log(`[LISTENER] Test '${testResult.name}' measured ${result}`);
Logger.log(`[LISTENER] Test '${testResult.name}' on '${testResult.branch}' measured ${result}`);

if (!results[testResult.branch]) {
results[testResult.branch] = {};
Expand Down

0 comments on commit c2f29a8

Please sign in to comment.