Skip to content

Commit 3685785

Browse files
Anton StandrikAnton Standrik
authored andcommitted
fix: ci
1 parent 4a74891 commit 3685785

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,12 @@ jobs:
236236
new_tests=0
237237
for file in $changed_files; do
238238
if git show HEAD:$file > /dev/null 2>&1; then
239-
new_cases=$(git show HEAD:$file | grep -c "it\('" || true)
240-
base_cases=$(git show main:$file 2>/dev/null | grep -c "it\('" || true)
239+
new_cases=$(git show HEAD:$file | grep -E "it[\( ][\"\']" | wc -l || true)
240+
base_cases=$(git show main:$file 2>/dev/null | grep -E "it[\( ][\"\']" | wc -l || true)
241241
((new_tests += new_cases - base_cases))
242242
else
243243
# If file is completely new, count all test cases
244-
new_tests+=$(git show HEAD:$file | grep -c "it\('" || true)
244+
new_tests+=$(git show HEAD:$file | grep -E "it[\( ][\"\']" | wc -l || true)
245245
fi
246246
done
247247
echo "new_tests=$new_tests" >> $GITHUB_OUTPUT

tests/suites/tenant/queryEditor/planToSvg.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ test.describe('Test Plan to SVG functionality', async () => {
9696
await queryEditor.settingsDialog.clickButton(ButtonNames.Cancel);
9797
});
9898

99-
test('Statistics setting shows tooltip when disabled by execution plan experiment', async ({
99+
test.only('Statistics setting shows tooltip when disabled by execution plan experiment', async ({
100100
page,
101101
}) => {
102102
const queryEditor = new QueryEditor(page);

0 commit comments

Comments
 (0)