Fixed/stabilized tests; added new known issue tickets
This commit is contained in:
parent
8d7b15da51
commit
5b14d31245
5 changed files with 7 additions and 6 deletions
|
|
@ -2,7 +2,7 @@
|
|||
// See LICENSE.txt for license information.
|
||||
|
||||
import {ChannelListScreen} from '@support/ui/screen';
|
||||
import {timeouts} from '@support/utils';
|
||||
import {timeouts, wait} from '@support/utils';
|
||||
import {expect} from 'detox';
|
||||
|
||||
class ServerListScreen {
|
||||
|
|
@ -61,6 +61,7 @@ class ServerListScreen {
|
|||
await ChannelListScreen.serverIcon.tap();
|
||||
|
||||
// # Close tip overlay
|
||||
await wait(timeouts.FOUR_SEC);
|
||||
await this.serverListScreen.tap({x: 5, y: 10});
|
||||
|
||||
return this.toBeVisible();
|
||||
|
|
|
|||
|
|
@ -232,7 +232,7 @@ describe('Autocomplete - At-Mention', () => {
|
|||
await expect(userAtMentionAutocomplete).not.toBeVisible();
|
||||
});
|
||||
|
||||
it('MM-T4878_11 - should be able to select at-mention multiple times', async () => {
|
||||
it('MM-T4878_11 - should be able to select at-mention multiple times -- KNOWN ISSUE: MM-46648', async () => {
|
||||
// # Type in "@" to activate at-mention autocomplete
|
||||
await expect(Autocomplete.sectionAtMentionList).not.toBeVisible();
|
||||
await ChannelScreen.postInput.typeText('@');
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ describe('Autocomplete - Create Channel', () => {
|
|||
await expect(Autocomplete.sectionAtMentionList).toBeVisible();
|
||||
});
|
||||
|
||||
it('MM-T4904_2 - should render channel mention autocomplete in header input', async () => {
|
||||
it('MM-T4904_2 - should render channel mention autocomplete in header input -- KNOWN ISSUE: MM-46650', async () => {
|
||||
// * Verify channel mention list is not displayed
|
||||
await expect(Autocomplete.sectionChannelMentionList).not.toBeVisible();
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ describe('Server Login - Connect to Server', () => {
|
|||
await connectButton.tap();
|
||||
|
||||
// * Verify invalid url error
|
||||
await expect(serverUrlInputError).toHaveText(`"http://${invalidServerUrl}" is not a valid API base URL`);
|
||||
await expect(serverUrlInputError).toHaveText('Can’t find this server. Check spelling and URL format.');
|
||||
});
|
||||
|
||||
it('MM-T4676_4 - should show connection error on invalid ssl or invalid host', async () => {
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ describe('Threads - Global Threads', () => {
|
|||
await expect(GlobalThreadsScreen.getThreadItem(parentPost.id)).toBeVisible();
|
||||
await expect(GlobalThreadsScreen.getThreadItemThreadStarterUserDisplayName(parentPost.id)).toHaveText(testUser.username);
|
||||
await expect(GlobalThreadsScreen.getThreadItemThreadStarterChannelDisplayName(parentPost.id)).toHaveText(testChannel.display_name.toUpperCase());
|
||||
await expect(GlobalThreadsScreen.getThreadItemFooterUnreadReplies(parentPost.id)).toHaveText('1 new reply');
|
||||
await expect(GlobalThreadsScreen.getThreadItemFooterReplyCount(parentPost.id)).toHaveText('1 reply');
|
||||
|
||||
// # Tap on the thread
|
||||
await GlobalThreadsScreen.getThreadItem(parentPost.id).tap();
|
||||
|
|
@ -161,7 +161,7 @@ describe('Threads - Global Threads', () => {
|
|||
await expect(GlobalThreadsScreen.getThreadItem(parentPost.id)).toBeVisible();
|
||||
await expect(GlobalThreadsScreen.getThreadItemThreadStarterUserDisplayName(parentPost.id)).toHaveText('sysadmin');
|
||||
await expect(GlobalThreadsScreen.getThreadItemThreadStarterChannelDisplayName(parentPost.id)).toHaveText(testChannel.display_name.toUpperCase());
|
||||
await expect(GlobalThreadsScreen.getThreadItemFooterUnreadReplies(parentPost.id)).toHaveText('1 new reply');
|
||||
await expect(GlobalThreadsScreen.getThreadItemFooterReplyCount(parentPost.id)).toHaveText('1 reply');
|
||||
|
||||
// # Tap on the thread
|
||||
await GlobalThreadsScreen.getThreadItem(parentPost.id).tap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue