Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('AI Chat Agent Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* under the License.
*/
import { Frame, test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';
import { GraphQLServiceUtils} from './graphqlUtils';
import { TypeEditorUtils } from '../type/TypeEditorUtils';
import { TypeEditorUtils } from '../type-editor/TypeEditorUtils';

const TEST_DATA = {
editedBasePath: (attempt: number) => `/editedSample${attempt}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
import { Frame,Page } from '@playwright/test';
import { Form } from '@wso2/playwright-vscode-tester';
import { TypeEditorUtils } from '../type/TypeEditorUtils';
import { TypeEditorUtils } from '../type-editor/TypeEditorUtils';

export class GraphQLServiceUtils {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('HTTP Service Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('TCP Service Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { switchToIFrame } from '@wso2/playwright-vscode-tester';

export default function createTests() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* under the License.
*/
import { expect, test } from '@playwright/test';
import { addArtifact, enableICP, initTest, page } from '../utils';
import { addArtifact, enableICP, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ConfigEditor } from '../ConfigEditor';
import { ConfigEditor } from '../utils/pages';
import { config } from 'process';

export default function createTests() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Azure Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Github Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Kafka Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('MQTT Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('RabbitMQ Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Salesforce Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Twillio Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
*/

import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { switchToIFrame } from '@wso2/playwright-vscode-tester';
import { Diagram } from '../components/Diagram';
import { SidePanel } from '../components/SidePanel';
import { Diagram, SidePanel } from '../utils/pages';

export default function createTests() {
test.describe('Expression Editor Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Directory Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('FTP Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { test } from '@playwright/test';
import { Form } from '@wso2/playwright-vscode-tester';
import fs from 'fs';
import path from 'path';
import { getWebview, initMigrationTest, page } from '../utils';
import { getWebview, initMigrationTest, page } from '../utils/helpers';

export default function createTests() {
test.describe('Import Integration Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Connection Artifact Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Data Mapper Artifact Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Function Artifact Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Natural Function Artifact Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, initTest, page } from '../utils';
import { addArtifact, initTest, page } from '../utils/helpers';
import { Form, switchToIFrame } from '@wso2/playwright-vscode-tester';
import { ProjectExplorer } from '../ProjectExplorer';
import { ProjectExplorer } from '../utils/pages';

export default function createTests() {
test.describe('Type Diagram Artifact Tests', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* under the License.
*/
import { test } from '@playwright/test';
import { addArtifact, getWebview, initTest, page } from '../utils';
import { addArtifact, getWebview, initTest, page } from '../utils/helpers';
import { ServiceClassEditorUtils } from './serviceEditorUtils';

export default function createTests() {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,37 @@
*/

import { test } from '@playwright/test';
import { page } from './utils';
import { page } from './utils/helpers';
const fs = require('fs');
const path = require('path');
const videosFolder = path.join(__dirname, '..', 'test-resources', 'videos');

import automation from './automation/automation.spec';

import httpService from './api-services/http-service.spec';
import aiChatService from './api-services/ai-chat-service.spec';
import graphqlService from './api-services/graphql-service.spec';
import tcpService from './api-services/tcp-service.spec';
import httpService from './api-integration/http-service.spec';
import aiChatService from './api-integration/ai-chat-service.spec';
import graphqlService from './api-integration/graphql-service.spec';
import tcpService from './api-integration/tcp-service.spec';

import kafkaIntegration from './event-integrations/kafka.spec';
import rabbitmqIntegration from './event-integrations/rabbitmq.spec';
import mqttIntegration from './event-integrations/mqtt.spec';
import azureIntegration from './event-integrations/azure.spec';
import salesforceIntegration from './event-integrations/salesforce.spec';
import twillioIntegration from './event-integrations/twillio.spec';
import githubIntegration from './event-integrations/github.spec';
import kafkaIntegration from './event-integration/kafka.spec';
import rabbitmqIntegration from './event-integration/rabbitmq.spec';
import mqttIntegration from './event-integration/mqtt.spec';
import azureIntegration from './event-integration/azure.spec';
import salesforceIntegration from './event-integration/salesforce.spec';
import twillioIntegration from './event-integration/twillio.spec';
import githubIntegration from './event-integration/github.spec';

import ftpIntegration from './file-integrations/ftp.spec';
import directoryIntegration from './file-integrations/directory.spec';
import ftpIntegration from './file-integration/ftp.spec';
import directoryIntegration from './file-integration/directory.spec';

import functionArtifact from './other-artifacts/function.spec';
import naturalFunctionArtifact from './other-artifacts/np.spec';
import typeDiagramArtifact from './other-artifacts/type.spec';
import connectionArtifact from './other-artifacts/connection.spec';

import configuration from './configuration/configuration.spec';
import typeTest from './type/type.spec';
import serviceTest from './service-class-designer/service-class.spec';
import typeTest from './type-editor/type.spec';
import serviceTest from './service-designer/service-class.spec';

import importIntegration from './import-integration/import-integration.spec';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import { test } from '@playwright/test';
import { addArtifact, initTest, page, getWebview, verifyGeneratedSource } from '../utils';
import { addArtifact, initTest, page, getWebview, verifyGeneratedSource } from '../utils/helpers';
import { Form } from '@wso2/playwright-vscode-tester';
import { TypeEditorUtils } from './TypeEditorUtils';
import path from 'path';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[package]
org = "nino"
name = "sample"
version = "0.1.0"

[build-options]
sticky = true
Loading
Loading