mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #19061 from overleaf/jpa-fix-e2e-test
[server-ce] update tests for new notifications style on project-dash GitOrigin-RevId: 7fe6aadfee348ad0513e49d601812b90ceb6aaa8
This commit is contained in:
parent
790f90e97d
commit
c851be7809
1 changed files with 3 additions and 3 deletions
|
@ -109,12 +109,12 @@ describe('Project creation and compilation', function () {
|
||||||
|
|
||||||
login('collaborator@example.com')
|
login('collaborator@example.com')
|
||||||
cy.visit('/project')
|
cy.visit('/project')
|
||||||
// FIXME: Should have data-test-id
|
|
||||||
cy.findByText(targetProjectName)
|
cy.findByText(targetProjectName)
|
||||||
.parent()
|
.parent()
|
||||||
.parent()
|
.parent()
|
||||||
.find('button.btn-info')
|
.within(() => {
|
||||||
.click()
|
cy.findByText('Join Project').click()
|
||||||
|
})
|
||||||
cy.findByText('Open Project').click()
|
cy.findByText('Open Project').click()
|
||||||
cy.url().should('match', /\/project\/[a-fA-F0-9]{24}/)
|
cy.url().should('match', /\/project\/[a-fA-F0-9]{24}/)
|
||||||
cy.get('@targetProjectId').then(targetProjectId => {
|
cy.get('@targetProjectId').then(targetProjectId => {
|
||||||
|
|
Loading…
Reference in a new issue