Skip to content

Comments

refactor: only spec files in /specs#94

Merged
Bilb merged 3 commits intomainfrom
chore/reorganize-test-structure
Feb 13, 2026
Merged

refactor: only spec files in /specs#94
Bilb merged 3 commits intomainfrom
chore/reorganize-test-structure

Conversation

@Miki-Session
Copy link
Collaborator

No description provided.

@Miki-Session Miki-Session force-pushed the chore/reorganize-test-structure branch 2 times, most recently from 2e48daf to b981016 Compare February 13, 2026 00:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request refactors the test directory structure by moving files out of the /specs subdirectory into more appropriate locations. The main purpose is to have only spec files (test files) in /specs, while utility files, locators, state builders, and media files are moved to their own dedicated directories at the run/test/ level.

Changes:

  • Moved utility files from run/test/specs/utils/ to run/test/utils/
  • Moved locator files from run/test/specs/locators/ to run/test/locators/
  • Moved state_builder from run/test/specs/state_builder/ to run/test/state_builder/
  • Moved media files from run/test/specs/media/ to run/test/media/
  • Updated all import paths across spec files, configuration files, and other source files to reflect the new structure

Reviewed changes

Copilot reviewed 161 out of 177 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/create_ios_simulators.ts Updated imports from specs/utils to utils
scripts/cleanup_ios_simulators.ts Updated imports from specs/utils to utils
run/types/sessionIt.ts Updated imports from specs/state_builder and specs/utils to new locations
run/types/DeviceWrapper.ts Updated imports from specs/locators and specs/utils to new locations
run/test/utils/*.ts New utility files moved from specs/utils, including new files for time travel, sleep, run_on, network_api, and test setup
run/test/locators/*.ts Locator files moved from specs/locators, updated import paths to parent directories
run/test/state_builder/index.ts Moved from specs/state_builder, updated import paths
run/test/specs/*.spec.ts All spec files updated with new import paths using ../utils, ../locators, ../state_builder
run/test/media/profile_picture.jpg Media file moved from specs/media to test/media
playwright.config.ts Updated import from specs/utils/binaries to utils/binaries
global-setup.ts Updated imports from specs/utils to utils
eslint.config.mjs Updated file pattern from run/test/specs/locators/* to run/test/locators/*

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Miki-Session Miki-Session marked this pull request as ready for review February 13, 2026 00:38
@Miki-Session Miki-Session requested a review from Bilb February 13, 2026 00:39
@Bilb Bilb merged commit 8b59120 into main Feb 13, 2026
1 check passed
@Bilb Bilb deleted the chore/reorganize-test-structure branch February 13, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants