mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Merge pull request #30911 from overleaf/mj-tidy-e2e
[e2e] Tidy E2E tests after removal of old editor GitOrigin-RevId: 5f8194ec46a047f98c7af8bbcb60c41212ad4bd2
This commit is contained in:
committed by
Copybot
parent
9e0de43638
commit
e9b85c4fa3
@@ -9,7 +9,7 @@ import { prepareWaitForNextCompileSlot } from './helpers/compile'
|
||||
|
||||
const USER = 'user@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
|
||||
startWith({})
|
||||
ensureUserExists({ email: USER })
|
||||
@@ -13,7 +13,7 @@ import { prepareWaitForNextCompileSlot } from './helpers/compile'
|
||||
const USER = 'user@example.com'
|
||||
const COLLABORATOR = 'collaborator@example.com'
|
||||
|
||||
describe('new editor.editor', function () {
|
||||
describe('editor', function () {
|
||||
if (isExcludedBySharding('PRO_DEFAULT_1')) return
|
||||
startWith({ pro: true })
|
||||
ensureUserExists({ email: USER })
|
||||
@@ -17,7 +17,7 @@ import { prepareWaitForNextCompileSlot } from './helpers/compile'
|
||||
|
||||
const USER = 'user@example.com'
|
||||
|
||||
describe('new editor.git-bridge', function () {
|
||||
describe('git-bridge', function () {
|
||||
const ENABLED_VARS = {
|
||||
GIT_BRIDGE_ENABLED: 'true',
|
||||
GIT_BRIDGE_HOST: 'git-bridge',
|
||||
@@ -18,7 +18,7 @@ function bringServerProBackUp() {
|
||||
})
|
||||
}
|
||||
|
||||
describe('new editor.GracefulShutdown', function () {
|
||||
describe('GracefulShutdown', function () {
|
||||
if (isExcludedBySharding('PRO_CUSTOM_1')) return
|
||||
startWith({
|
||||
pro: true,
|
||||
@@ -3,7 +3,7 @@ import { prepareWaitForNextCompileSlot } from './helpers/compile'
|
||||
import { ensureUserExists, login } from './helpers/login'
|
||||
import { isExcludedBySharding, startWith } from './helpers/config'
|
||||
|
||||
describe('new editor.History', function () {
|
||||
describe('History', function () {
|
||||
if (isExcludedBySharding('CE_DEFAULT')) return
|
||||
startWith({})
|
||||
ensureUserExists({ email: 'user@example.com' })
|
||||
@@ -19,7 +19,7 @@ import {
|
||||
import { prepareWaitForNextCompileSlot } from './helpers/compile'
|
||||
import { beforeWithReRunOnTestRetry } from './helpers/beforeWithReRunOnTestRetry'
|
||||
|
||||
describe('new editor.Project Sharing', function () {
|
||||
describe('Project Sharing', function () {
|
||||
if (isExcludedBySharding('PRO_CUSTOM_4')) return
|
||||
ensureUserExists({ email: 'user@example.com' })
|
||||
startWith({ withDataDir: true, pro: true })
|
||||
@@ -7,7 +7,7 @@ import { waitUntilScrollingFinished } from './helpers/waitUntilScrollingFinished
|
||||
|
||||
const LABEL_TEX_LIVE_VERSION = 'TeX Live version'
|
||||
|
||||
describe('new editor.SandboxedCompiles', function () {
|
||||
describe('SandboxedCompiles', function () {
|
||||
const enabledVars = {
|
||||
SANDBOXED_COMPILES: 'true',
|
||||
ALL_TEX_LIVE_DOCKER_IMAGE_NAMES: '2023,2022',
|
||||
@@ -14,7 +14,7 @@ const TEMPLATES_USER = 'templates@example.com'
|
||||
// Re-use value for "exists" and "does not exist" tests
|
||||
const LABEL_BROWSE_TEMPLATES = 'Browse templates'
|
||||
|
||||
describe('new editor.Templates', function () {
|
||||
describe('Templates', function () {
|
||||
ensureUserExists({ email: TEMPLATES_USER })
|
||||
ensureUserExists({ email: WITHOUT_PROJECTS_USER })
|
||||
|
||||
Reference in New Issue
Block a user