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

[MM-62094] E2E: Don't including loading screen or other windows in server map, remove check for loading screen finish #3252

Merged
merged 18 commits into from
Feb 4, 2025

Conversation

devinbinnie
Copy link
Member

@devinbinnie devinbinnie commented Dec 12, 2024

Summary

Ticket Link

Checklist

Device Information

This PR was tested on:

Screenshots

Release Note


@devinbinnie devinbinnie added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Dec 12, 2024
Copy link

Here are the test results below:

Test Summary for Linux on commit e7fed2f

New failed tests found on Linux:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • menu/view MM-T816 Toggle Full Screen in the Menu Bar

Test Summary for macOS on commit e7fed2f

New failed tests found on macOS:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • copylink MM-T125 Copy Link can be used from channel LHS
  • menu/view MM-T817 Actual Size Zoom in the menu bar
  • Trigger Notification From desktop should receive a notification on macOS
  • LongServerName MM-T4050 Long server name

Test Summary for Windows on commit e7fed2f

New failed tests found on Windows:

  • focus Focus textbox tests MM-T1315 should return focus to the message box when closing the settings window

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

Here are the test results below:

Test Summary for Linux on commit 9fdd96e

New failed tests found on Linux:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • edit_menu MM-T807 Undo in the Menu Bar
  • edit_menu MM-T808 Redo in the Menu Bar
  • edit_menu MM-T809 Cut in the Menu Bar
  • edit_menu MM-T810 Copy in the Menu Bar
  • edit_menu MM-T812 Select All in the Menu Bar
  • menu/view MM-T816 Toggle Full Screen in the Menu Bar

Test Summary for macOS on commit 9fdd96e

New failed tests found on macOS:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • edit_menu MM-T807 Undo in the Menu Bar
  • edit_menu MM-T808 Redo in the Menu Bar
  • edit_menu MM-T809 Cut in the Menu Bar
  • edit_menu MM-T810 Copy in the Menu Bar
  • edit_menu MM-T812 Select All in the Menu Bar
  • menu/view MM-T817 Actual Size Zoom in the menu bar
  • Trigger Notification From desktop should receive a notification on macOS
  • popup MM-T2827_2 should be able to cut and paste in popup windows
  • popup MM-T2827_3 should be able to copy and paste in popup windows

Test Summary for Windows on commit 9fdd96e

New failed tests found on Windows:

  • focus Focus textbox tests MM-T1315 should return focus to the message box when closing the settings window

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

Here are the test results below:

Test Summary for Linux on commit ad4b160

New failed tests found on Linux:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • edit_menu MM-T807 Undo in the Menu Bar
  • edit_menu MM-T808 Redo in the Menu Bar
  • edit_menu MM-T809 Cut in the Menu Bar
  • edit_menu MM-T810 Copy in the Menu Bar
  • edit_menu MM-T812 Select All in the Menu Bar
  • menu/view MM-T816 Toggle Full Screen in the Menu Bar
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_1 Zoom in when CmdOrCtrl+Plus is pressed
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_2 Zoom in when CmdOrCtrl+Shift+Plus is pressed
  • menu/view MM-T819 Zoom out from the menu bar MM-T819_2 Zoom out when CmdOrCtrl+Shift+Minus is pressed
  • RemoveServerModal MM-T4390_3 should disappear on click Close

Test Summary for macOS on commit ad4b160

New failed tests found on macOS:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • edit_menu MM-T807 Undo in the Menu Bar
  • edit_menu MM-T808 Redo in the Menu Bar
  • edit_menu MM-T809 Cut in the Menu Bar
  • edit_menu MM-T810 Copy in the Menu Bar
  • edit_menu MM-T812 Select All in the Menu Bar
  • Trigger Notification From desktop should receive a notification on macOS
  • popup MM-T2827_2 should be able to cut and paste in popup windows
  • popup MM-T2827_3 should be able to copy and paste in popup windows

Test Summary for Windows on commit ad4b160

New failed tests found on Windows:

  • focus Focus textbox tests MM-T1315 should return focus to the message box when closing the settings window
  • menu/view MM-T817 Actual Size Zoom in the menu bar

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

Here are the test results below:

Test Summary for Linux on commit 1d2f65e

New failed tests found on Linux:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • edit_menu MM-T807 Undo in the Menu Bar
  • edit_menu MM-T808 Redo in the Menu Bar
  • edit_menu MM-T809 Cut in the Menu Bar
  • edit_menu MM-T810 Copy in the Menu Bar
  • edit_menu MM-T812 Select All in the Menu Bar
  • menu/view MM-T816 Toggle Full Screen in the Menu Bar

Test Summary for macOS on commit 1d2f65e

New failed tests found on macOS:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • copylink MM-T125 Copy Link can be used from channel LHS
  • Trigger Notification From desktop should receive a notification on macOS

Test Summary for Windows on commit 1d2f65e

New failed tests found on Windows:

  • focus Focus textbox tests MM-T1315 should return focus to the message box when closing the settings window

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

Here are the test results below:

Test Summary for Linux on commit 67c8995

New failed tests found on Linux:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • edit_menu MM-T807 Undo in the Menu Bar
  • edit_menu MM-T808 Redo in the Menu Bar
  • edit_menu MM-T809 Cut in the Menu Bar
  • edit_menu MM-T810 Copy in the Menu Bar
  • edit_menu MM-T812 Select All in the Menu Bar
  • menu/view MM-T816 Toggle Full Screen in the Menu Bar
  • menu/view MM-T817 Actual Size Zoom in the menu bar
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_2 Zoom in when CmdOrCtrl+Shift+Plus is pressed
  • menu/view MM-T819 Zoom out from the menu bar MM-T819_2 Zoom out when CmdOrCtrl+Shift+Minus is pressed

Test Summary for macOS on commit 67c8995

New failed tests found on macOS:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • edit_menu MM-T807 Undo in the Menu Bar
  • edit_menu MM-T808 Redo in the Menu Bar
  • edit_menu MM-T809 Cut in the Menu Bar
  • edit_menu MM-T810 Copy in the Menu Bar
  • edit_menu MM-T812 Select All in the Menu Bar
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_2 Zoom in when CmdOrCtrl+Shift+Plus is pressed
  • menu/view MM-T819 Zoom out from the menu bar MM-T819_2 Zoom out when CmdOrCtrl+Shift+Minus is pressed
  • Trigger Notification From desktop should receive a notification on macOS
  • popup MM-T2827_2 should be able to cut and paste in popup windows
  • popup MM-T2827_3 should be able to copy and paste in popup windows

Test Summary for Windows on commit 67c8995

New failed tests found on Windows:

  • focus Focus textbox tests MM-T1315 should return focus to the message box when closing the settings window

@yasserfaraazkhan
Copy link
Contributor

/update-branch

@devinbinnie
Copy link
Member Author

/update-branch

@yasserfaraazkhan yasserfaraazkhan self-requested a review January 9, 2025 09:48
@yasserfaraazkhan yasserfaraazkhan added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Jan 16, 2025
Copy link

Here are the test results below:

Test Summary for Linux on commit 945c1bf

New failed tests found on Linux:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • menu/view MM-T816 Toggle Full Screen in the Menu Bar
  • menu/view MM-T813 Control+F should focus the search bar in Mattermost
  • menu/view MM-T817 Actual Size Zoom in the menu bar
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_1 Zoom in when CmdOrCtrl+Plus is pressed
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_2 Zoom in when CmdOrCtrl+Shift+Plus is pressed
  • menu/view MM-T819 Zoom out from the menu bar MM-T819_1 Zoom out when CmdOrCtrl+Minus is pressed
  • menu/view MM-T819 Zoom out from the menu bar MM-T819_2 Zoom out when CmdOrCtrl+Shift+Minus is pressed

Test Summary for macOS on commit 945c1bf

New failed tests found on macOS:

  • downloads/downloads_manager MM-22239 should open downloads dropdown when a download starts
  • copylink MM-T125 Copy Link can be used from channel LHS
  • menu/view MM-T813 Control+F should focus the search bar in Mattermost
  • menu/view MM-T817 Actual Size Zoom in the menu bar
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_1 Zoom in when CmdOrCtrl+Plus is pressed
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_2 Zoom in when CmdOrCtrl+Shift+Plus is pressed
  • menu/view MM-T819 Zoom out from the menu bar MM-T819_1 Zoom out when CmdOrCtrl+Minus is pressed
  • menu/view MM-T819 Zoom out from the menu bar MM-T819_2 Zoom out when CmdOrCtrl+Shift+Minus is pressed
  • Trigger Notification From desktop should receive a notification on macOS

Test Summary for Windows on commit 945c1bf

New failed tests found on Windows:

  • focus Focus textbox tests MM-T1315 should return focus to the message box when closing the settings window
  • menu/view MM-T813 Control+F should focus the search bar in Mattermost
  • menu/view MM-T817 Actual Size Zoom in the menu bar
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_1 Zoom in when CmdOrCtrl+Plus is pressed
  • menu/view MM-T818 Zoom in from the menu bar MM-T818_2 Zoom in when CmdOrCtrl+Shift+Plus is pressed
  • menu/view MM-T819 Zoom out from the menu bar MM-T819_1 Zoom out when CmdOrCtrl+Minus is pressed
  • menu/view MM-T819 Zoom out from the menu bar MM-T819_2 Zoom out when CmdOrCtrl+Shift+Minus is pressed

@github-actions github-actions bot removed the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Jan 16, 2025
@yasserfaraazkhan yasserfaraazkhan self-assigned this Jan 19, 2025
@yasserfaraazkhan yasserfaraazkhan added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Jan 23, 2025
Copy link

Here are the test results below:

Test Summary for Linux on commit b541bc5

New failed tests found on Linux:

  • focus Focus textbox tests MM-T1315 should return focus to the message box when closing the settings window
  • copylink MM-T125 Copy Link can be used from channel LHS

Test Summary for macOS on commit b541bc5

New failed tests found on macOS:

  • copylink MM-T125 Copy Link can be used from channel LHS
  • Trigger Notification From desktop should receive a notification on macOS

Test Summary for Windows on commit b541bc5

New failed tests found on Windows:

  • menu/view MM-T816 Toggle Full Screen in the Menu Bar

@github-actions github-actions bot removed the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Jan 23, 2025
@yasserfaraazkhan yasserfaraazkhan added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Jan 26, 2025
Copy link

Here are the test results below:

Test Summary for Linux on commit 4fb5d82

New failed tests found on Linux:

  • copylink MM-T125 Copy Link can be used from channel LHS

Test Summary for macOS on commit 4fb5d82

New failed tests found on macOS:

  • Trigger Notification From desktop should receive a notification on macOS

Test Summary for Windows on commit 4fb5d82

New failed tests found on Windows:

  • menu/view MM-T816 Toggle Full Screen in the Menu Bar

@github-actions github-actions bot removed the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Jan 26, 2025
@yasserfaraazkhan yasserfaraazkhan added the Run Desktop E2E Tests This label will trigger the workflow that runs e2e automation tests label Jan 26, 2025
@yasserfaraazkhan yasserfaraazkhan marked this pull request as ready for review January 26, 2025 20:34
Copy link

Here are the test results below:

Test Summary for Linux on commit 5f36d80

New failed tests found on Linux:

  • focus Focus textbox tests MM-T1315 should return focus to the message box when closing the settings window

Test Summary for macOS on commit 5f36d80

All stable tests passed on macOS.

Test Summary for Windows on commit 5f36d80

All stable tests passed on Windows.

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

Here are the test results below:

Test Summary for Linux on commit 5f36d80

All stable tests passed on Linux.

Test Summary for macOS on commit 5f36d80

All stable tests passed on macOS.

Test Summary for Windows on commit 5f36d80

All stable tests passed on Windows.

@yasserfaraazkhan
Copy link
Contributor

/update-branch

Comment on lines +271 to +283
switch (process.platform) {
case 'darwin':
username = '[email protected]';
break;
case 'linux':
username = '[email protected]';
break;
case 'win32':
username = '[email protected]';
break;
default:
throw new Error('Unsupported platform');
}
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to hardcode these usernames and for each platform?

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @saturninoabril
This is a temp fix untill we have a support to spin up a server on run time and destroying it.

Since we use same user account and 1 instance, we end up running same tests in parallel on 3 OS. There are quite few tests that fail as they interact with default channel or slash command or assert text posted during other OS test is running. To avoid that I have created these on the /cloud instance we use to test.

@yasserfaraazkhan yasserfaraazkhan merged commit 1d912ca into master Feb 4, 2025
13 checks passed
@yasserfaraazkhan yasserfaraazkhan deleted the MM-62094 branch February 4, 2025 05:45
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.

7 participants