mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Improve landmarks on the Project dashboard and Editor pages (#27401)
* Improve landmarks for the Project Dasbhboard * Improve landmarks for the IDE page * Improve landmarks for the new redesigned IDE page * Sort locales * Fix typo OlButtonToolbar -> OLButtonToolbar * Update project navbar translation * Update labels * Redundant main landmark * Fix failing test * Descriptive name for the rails tab * Header should not be in a button * Update translation to Account and help * Update translation to Project categories and tags * Add explanations * Show landmark for the survey widget when it's rendered * Suggestions for nav stretch/scroll/borders * Source format --------- Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com> GitOrigin-RevId: d05a738e782d2edb229529aadf92b9004dfd973a
This commit is contained in:
committed by
Copybot
co-authored by
Antoine Clausse
parent
1abb98fac2
commit
7c97cbbfe4
@@ -31,10 +31,12 @@ describe('<PdfJSViewer/>', function () {
|
||||
|
||||
cy.waitForCompile({ pdf: true })
|
||||
|
||||
cy.findByRole('region', { name: `Page ${FSI}1${PDI}` })
|
||||
cy.findByRole('region', { name: `Page ${FSI}2${PDI}` })
|
||||
cy.findByRole('region', { name: `Page ${FSI}3${PDI}` })
|
||||
cy.findByRole('region', { name: `Page ${FSI}4${PDI}` }).should('not.exist')
|
||||
cy.findByTestId('pdfjs-viewer-inner').within(() => {
|
||||
cy.findByLabelText(`Page ${FSI}1${PDI}`)
|
||||
cy.findByLabelText(`Page ${FSI}2${PDI}`)
|
||||
cy.findByLabelText(`Page ${FSI}3${PDI}`)
|
||||
cy.findByLabelText(`Page ${FSI}4${PDI}`).should('not.exist')
|
||||
})
|
||||
|
||||
cy.contains('Your Paper')
|
||||
})
|
||||
@@ -96,7 +98,9 @@ describe('<PdfJSViewer/>', function () {
|
||||
|
||||
cy.waitForCompile({ pdf: true })
|
||||
|
||||
cy.findByRole('region', { name: `Page ${FSI}1${PDI}` })
|
||||
cy.findByTestId('pdfjs-viewer-inner').within(() => {
|
||||
cy.findByLabelText(`Page ${FSI}1${PDI}`)
|
||||
})
|
||||
|
||||
cy.then(() => unmountComponentAtNode(getContainerEl()))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user