Noelia fa265b5e79 test(suite_communities): Created bdd_hook for each suite_communities test case
- Created `bdd_hooks` that contain the sing up steps just only once in the feature start and the needed start steps depending on the test case.

- Updated feature files removing sign up steps and given/when/then reorganization.

- Done some cleanups and reorganization in `communitySteps.py` and `searchSteps.py`.

Closes #7955
2022-10-25 16:01:41 +02:00

9 lines
283 B
Python

source(findFile('scripts', 'python/bdd.py'))
setupHooks('bdd_hooks.py')
collectStepDefinitions('./steps', '../shared/steps/', '../../global_shared/steps/', '../../suite_messaging/shared/steps/')
def main():
testSettings.throwOnFailure = True
runFeatureFile('test.feature')