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

Fix failing test on search specs #3022

Merged
merged 2 commits into from
Jul 2, 2019
Merged

Fix failing test on search specs #3022

merged 2 commits into from
Jul 2, 2019

Conversation

saturninoabril
Copy link
Member

Summary

Fix failing test on search specs

Ticket Link

none

@saturninoabril saturninoabril added the 2: Dev Review Requires review by a core commiter label Jun 26, 2019
@@ -234,8 +237,8 @@ describe('SF15699 Search Date Filter', () => {
searchAndValidate(`before:${secondDateEarly.query} in:town-square ${timestamp}`, [firstMessage]);
});

it('can be used in conjunction with "from:"', function() {
Copy link
Contributor

@thekiiingbob thekiiingbob Jun 27, 2019

Choose a reason for hiding this comment

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

@saturninoabril Were these causing problems?

Copy link
Member Author

@saturninoabril saturninoabril Jun 27, 2019

Choose a reason for hiding this comment

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

Actually the issue is this.newAdmin being undefined which I think is due to nested describe and the scope of doing so (not really sure). Change to arrow function is for consistency only.

@saturninoabril saturninoabril added Work in Progress Not yet ready for review 2: Dev Review Requires review by a core commiter and removed 2: Dev Review Requires review by a core commiter Work in Progress Not yet ready for review labels Jun 27, 2019
@saturninoabril saturninoabril merged commit de35928 into mattermost:master Jul 2, 2019
@saturninoabril saturninoabril deleted the fix-e2e-3 branch July 2, 2019 09:46
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2: Dev Review Requires review by a core commiter Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation
Projects
None yet
4 participants