How to reproduce:
1. Open the “ReportTestFramework1.4Bugs“
2. Open the “SampleScene”
3. Open the Test Runner (Window > General > Test Runner)
4. In the Test Runner window select the “PlayMode” section
5. Select “Run All”
6. Observe the Game view
Expected result: Game view displays the previously opened scene
Actual result: Game view displays the tested scene
Reproduced with: 1.4.3 (2021.3.36f1, 2022.3.22f1, 2023.2.17f1, 6000.0.0b13)
Not reproduced with: 2.0.1-pre.12 (2021.3.36f1, 2022.3.22f1)
Could not test with: 2.0.1-exp.1, 2.0.1-pre.12 (2023.2.17f1, 6000.0.0b13) (Test Framework throws a compilation error)
Fixed in: 2.0.1-exp.1 (2021.3.36f1, 2022.3.22f1)
Reproduced on: macOS 14.1 (Intel) (by reporter), Windows 11
Not reproduced on: No other environment tested
Note: After entering then exiting Play Mode the previously opened scene is closed and an “Untitled” scene is opened