File size: 987 Bytes
2652f92 e3c68ad c418aa6 2652f92 7140fe3 2652f92 c418aa6 acfdf18 3175e32 2652f92 c418aa6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | """Test module for E2E tests discovery.
This file ensures that pytest-bdd can properly discover and run feature files.
"""
import os
from pytest_bdd import scenarios
# Import all step definitions to make them available for pytest-bdd
from tests.e2e.steps.audio_generation_steps import * # noqa: F401, F403
from tests.e2e.steps.browser_state_steps import * # noqa: F401, F403
from tests.e2e.steps.common_steps import * # noqa: F401, F403
from tests.e2e.steps.file_upload_steps import * # noqa: F401, F403
from tests.e2e.steps.script_generation_steps import * # noqa: F401, F403
from tests.e2e.steps.text_management_steps import * # noqa: F401, F403
from tests.e2e.steps.url_extraction_steps import * # noqa: F401, F403
from tests.e2e.steps.voicevox_sharing_steps import * # noqa: F401, F403
# Get the absolute path to features directory
feature_dir = os.path.join(os.path.dirname(__file__), "features")
# Register feature scenarios with absolute path
scenarios(feature_dir)
|