Skip to content

Commit 8fc84ee

Browse files
Cleanup e2e test suite structure
1 parent a333bcf commit 8fc84ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+375
-215
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* under the License.
1818
*/
1919
import { test } from '@playwright/test';
20-
import { addArtifact, initTest, page } from '../utils';
20+
import { addArtifact, initTest, page } from '../utils/helpers';
2121
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
22-
import { ProjectExplorer } from '../ProjectExplorer';
22+
import { ProjectExplorer } from '../utils/pages';
2323

2424
export default function createTests() {
2525
test.describe('AI Chat Agent Tests', {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
* under the License.
1717
*/
1818
import { Frame, test } from '@playwright/test';
19-
import { addArtifact, initTest, page } from '../utils';
19+
import { addArtifact, initTest, page } from '../utils/helpers';
2020
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
21-
import { ProjectExplorer } from '../ProjectExplorer';
21+
import { ProjectExplorer } from '../utils/pages';
2222
import { GraphQLServiceUtils} from './graphqlUtils';
2323
import { TypeEditorUtils } from '../type/TypeEditorUtils';
2424

workspaces/bi/bi-extension/src/test/e2e-playwright-tests/api-services/http-service.spec.ts renamed to workspaces/bi/bi-extension/src/test/e2e-playwright-tests/api-integration/http-service.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
* under the License.
1717
*/
1818
import { test } from '@playwright/test';
19-
import { addArtifact, initTest, page } from '../utils';
19+
import { addArtifact, initTest, page } from '../utils/helpers';
2020
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
21-
import { ProjectExplorer } from '../ProjectExplorer';
21+
import { ProjectExplorer } from '../utils/pages';
2222

2323
export default function createTests() {
2424
test.describe('HTTP Service Tests', {

workspaces/bi/bi-extension/src/test/e2e-playwright-tests/api-services/tcp-service.spec.ts renamed to workspaces/bi/bi-extension/src/test/e2e-playwright-tests/api-integration/tcp-service.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
* under the License.
1717
*/
1818
import { test } from '@playwright/test';
19-
import { addArtifact, initTest, page } from '../utils';
19+
import { addArtifact, initTest, page } from '../utils/helpers';
2020
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
21-
import { ProjectExplorer } from '../ProjectExplorer';
21+
import { ProjectExplorer } from '../utils/pages';
2222

2323
export default function createTests() {
2424
test.describe('TCP Service Tests', {

workspaces/bi/bi-extension/src/test/e2e-playwright-tests/automation/automation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* under the License.
1717
*/
1818
import { test } from '@playwright/test';
19-
import { addArtifact, initTest, page } from '../utils';
19+
import { addArtifact, initTest, page } from '../utils/helpers';
2020
import { switchToIFrame } from '@wso2/playwright-vscode-tester';
2121

2222
export default function createTests() {

workspaces/bi/bi-extension/src/test/e2e-playwright-tests/configuration/configuration.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
* under the License.
1717
*/
1818
import { expect, test } from '@playwright/test';
19-
import { addArtifact, enableICP, initTest, page } from '../utils';
19+
import { addArtifact, enableICP, initTest, page } from '../utils/helpers';
2020
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
21-
import { ConfigEditor } from '../ConfigEditor';
21+
import { ConfigEditor } from '../utils/pages';
2222
import { config } from 'process';
2323

2424
export default function createTests() {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* under the License.
1818
*/
1919
import { test } from '@playwright/test';
20-
import { addArtifact, initTest, page } from '../utils';
20+
import { addArtifact, initTest, page } from '../utils/helpers';
2121
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
22-
import { ProjectExplorer } from '../ProjectExplorer';
22+
import { ProjectExplorer } from '../utils/pages';
2323

2424
export default function createTests() {
2525
test.describe('Azure Integration Tests', {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* under the License.
1818
*/
1919
import { test } from '@playwright/test';
20-
import { addArtifact, initTest, page } from '../utils';
20+
import { addArtifact, initTest, page } from '../utils/helpers';
2121
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
22-
import { ProjectExplorer } from '../ProjectExplorer';
22+
import { ProjectExplorer } from '../utils/pages';
2323

2424
export default function createTests() {
2525
test.describe('Github Integration Tests', {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* under the License.
1818
*/
1919
import { test } from '@playwright/test';
20-
import { addArtifact, initTest, page } from '../utils';
20+
import { addArtifact, initTest, page } from '../utils/helpers';
2121
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
22-
import { ProjectExplorer } from '../ProjectExplorer';
22+
import { ProjectExplorer } from '../utils/pages';
2323

2424
export default function createTests() {
2525
test.describe('Kafka Integration Tests', {

0 commit comments

Comments
 (0)