From c752b8c8fa9605d6c40b7da7ce527ad390fe6cd2 Mon Sep 17 00:00:00 2001 From: Github Date: Tue, 21 Nov 2023 14:57:41 +0100 Subject: [PATCH 1/4] change ressure perf test workflow --- .github/workflows/reassurePerformanceTests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reassurePerformanceTests.yml b/.github/workflows/reassurePerformanceTests.yml index a58745b742a..72774dc5ef0 100644 --- a/.github/workflows/reassurePerformanceTests.yml +++ b/.github/workflows/reassurePerformanceTests.yml @@ -22,11 +22,13 @@ jobs: run: | set -e BASELINE_BRANCH=${BASELINE_BRANCH:="main"} + CURRENT_BRANCH=$(git branch --show-current) git fetch origin "$BASELINE_BRANCH" --no-tags --depth=1 git switch "$BASELINE_BRANCH" npm install --force npx reassure --baseline - git switch --force --detach - + git switch "$CURRENT_BRANCH" + git merge --no-commit --no-ff "$BASELINE_BRANCH" npm install --force npx reassure --branch From 59667606f417b57454894c6cd304ba01564fdfdf Mon Sep 17 00:00:00 2001 From: Github Date: Tue, 21 Nov 2023 15:05:27 +0100 Subject: [PATCH 2/4] enable test for ReportScreen --- tests/perf-test/ReportScreen.perf-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/perf-test/ReportScreen.perf-test.js b/tests/perf-test/ReportScreen.perf-test.js index f8a44b54cc3..ffcac583e29 100644 --- a/tests/perf-test/ReportScreen.perf-test.js +++ b/tests/perf-test/ReportScreen.perf-test.js @@ -125,7 +125,7 @@ function ReportScreenWrapper(args) { const runs = CONST.PERFORMANCE_TESTS.RUNS; -test.skip('should render ReportScreen with composer interactions', () => { +test('should render ReportScreen with composer interactions', () => { const scenario = async () => { // Query for the report list await screen.findByTestId('report-actions-list'); @@ -176,7 +176,7 @@ test.skip('should render ReportScreen with composer interactions', () => { .then(() => measurePerformance(, {scenario, runs})); }); -test.skip('should press of the report item', () => { +test('should press of the report item', () => { const scenario = async () => { // Query for the report list await screen.findByTestId('report-actions-list'); From 438500fca8bef7e03aa98b5409c309b8e3fe6793 Mon Sep 17 00:00:00 2001 From: Github Date: Tue, 21 Nov 2023 16:48:31 +0100 Subject: [PATCH 3/4] revert yml changes --- .github/workflows/reassurePerformanceTests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/reassurePerformanceTests.yml b/.github/workflows/reassurePerformanceTests.yml index 72774dc5ef0..a58745b742a 100644 --- a/.github/workflows/reassurePerformanceTests.yml +++ b/.github/workflows/reassurePerformanceTests.yml @@ -22,13 +22,11 @@ jobs: run: | set -e BASELINE_BRANCH=${BASELINE_BRANCH:="main"} - CURRENT_BRANCH=$(git branch --show-current) git fetch origin "$BASELINE_BRANCH" --no-tags --depth=1 git switch "$BASELINE_BRANCH" npm install --force npx reassure --baseline - git switch "$CURRENT_BRANCH" - git merge --no-commit --no-ff "$BASELINE_BRANCH" + git switch --force --detach - npm install --force npx reassure --branch From cdc34246c95e9ffaeab026e40a158cc12d418b7c Mon Sep 17 00:00:00 2001 From: Github Date: Tue, 21 Nov 2023 16:57:21 +0100 Subject: [PATCH 4/4] Revert "revert yml changes" This reverts commit 5e8de3fd6ab0115e6d3ca0cd7e863753300e55fc. --- .github/workflows/reassurePerformanceTests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reassurePerformanceTests.yml b/.github/workflows/reassurePerformanceTests.yml index a58745b742a..72774dc5ef0 100644 --- a/.github/workflows/reassurePerformanceTests.yml +++ b/.github/workflows/reassurePerformanceTests.yml @@ -22,11 +22,13 @@ jobs: run: | set -e BASELINE_BRANCH=${BASELINE_BRANCH:="main"} + CURRENT_BRANCH=$(git branch --show-current) git fetch origin "$BASELINE_BRANCH" --no-tags --depth=1 git switch "$BASELINE_BRANCH" npm install --force npx reassure --baseline - git switch --force --detach - + git switch "$CURRENT_BRANCH" + git merge --no-commit --no-ff "$BASELINE_BRANCH" npm install --force npx reassure --branch