Fixed/stabilized tests; added new known issue tickets

This commit is contained in:
Joseph Baylon 2022-08-26 09:28:14 -07:00
parent 8d7b15da51
commit 5b14d31245
5 changed files with 7 additions and 6 deletions

View file

@ -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();

View file

@ -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('@');

View file

@ -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();

View file

@ -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('Cant find this server. Check spelling and URL format.');
});
it('MM-T4676_4 - should show connection error on invalid ssl or invalid host', async () => {

View file

@ -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();