Verify feature behavior only on Windows OS
Preconditions (2)
Step 1: Create a test method annotated with @EnabledOnOs(OS.WINDOWS)
Step 2: Inside the test method, perform a simple assertion like checking a string equals 'Windows'
Step 3: Run the test on Windows OS and observe it runs
Step 4: Run the test on a non-Windows OS and observe it is skipped
✅ Expected Result: The test runs and passes only on Windows OS. On other OS, the test is skipped and does not fail.