Skip to content

Commit 5fe3e1c

Browse files
justin808claude
andcommitted
Fix Playwright support/index.js comments and remove Cypress references
Updated header comments to reference Playwright instead of Cypress: - Changed references from "Cypress" to "Playwright" - Updated documentation link to Playwright test fixtures docs - Removed commented-out Cypress-specific import - Updated comment to reference './on-rails' instead of './commands' These comments were carried over from the cypress-on-rails template but should reflect Playwright usage. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4aaf34e commit 5fe3e1c

File tree

1 file changed

+6
-8
lines changed
  • spec/dummy/e2e/playwright/support

1 file changed

+6
-8
lines changed

spec/dummy/e2e/playwright/support/index.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,17 @@
33
// loaded automatically before your test files.
44
//
55
// This is a great place to put global configuration and
6-
// behavior that modifies Cypress.
6+
// behavior that modifies Playwright.
77
//
8-
// You can change the location of this file or turn off
9-
// automatically serving support files with the
10-
// 'supportFile' configuration option.
8+
// This file is automatically loaded before test execution
9+
// to set up global hooks, fixtures, and helper functions.
1110
//
1211
// You can read more here:
13-
// https://on.cypress.io/configuration
12+
// https://playwright.dev/docs/test-fixtures
1413
// ***********************************************************
1514

16-
// Import commands.js using ES2015 syntax:
15+
// Import Playwright-Rails helper functions:
1716
import './on-rails';
18-
// import 'cypress-on-rails/support/index'
1917

2018
// Alternatively you can use CommonJS syntax:
21-
// require('./commands')
19+
// require('./on-rails')

0 commit comments

Comments
 (0)