Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(e2e): Verify Test Notification on Desktop #3162

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

yasserfaraazkhan
Copy link
Contributor

@yasserfaraazkhan yasserfaraazkhan commented Oct 8, 2024

  • Fixed the windows job getting skipped in master branch
  • Added Test to check Notification Badge on the task Bar on MacOS. (there's not method in electron api that supports windows & linux)

Waiting on Dev PR to merge: mattermost/mattermost#28334

NONE

@yasserfaraazkhan yasserfaraazkhan added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

Here are the test results below:

Test Summary for Linux on commit 5e76ce1

New failed tests found on Linux:

  • Trigger Notification From desktop should receive a notification on Ubuntu

The following known failed tests have been fixed on Linux:
- menu/view MM-T820 should open Developer Tools For Application Wrapper for main window
- Menu/window_menu MM-T824 should be minimized when keyboard shortcuts are pressed
- Menu/window_menu MM-T825 should be hidden when keyboard shortcuts are pressed
- header MM-T2637 Double-Clicking on the header should minimize/maximize the app MM-T2637_1 should maximize on double-clicking the header

Test Summary for macOS on commit 5e76ce1

New failed tests found on macOS:

  • Trigger Notification From desktop should receive a notification on macOS

The following known failed tests have been fixed on macOS:
- popup MM-T2827_1 should be able to select all in popup windows

@github-actions github-actions bot removed the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 8, 2024
@yasserfaraazkhan yasserfaraazkhan added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

Here are the test results below:

Test Summary for Linux on commit 2759c14

New failed tests found on Linux:

  • Trigger Notification From desktop should receive a notification on Ubuntu

The following known failed tests have been fixed on Linux:
- menu/view MM-T820 should open Developer Tools For Application Wrapper for main window
- Menu/window_menu MM-T824 should be minimized when keyboard shortcuts are pressed
- Menu/window_menu MM-T825 should be hidden when keyboard shortcuts are pressed
- header MM-T2637 Double-Clicking on the header should minimize/maximize the app MM-T2637_1 should maximize on double-clicking the header

Test Summary for macOS on commit 2759c14

New failed tests found on macOS:

  • Trigger Notification From desktop should receive a notification on macOS

The following known failed tests have been fixed on macOS:
- popup MM-T2827_1 should be able to select all in popup windows

@github-actions github-actions bot removed the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 8, 2024
@yasserfaraazkhan yasserfaraazkhan added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

Here are the test results below:

Test Summary for Linux on commit 37ccff3

New failed tests found on Linux:

  • Trigger Notification From desktop should receive a notification on Ubuntu

The following known failed tests have been fixed on Linux:
- menu/view MM-T820 should open Developer Tools For Application Wrapper for main window
- Menu/window_menu MM-T824 should be minimized when keyboard shortcuts are pressed
- Menu/window_menu MM-T825 should be hidden when keyboard shortcuts are pressed
- header MM-T2637 Double-Clicking on the header should minimize/maximize the app MM-T2637_1 should maximize on double-clicking the header

Test Summary for macOS on commit 37ccff3

New failed tests found on macOS:

  • Trigger Notification From desktop should receive a notification on macOS

The following known failed tests have been fixed on macOS:
- popup MM-T2827_1 should be able to select all in popup windows

@github-actions github-actions bot removed the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 8, 2024
Copy link

github-actions bot commented Oct 8, 2024

Here are the test results below:

Test Summary for Linux on commit 37ccff3

New failed tests found on Linux:

  • Trigger Notification From desktop should receive a notification on Ubuntu

The following known failed tests have been fixed on Linux:
- menu/view MM-T820 should open Developer Tools For Application Wrapper for main window
- Menu/window_menu MM-T824 should be minimized when keyboard shortcuts are pressed
- Menu/window_menu MM-T825 should be hidden when keyboard shortcuts are pressed
- header MM-T2637 Double-Clicking on the header should minimize/maximize the app MM-T2637_1 should maximize on double-clicking the header

Test Summary for macOS on commit 37ccff3

The following known failed tests have been fixed on macOS:
- popup MM-T2827_1 should be able to select all in popup windows

@yasserfaraazkhan yasserfaraazkhan added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 13, 2024
Copy link

Here are the test results below:

Test Summary for Linux on commit 831ad45

New failed tests found on Linux:

  • Trigger Notification From desktop should receive a notification on Ubuntu

The following known failed tests have been fixed on Linux:
- menu/view MM-T820 should open Developer Tools For Application Wrapper for main window
- Menu/window_menu MM-T824 should be minimized when keyboard shortcuts are pressed
- Menu/window_menu MM-T825 should be hidden when keyboard shortcuts are pressed
- header MM-T2637 Double-Clicking on the header should minimize/maximize the app MM-T2637_1 should maximize on double-clicking the header

Test Summary for macOS on commit 831ad45

New failed tests found on macOS:

  • Trigger Notification From desktop should receive a notification on macOS

The following known failed tests have been fixed on macOS:
- popup MM-T2827_1 should be able to select all in popup windows

@github-actions github-actions bot removed the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 13, 2024
Copy link

Here are the test results below:

Test Summary for Linux on commit 831ad45

New failed tests found on Linux:

  • Trigger Notification From desktop should receive a notification on Ubuntu

The following known failed tests have been fixed on Linux:
- menu/view MM-T820 should open Developer Tools For Application Wrapper for main window
- Menu/window_menu MM-T824 should be minimized when keyboard shortcuts are pressed
- Menu/window_menu MM-T825 should be hidden when keyboard shortcuts are pressed
- header MM-T2637 Double-Clicking on the header should minimize/maximize the app MM-T2637_1 should maximize on double-clicking the header

Test Summary for macOS on commit 831ad45

New failed tests found on macOS:

  • Trigger Notification From desktop should receive a notification on macOS

The following known failed tests have been fixed on macOS:
- popup MM-T2827_1 should be able to select all in popup windows

@yasserfaraazkhan yasserfaraazkhan added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 13, 2024
Copy link

Here are the test results below:

Test Summary for Linux on commit ee013e1

New failed tests found on Linux:

  • Trigger Notification From desktop should receive a notification on Ubuntu

The following known failed tests have been fixed on Linux:
- menu/view MM-T820 should open Developer Tools For Application Wrapper for main window
- Menu/window_menu MM-T824 should be minimized when keyboard shortcuts are pressed
- Menu/window_menu MM-T825 should be hidden when keyboard shortcuts are pressed
- header MM-T2637 Double-Clicking on the header should minimize/maximize the app MM-T2637_1 should maximize on double-clicking the header

Test Summary for macOS on commit ee013e1

New failed tests found on macOS:

  • Trigger Notification From desktop should receive a notification on macOS

The following known failed tests have been fixed on macOS:
- popup MM-T2827_1 should be able to select all in popup windows

Test Summary for Windows on commit ee013e1

New failed tests found on Windows:

  • Trigger Notification From desktop should receive a notification on Windows

The following known failed tests have been fixed on Windows:
- application MM-T1304/MM-T1306 should open the app on the requested deep link

@github-actions github-actions bot removed the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Oct 13, 2024
@yasserfaraazkhan yasserfaraazkhan marked this pull request as ready for review October 15, 2024 12:19
@@ -31,7 +31,7 @@ const downloadsLocation = path.join(userDataDir, 'Downloads');
const boundsInfoPath = path.join(userDataDir, 'bounds-info.json');
const appUpdatePath = path.join(userDataDir, 'app-update.yml');
const exampleURL = 'http://example.com/';
const mattermostURL = process.env.MM_TEST_SERVER_URL || 'http://localhost:8065/';
const mattermostURL = 'https://mattermost-pr-28334.test.mattermost.cloud/'; // process.env.MM_TEST_SERVER_URL || 'http://localhost:8065/';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this wasn't intended to be merged?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah @devinbinnie .

sorry, I should have added a note. I'll remove it once the Dev PR gets into master

@@ -266,8 +266,8 @@ module.exports = {
await window.waitForSelector('#input_password-input');
await window.waitForSelector('#saveSetting');

await window.type('#input_loginId', process.env.MM_TEST_USER_NAME);
await window.type('#input_password-input', process.env.MM_TEST_PASSWORD);
await window.type('#input_loginId', 'sysadmin');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

e2e/specs/notification_trigger/helpers.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants