Skip to content

Commit 939fe6a

Browse files
committed
test(cypress): standardize file and directory naming to kebab-case
Rename all Cypress E2E directories and test files to consistent kebab-case convention: - Directories: Formatting/ → formatting/, Lists/ → lists/, Heading/ → heading/, Heading/Change/ → heading/change/, Heading/KeyboardShortcuts/ → heading/keyboard-shortcuts/, Toc/ → toc/ - Files: Bold.cy.js → bold.cy.js, BulletList.cy.js → bullet-list.cy.js, TaskList.cy.js → task-list.cy.js, etc. (21 files) - Remove redundant e2e- prefix from 3 files already inside cypress/e2e/ - Relocate 2 root-level legacy files into their proper subdirectories - Rename 4 camelCase files in cypress-commands/ to kebab-case - Remove 1 duplicate file (e2e-doc-structure-generator.cy.js) No test logic changes. Import paths updated where needed. Made-with: Cursor
1 parent ae87c80 commit 939fe6a

41 files changed

Lines changed: 5 additions & 76 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/webapp/cypress/e2e/cypress-commands/createSelection.cy.js renamed to packages/webapp/cypress/e2e/cypress-commands/create-selection.cy.js

File renamed without changes.

packages/webapp/cypress/e2e/cypress-commands/validateDomStructure-dynamic.cy.js renamed to packages/webapp/cypress/e2e/cypress-commands/validate-dom-structure-dynamic.cy.js

File renamed without changes.

packages/webapp/cypress/e2e/cypress-commands/validateDomStructure-invalid.cy.js renamed to packages/webapp/cypress/e2e/cypress-commands/validate-dom-structure-invalid.cy.js

File renamed without changes.

packages/webapp/cypress/e2e/cypress-commands/validateDomStructure-valid.cy.js renamed to packages/webapp/cypress/e2e/cypress-commands/validate-dom-structure-valid.cy.js

File renamed without changes.

packages/webapp/cypress/e2e/editor/doc-schema-generator/e2e-doc-structure-generator.cy.js renamed to packages/webapp/cypress/e2e/editor/doc-schema-generator/doc-structure-generator.cy.js

File renamed without changes.

packages/webapp/cypress/e2e/editor/e2e-doc-structure-manually.cy.js renamed to packages/webapp/cypress/e2e/editor/doc-schema-generator/doc-structure-manually.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/* eslint-disable no-undef */
2-
import { TEST_CONTENT, TEST_TITLE } from '../../support/commands'
2+
import { TEST_CONTENT, TEST_TITLE } from '../../../support/commands'
33
import {
44
heading,
55
paragraph,
66
listItem,
77
orderedList,
88
section,
99
bulletList
10-
} from '../../fixtures/docMaker'
10+
} from '../../../fixtures/docMaker'
1111

1212
const DocumentStructure = {
1313
documentName: TEST_TITLE.HelloDocy,

packages/webapp/cypress/e2e/editor/e2e-doc-structure-generator.cy.js

Lines changed: 0 additions & 72 deletions
This file was deleted.

packages/webapp/cypress/e2e/editor/Formatting/Bold.cy.js renamed to packages/webapp/cypress/e2e/editor/formatting/bold.cy.js

File renamed without changes.

packages/webapp/cypress/e2e/editor/Formatting/CombinedFormatting.cy.js renamed to packages/webapp/cypress/e2e/editor/formatting/combined-formatting.cy.js

File renamed without changes.

packages/webapp/cypress/e2e/editor/Formatting/ExtendedMarks.cy.js renamed to packages/webapp/cypress/e2e/editor/formatting/extended-marks.cy.js

File renamed without changes.

0 commit comments

Comments
 (0)