[MM-61595]: Removed the unnecessary dialog text from toggle button's aria-label property (#29595)

Этот коммит содержится в:
ayush-chauhan233
2025-01-28 19:42:39 +05:30
коммит произвёл GitHub
родитель 64070b0780
Коммит 77ab7b92c6
12 изменённых файлов: 27 добавлений и 22 удалений

Просмотреть файл

@@ -47,7 +47,7 @@ describe('Support Packet Generation', () => {
const goToSupportPacketGenerationModal = () => {
// # Open system menu and click Customer Support
cy.findByRole('button', {name: 'Menu Icon'}).should('exist').click();
cy.findByRole('button', {name: 'Commercial Support dialog'}).click();
cy.findByRole('button', {name: 'Commercial Support'}).click();
// * Ensure the download Support Packet button exist and that text regarding setting the proper settings exist
cy.get('a.DownloadSupportPacket').should('exist');

Просмотреть файл

@@ -26,7 +26,7 @@ describe('Keyboard Shortcuts', () => {
cy.postMessage(message);
// # Open the edit the channel header modal
cy.get('[aria-label="Set header dialog"]').click();
cy.get('[aria-label="Set header"]').click();
// * Verify modal is open
cy.findByRole('dialog', {name: 'Edit Header for Off-Topic'}).within(() => {