Skip to content

Commit b1d6287

Browse files
authored
chore: Print cli version during e2e tests (#1588)
### Description - Print cli version during e2e tests
1 parent b41ab81 commit b1d6287

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/e2e/project_template/test_static_crawlers_templates.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ async def test_static_crawler_actor_at_apify(
7171
project_path=tmp_path / actor_name, wheel_path=crawlee_wheel_path, package_manager=package_manager
7272
)
7373

74+
# Print apify version for debugging purposes in rare cases of CLI failures
75+
subprocess.run(['apify', '--version'], check=True) # noqa: ASYNC221, S607
76+
7477
# Build actor using sequence of cli commands as the user would
7578
subprocess.run( # noqa: ASYNC221, S603
7679
['apify', 'login', '-t', os.environ['APIFY_TEST_USER_API_TOKEN']], # noqa: S607

0 commit comments

Comments
 (0)