Răsfoiți Sursa

Merge pull request #30911 from overleaf/mj-tidy-e2e

[e2e] Tidy E2E tests after removal of old editor

GitOrigin-RevId: 5f8194ec46a047f98c7af8bbcb60c41212ad4bd2
Mathias Jakobsen 6 luni în urmă
părinte
comite
e9b85c4fa3

+ 1 - 1
server-ce/test/new-editor-create-and-compile-project.spec.ts → server-ce/test/create-and-compile-project.spec.ts

@@ -9,7 +9,7 @@ import { prepareWaitForNextCompileSlot } from './helpers/compile'
 
 
 const USER = 'user@example.com'
 const USER = 'user@example.com'
 const COLLABORATOR = 'collaborator@example.com'
 const COLLABORATOR = 'collaborator@example.com'
-describe('new editor.Project creation and compilation', function () {
+describe('Project creation and compilation', function () {
   if (isExcludedBySharding('CE_DEFAULT')) return
   if (isExcludedBySharding('CE_DEFAULT')) return
   startWith({})
   startWith({})
   ensureUserExists({ email: USER })
   ensureUserExists({ email: USER })

+ 1 - 1
server-ce/test/new-editor-editor.spec.ts → server-ce/test/editor.spec.ts

@@ -13,7 +13,7 @@ import { prepareWaitForNextCompileSlot } from './helpers/compile'
 const USER = 'user@example.com'
 const USER = 'user@example.com'
 const COLLABORATOR = 'collaborator@example.com'
 const COLLABORATOR = 'collaborator@example.com'
 
 
-describe('new editor.editor', function () {
+describe('editor', function () {
   if (isExcludedBySharding('PRO_DEFAULT_1')) return
   if (isExcludedBySharding('PRO_DEFAULT_1')) return
   startWith({ pro: true })
   startWith({ pro: true })
   ensureUserExists({ email: USER })
   ensureUserExists({ email: USER })

+ 1 - 1
server-ce/test/new-editor-git-bridge.spec.ts → server-ce/test/git-bridge.spec.ts

@@ -17,7 +17,7 @@ import { prepareWaitForNextCompileSlot } from './helpers/compile'
 
 
 const USER = 'user@example.com'
 const USER = 'user@example.com'
 
 
-describe('new editor.git-bridge', function () {
+describe('git-bridge', function () {
   const ENABLED_VARS = {
   const ENABLED_VARS = {
     GIT_BRIDGE_ENABLED: 'true',
     GIT_BRIDGE_ENABLED: 'true',
     GIT_BRIDGE_HOST: 'git-bridge',
     GIT_BRIDGE_HOST: 'git-bridge',

+ 1 - 1
server-ce/test/new-editor-graceful-shutdown.spec.ts → server-ce/test/graceful-shutdown.spec.ts

@@ -18,7 +18,7 @@ function bringServerProBackUp() {
   })
   })
 }
 }
 
 
-describe('new editor.GracefulShutdown', function () {
+describe('GracefulShutdown', function () {
   if (isExcludedBySharding('PRO_CUSTOM_1')) return
   if (isExcludedBySharding('PRO_CUSTOM_1')) return
   startWith({
   startWith({
     pro: true,
     pro: true,

+ 1 - 1
server-ce/test/new-editor-history.spec.ts → server-ce/test/history.spec.ts

@@ -3,7 +3,7 @@ import { prepareWaitForNextCompileSlot } from './helpers/compile'
 import { ensureUserExists, login } from './helpers/login'
 import { ensureUserExists, login } from './helpers/login'
 import { isExcludedBySharding, startWith } from './helpers/config'
 import { isExcludedBySharding, startWith } from './helpers/config'
 
 
-describe('new editor.History', function () {
+describe('History', function () {
   if (isExcludedBySharding('CE_DEFAULT')) return
   if (isExcludedBySharding('CE_DEFAULT')) return
   startWith({})
   startWith({})
   ensureUserExists({ email: 'user@example.com' })
   ensureUserExists({ email: 'user@example.com' })

+ 1 - 1
server-ce/test/new-editor-project-sharing.spec.ts → server-ce/test/project-sharing.spec.ts

@@ -19,7 +19,7 @@ import {
 import { prepareWaitForNextCompileSlot } from './helpers/compile'
 import { prepareWaitForNextCompileSlot } from './helpers/compile'
 import { beforeWithReRunOnTestRetry } from './helpers/beforeWithReRunOnTestRetry'
 import { beforeWithReRunOnTestRetry } from './helpers/beforeWithReRunOnTestRetry'
 
 
-describe('new editor.Project Sharing', function () {
+describe('Project Sharing', function () {
   if (isExcludedBySharding('PRO_CUSTOM_4')) return
   if (isExcludedBySharding('PRO_CUSTOM_4')) return
   ensureUserExists({ email: 'user@example.com' })
   ensureUserExists({ email: 'user@example.com' })
   startWith({ withDataDir: true, pro: true })
   startWith({ withDataDir: true, pro: true })

+ 1 - 1
server-ce/test/new-editor-sandboxed-compiles.spec.ts → server-ce/test/sandboxed-compiles.spec.ts

@@ -7,7 +7,7 @@ import { waitUntilScrollingFinished } from './helpers/waitUntilScrollingFinished
 
 
 const LABEL_TEX_LIVE_VERSION = 'TeX Live version'
 const LABEL_TEX_LIVE_VERSION = 'TeX Live version'
 
 
-describe('new editor.SandboxedCompiles', function () {
+describe('SandboxedCompiles', function () {
   const enabledVars = {
   const enabledVars = {
     SANDBOXED_COMPILES: 'true',
     SANDBOXED_COMPILES: 'true',
     ALL_TEX_LIVE_DOCKER_IMAGE_NAMES: '2023,2022',
     ALL_TEX_LIVE_DOCKER_IMAGE_NAMES: '2023,2022',

+ 1 - 1
server-ce/test/new-editor-templates.spec.ts → server-ce/test/templates.spec.ts

@@ -14,7 +14,7 @@ const TEMPLATES_USER = 'templates@example.com'
 // Re-use value for "exists" and "does not exist" tests
 // Re-use value for "exists" and "does not exist" tests
 const LABEL_BROWSE_TEMPLATES = 'Browse templates'
 const LABEL_BROWSE_TEMPLATES = 'Browse templates'
 
 
-describe('new editor.Templates', function () {
+describe('Templates', function () {
   ensureUserExists({ email: TEMPLATES_USER })
   ensureUserExists({ email: TEMPLATES_USER })
   ensureUserExists({ email: WITHOUT_PROJECTS_USER })
   ensureUserExists({ email: WITHOUT_PROJECTS_USER })