Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

[MM-15451] Fix failing E2E tests due to recent changes #2760

Merged
merged 1 commit into from
May 10, 2019
Merged

[MM-15451] Fix failing E2E tests due to recent changes #2760

merged 1 commit into from
May 10, 2019

Conversation

saturninoabril
Copy link
Member

Summary

Fixed failing tests of the following:

  • account_settings/display/code_theme_colors_spec.js
  • account_settings/display/message_display_,mode_spec.js
  • account_settings/theme_color/custom_colors_sidebar_styles_spec.js
  • at_mentions/at_mentions_spec.js

By fixing the way we're getting last post ID (cy.getLastPostId) --> affected by the recent change related to virtualized post list.
By changing #accountSettingsTitle to #accountSettingsModalLabel --> affected by recent change on aria labels

Ticket Link

Jira: MM-15451

@saturninoabril saturninoabril added the 2: Dev Review Requires review by a core commiter label May 9, 2019
@saturninoabril saturninoabril added this to the v5.12.0 milestone May 9, 2019
@@ -112,7 +112,7 @@ describe('Teams Suite', () => {

it('TS14633 Leave all teams', () => {
// 1. Login and go to /
cy.apiLogin('user-2');
cy.apiLogin('user-3');
Copy link
Member Author

Choose a reason for hiding this comment

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

Not related to the issue but changed anyway. Since the original user-2 is leaving teams, other tests that's using such user will fail (in case this test runs before that).

Long term might be to have this test rejoin the teams on after hook. Will address that separately.

Copy link
Contributor

@thekiiingbob thekiiingbob left a comment

Choose a reason for hiding this comment

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

LGTM.

@thekiiingbob thekiiingbob merged commit 8ba14ec into mattermost:master May 10, 2019
@saturninoabril saturninoabril deleted the MM-15451 branch May 10, 2019 12:48
@hanzei hanzei added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels May 13, 2019
@lindy65 lindy65 added Tests/Not Needed Does not require new release tests and removed 4: Reviews Complete All reviewers have approved the pull request labels May 13, 2019
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels May 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation Tests/Not Needed Does not require new release tests
Projects
None yet
6 participants