Run pytest tests filtered by marker
Preconditions (2)
Step 1: Open terminal or command prompt
Step 2: Navigate to the directory containing the test file
Step 3: Run pytest with the -m option to specify the marker 'smoke'
Step 4: Observe that only tests marked with @pytest.mark.smoke are executed
✅ Expected Result: Only tests with the 'smoke' marker run and pass or fail accordingly