Этот коммит содержится в:
yasserfaraazkhan
2024-03-20 23:09:45 +05:30
коммит произвёл GitHub
родитель 6ea363e260
Коммит 9e5d486a5b
33 изменённых файлов: 104 добавлений и 116 удалений

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

@@ -192,7 +192,7 @@ describe('Forward Message', () => {
cy.get('.forward-post__select').should('not.exist');
// * Assert if button is enabled
cy.get('.GenericModal__button.confirm').should('not.be.disabled');
cy.get('.btn-tertiary').should('not.be.disabled');
// * Assert Notification is shown
cy.findByTestId('notification_forward_post').should('be.visible').should('contain.text', `This message is from a private conversation and can only be shared with ${dmChannel.display_name}`);
@@ -207,7 +207,7 @@ describe('Forward Message', () => {
if (cancel) {
// * Assert if button is active
cy.get('.GenericModal__button.cancel').should('not.be.disabled').type('{esc}', {force: true});
cy.get('.btn-tertiary').should('not.be.disabled').type('{esc}', {force: true});
} else {
// * Assert if button is active
cy.get('.GenericModal__button.confirm').should('not.be.disabled').type('{enter}', {force: true});

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

@@ -189,7 +189,7 @@ describe('Forward Message', () => {
if (cancel) {
// * Assert if button is active
cy.get('.GenericModal__button.cancel').should('not.be.disabled').click();
cy.get('.btn-tertiary').should('not.be.disabled').click();
} else {
// * Assert if button is active
cy.get('.GenericModal__button.confirm').should('not.be.disabled').click();