Skip to content

Commit 8efb913

Browse files
committed
restructured the files
1 parent ad480bc commit 8efb913

File tree

12 files changed

+78
-80
lines changed

12 files changed

+78
-80
lines changed

packages/amazonq/test/e2e_new/amazonq/pinContext/pinContextHelper.ts renamed to packages/amazonq/test/e2e_new/amazonq/helpers/pinContextHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55
import { By, WebviewView } from 'vscode-extension-tester'
6-
import { sleep, waitForElement } from '../utils/generalHelper'
6+
import { sleep, waitForElement } from '../utils/generalUtils'
77
import { WebElement } from 'vscode-extension-tester'
88

99
/**

packages/amazonq/test/e2e_new/amazonq/quickActions/quickActionsHelper.ts renamed to packages/amazonq/test/e2e_new/amazonq/helpers/quickActionsHelper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55

66
import { By, WebElement, WebviewView } from 'vscode-extension-tester'
7-
import { writeToChat } from '../chat/chatHelper'
8-
import { sleep, waitForElements } from '../utils/generalHelper'
7+
import { writeToChat } from '../utils/generalUtils'
8+
import { sleep, waitForElements } from '../utils/generalUtils'
99

1010
/**
1111
* Gets all quick action command menu items

packages/amazonq/test/e2e_new/amazonq/switchModel/switchModelHelper.ts renamed to packages/amazonq/test/e2e_new/amazonq/helpers/switchModelHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55
import { By, WebviewView, WebElement } from 'vscode-extension-tester'
6-
import { waitForElement } from '../utils/generalHelper'
6+
import { waitForElement } from '../utils/generalUtils'
77

88
/**
99
* Lists all available model options in the dropdown

packages/amazonq/test/e2e_new/amazonq/chat/chat.test.ts renamed to packages/amazonq/test/e2e_new/amazonq/tests/chat.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import '../utils/setup'
66
import { WebviewView } from 'vscode-extension-tester'
77
import { testContext } from '../utils/testContext'
8-
import { clearChat, waitForChatResponse, writeToChat } from './chatHelper'
9-
import { closeAllTabs } from '../utils/cleanupHelper'
8+
import { clearChat, waitForChatResponse, writeToChat } from '../utils/generalUtils'
9+
import { closeAllTabs } from '../utils/cleanupUtils'
1010

1111
describe('Amazon Q Chat Basic Functionality', function () {
1212
// this timeout is the general timeout for the entire test suite

packages/amazonq/test/e2e_new/amazonq/pinContext/pinContext.test.ts renamed to packages/amazonq/test/e2e_new/amazonq/tests/pinContext.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
*/
55
import '../utils/setup'
66
import { WebviewView } from 'vscode-extension-tester'
7-
import { closeAllTabs, dismissOverlayIfPresent } from '../utils/cleanupHelper'
7+
import { closeAllTabs, dismissOverlayIfPresent } from '../utils/cleanupUtils'
88
import { testContext } from '../utils/testContext'
9-
import { clickPinContextButton, getPinContextMenuItems, clickPinContextMenuItem } from './pinContextHelper'
10-
import { clearChat } from '../chat/chatHelper'
9+
import { clickPinContextButton, getPinContextMenuItems, clickPinContextMenuItem } from '../helpers/pinContextHelper'
10+
import { clearChat } from '../utils/generalUtils'
1111

1212
describe('Amazon Q Pin Context Functionality', function () {
1313
// this timeout is the general timeout for the entire test suite

packages/amazonq/test/e2e_new/amazonq/quickActions/quickActions.test.ts renamed to packages/amazonq/test/e2e_new/amazonq/tests/quickActions.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
*/
55
import '../utils/setup'
66
import { WebviewView } from 'vscode-extension-tester'
7-
import { closeAllTabs, dismissOverlayIfPresent } from '../utils/cleanupHelper'
7+
import { closeAllTabs, dismissOverlayIfPresent } from '../utils/cleanupUtils'
88
import { testContext } from '../utils/testContext'
9-
import { clickQuickActionsCommand } from './quickActionsHelper'
10-
import { clearChat } from '../chat/chatHelper'
9+
import { clickQuickActionsCommand } from '../helpers/quickActionsHelper'
10+
import { clearChat } from '../utils/generalUtils'
1111

1212
describe('Amazon Q Chat Quick Actions Functionality', function () {
1313
// this timeout is the general timeout for the entire test suite

packages/amazonq/test/e2e_new/amazonq/switchModel/switchModel.test.ts renamed to packages/amazonq/test/e2e_new/amazonq/tests/switchModel.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import '../utils/setup'
66
import { WebviewView } from 'vscode-extension-tester'
77
import { testContext } from '../utils/testContext'
8-
import { listModels, selectModel } from './switchModelHelper'
9-
import { closeAllTabs } from '../utils/cleanupHelper'
8+
import { listModels, selectModel } from '../helpers/switchModelHelper'
9+
import { closeAllTabs } from '../utils/cleanupUtils'
1010

1111
describe('Amazon Q Switch Model Functionality', function () {
1212
// this timeout is the general timeout for the entire test suite

packages/amazonq/test/e2e_new/amazonq/auth/authHelper.ts renamed to packages/amazonq/test/e2e_new/amazonq/utils/authUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55
import { Workbench, By, WebviewView } from 'vscode-extension-tester'
6-
import { findItemByText, sleep, waitForElements } from '../utils/generalHelper'
7-
import { testContext } from '../utils/testContext'
6+
import { findItemByText, sleep, waitForElements } from './generalUtils'
7+
import { testContext } from './testContext'
88

99
/* Completes the entire Amazon Q login flow
1010

packages/amazonq/test/e2e_new/amazonq/utils/cleanupHelper.ts renamed to packages/amazonq/test/e2e_new/amazonq/utils/cleanupUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55
import { By, WebviewView } from 'vscode-extension-tester'
6-
import { sleep } from './generalHelper'
6+
import { sleep } from './generalUtils'
77

88
/**
99
* Closes all open chat tabs

packages/amazonq/test/e2e_new/amazonq/utils/generalHelper.ts

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)