mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Improve ARIA labels for buttons and links on the Account setting page (#25499)
* Improve announced button and link labels for screen reader users * Improve labels for integration widgets and update test * Make integration widget IDs to be required GitOrigin-RevId: 1e0124ef63a91fb63dffd79881c60794bccb9d27
This commit is contained in:
@@ -93,7 +93,7 @@ describe('git-bridge', function () {
|
||||
cy.get('code').contains(`git clone ${gitURL(id.toString())}`)
|
||||
})
|
||||
cy.findByRole('button', {
|
||||
name: 'Generate token',
|
||||
name: /generate token/i,
|
||||
}).click()
|
||||
cy.get('code').contains(/olp_[a-zA-Z0-9]{16}/)
|
||||
})
|
||||
@@ -196,7 +196,7 @@ describe('git-bridge', function () {
|
||||
cy.get('code').contains(`git clone ${gitURL(projectId.toString())}`)
|
||||
})
|
||||
cy.findByRole('button', {
|
||||
name: 'Generate token',
|
||||
name: /generate token/i,
|
||||
}).click()
|
||||
cy.get('code')
|
||||
.contains(/olp_[a-zA-Z0-9]{16}/)
|
||||
|
||||
Reference in New Issue
Block a user