diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 21:10:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 21:10:14 +0300 |
commit | f3b791d5d5b0b058d2b717da1a54a63f3bba5adc (patch) | |
tree | 0f88def948be12834a60ca156502c304e0a10aa3 /spec/frontend_integration/ide | |
parent | ef73ee020e96f39a109a16c4c6b018d8ea7cabc1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend_integration/ide')
-rw-r--r-- | spec/frontend_integration/ide/helpers/ide_helper.js | 4 | ||||
-rw-r--r-- | spec/frontend_integration/ide/user_opens_file_spec.js | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/spec/frontend_integration/ide/helpers/ide_helper.js b/spec/frontend_integration/ide/helpers/ide_helper.js index fe8d5f93794..7ae7c4cb0b6 100644 --- a/spec/frontend_integration/ide/helpers/ide_helper.js +++ b/spec/frontend_integration/ide/helpers/ide_helper.js @@ -45,9 +45,9 @@ export const getEditorValue = async () => { return window.monaco.editor.getModel(uri).getValue(); }; -const findTreeBody = () => screen.findByTestId('ide-tree-body', {}, { timeout: 5000 }); +const findTreeBody = () => screen.findByTestId('ide-tree-body'); -const findRootActions = () => screen.findByTestId('ide-root-actions', {}, { timeout: 7000 }); +const findRootActions = () => screen.findByTestId('ide-root-actions'); const findFileRowContainer = (row = null) => row ? Promise.resolve(row.parentElement) : findTreeBody(); diff --git a/spec/frontend_integration/ide/user_opens_file_spec.js b/spec/frontend_integration/ide/user_opens_file_spec.js index 98a73c7a029..7fa6dcecc9e 100644 --- a/spec/frontend_integration/ide/user_opens_file_spec.js +++ b/spec/frontend_integration/ide/user_opens_file_spec.js @@ -3,9 +3,7 @@ import { screen } from '@testing-library/dom'; import * as ideHelper from './helpers/ide_helper'; import startWebIDE from './helpers/start'; -// https://gitlab.com/gitlab-org/gitlab/-/issues/293654#note_466432769 -// eslint-disable-next-line jest/no-disabled-tests -describe.skip('IDE: User opens a file in the Web IDE', () => { +describe('IDE: User opens a file in the Web IDE', () => { useOverclockTimers(); let vm; |