[MM-62980][MM-62970] Login and Password Reset accessibility fixes (#31028)
* [MM-62980] Set aria-describedby for Input component when again custom message is set * [MM-62970] Change password reset send link input to Input * Fix i18n * Fix e2e * fix snapshots --------- Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8127d105ad
Коммит
62a93cd36f
@@ -55,7 +55,7 @@ describe('Authentication', () => {
|
||||
cy.url().should('contain', '/reset_password');
|
||||
|
||||
// # Enter an email that doesn't have an account on the server (but that you CAN receive email at)
|
||||
cy.findByPlaceholderText('Email').type('test@test.com');
|
||||
cy.get('#passwordResetEmailInput').type('test@test.com');
|
||||
|
||||
cy.findByText('Reset my password').should('be.visible').click();
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ export default class ResetPasswordPage {
|
||||
|
||||
this.title = page.locator('h1:has-text("Password Reset")');
|
||||
this.subtitle = page.locator('text=To reset your password, enter the email address you used to sign up');
|
||||
this.emailInput = page.locator(`[placeholder="Email"]`);
|
||||
this.emailInput = page.locator('#passwordResetEmailInput');
|
||||
this.resetButton = page.locator('#passwordResetButton');
|
||||
this.formContainer = page.locator('.signup-team__container');
|
||||
|
||||
|
||||
Двоичный файл не отображается.
|
До Ширина: | Высота: | Размер: 185 KiB После Ширина: | Высота: | Размер: 185 KiB |
Двоичный файл не отображается.
|
До Ширина: | Высота: | Размер: 208 KiB После Ширина: | Высота: | Размер: 209 KiB |
Двоичный файл не отображается.
|
До Ширина: | Высота: | Размер: 210 KiB После Ширина: | Высота: | Размер: 211 KiB |
Ссылка в новой задаче
Block a user