mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user