Fix casing in E2E tests (Example project, Blank project, ...) (#25812)

* Fix casing in Tests (Example project, Blank project, Trashed projects, ...)

* Check "Blank Project" case insentively

* Fix git-bridge tests

GitOrigin-RevId: 52339258016c3a923c6207a65d058cb0d6e9d3a2
This commit is contained in:
Antoine Clausse
2025-05-22 10:38:37 +02:00
committed by Copybot
parent 841e32bb64
commit 52f1e46343
6 changed files with 14 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ describe('editor', () => {
beforeWithReRunOnTestRetry(function () {
projectName = `project-${uuid()}`
login('user@example.com')
createProject(projectName, { type: 'Example Project', open: false }).then(
createProject(projectName, { type: 'Example project', open: false }).then(
id => (projectId = id)
)
;({ recompile, waitForCompileRateLimitCoolOff } =
@@ -62,7 +62,7 @@ describe('editor', () => {
cy.log('add word to dictionary')
cy.get('.ol-cm-spelling-error').contains(word).rightclick()
cy.findByText('Add to Dictionary').click()
cy.findByText('Add to dictionary').click()
cy.get('.ol-cm-spelling-error').should('not.exist')
cy.log('remove word from dictionary')