issue-15 #21
@ -1,8 +1,8 @@
 | 
				
			|||||||
import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
					import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import * as PATH from 'path';
 | 
					import * as PATH from 'path';
 | 
				
			||||||
import {GameModel} from "../../src/app/project/game-modelGameModel";
 | 
					import {GameModel} from "../../src/app/game-model/GameModel";
 | 
				
			||||||
import {Gamesystem} from "../../src/app/project/game-model/gamesystems/Gamesystem";
 | 
					import {Gamesystem} from "../../src/app/game-model/gamesystems/Gamesystem";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test.describe('Adding Gamesystems', () => {
 | 
					test.describe('Adding Gamesystems', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,8 +1,8 @@
 | 
				
			|||||||
import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
					import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import * as PATH from 'path';
 | 
					import * as PATH from 'path';
 | 
				
			||||||
import {GameModel} from "../../src/app/project/game-model/GameModel";
 | 
					import {GameModel} from "../../src/app/game-model/GameModel";
 | 
				
			||||||
import {Gamesystem} from "../../src/app/project/game-model/gamesystems/Gamesystem";
 | 
					import {Gamesystem} from "../../src/app/game-model/gamesystems/Gamesystem";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test.describe('Removing Gamesystems', () => {
 | 
					test.describe('Removing Gamesystems', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,15 @@
 | 
				
			|||||||
import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
					import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
 | 
					import * as PATH from 'path';
 | 
				
			||||||
 | 
					import {GameModel} from "../../../src/app/game-model/GameModel";
 | 
				
			||||||
 | 
					import {Gamesystem} from "../../src/app/game-model/gamesystems/Gamesystem";
 | 
				
			||||||
 | 
					import {ScriptAccount} from "../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
 | 
					import {ModelComponentType} from "../../../src/app/game-model/ModelComponentType";
 | 
				
			||||||
 | 
					import {SimpleGamesystem} from "../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
 | 
					import exp = require("node:constants");
 | 
				
			||||||
 | 
					import {end} from "electron-debug";
 | 
				
			||||||
import {GamesystemTrainer} from "./GamesystemTrainer";
 | 
					import {GamesystemTrainer} from "./GamesystemTrainer";
 | 
				
			||||||
import {ProductGamesystem} from "../../../src/app/project/gamemodel/gamesystems/ProductGamesystem";
 | 
					import {ProductGamesystem} from "../../../src/app/game-model/gamesystems/ProductGamesystem";
 | 
				
			||||||
test.describe('Test Create Gamesystems', () => {
 | 
					test.describe('Test Create Gamesystems', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  test('Test creating gamesystem with invalid name', async => {
 | 
					  test('Test creating gamesystem with invalid name', async => {
 | 
				
			||||||
 | 
				
			|||||||
@ -1,11 +1,11 @@
 | 
				
			|||||||
import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
					import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import * as PATH from 'path';
 | 
					import * as PATH from 'path';
 | 
				
			||||||
import {GameModel} from "../../../src/app/project/gamemodel/GameModel";
 | 
					import {GameModel} from "../../../src/app/game-model/GameModel";
 | 
				
			||||||
import {Gamesystem} from "../../src/app/project/gamemodel/gamesystems/Gamesystem";
 | 
					import {Gamesystem} from "../../src/app/game-model/gamesystems/Gamesystem";
 | 
				
			||||||
import {ScriptAccount} from "../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import {ModelComponentType} from "../../../src/app/project/gamemodel/ModelComponentType";
 | 
					import {ModelComponentType} from "../../../src/app/game-model/ModelComponentType";
 | 
				
			||||||
import {SimpleGamesystem} from "../../../src/app/project/gamemodel/gamesystems/SimpleGamesystem";
 | 
					import {SimpleGamesystem} from "../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
import exp = require("node:constants");
 | 
					import exp = require("node:constants");
 | 
				
			||||||
import {end} from "electron-debug";
 | 
					import {end} from "electron-debug";
 | 
				
			||||||
import {GamesystemTrainer} from "./GamesystemTrainer";
 | 
					import {GamesystemTrainer} from "./GamesystemTrainer";
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
import {GameModel} from "../../../src/app/project/gamemodel/GameModel";
 | 
					import {GameModel} from "../../../src/app/game-model/GameModel";
 | 
				
			||||||
import {SimpleGamesystem} from "../../../src/app/project/gamemodel/gamesystems/SimpleGamesystem";
 | 
					import {SimpleGamesystem} from "../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
import {ProductGamesystem} from "../../../src/app/project/gamemodel/gamesystems/ProductGamesystem";
 | 
					import {ProductGamesystem} from "../../../src/app/game-model/gamesystems/ProductGamesystem";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export class GamesystemTrainer {
 | 
					export class GamesystemTrainer {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,11 +1,11 @@
 | 
				
			|||||||
import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
					import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import * as PATH from 'path';
 | 
					import * as PATH from 'path';
 | 
				
			||||||
import {GameModel} from "../../../src/app/project/gamemodel/GameModel";
 | 
					import {GameModel} from "../../../src/app/game-model/GameModel";
 | 
				
			||||||
import {Gamesystem} from "../../src/app/project/gamemodel/gamesystems/Gamesystem";
 | 
					import {Gamesystem} from "../../src/app/game-model/gamesystems/Gamesystem";
 | 
				
			||||||
import {ScriptAccount} from "../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import {ModelComponentType} from "../../../src/app/project/gamemodel/ModelComponentType";
 | 
					import {ModelComponentType} from "../../../src/app/game-model/ModelComponentType";
 | 
				
			||||||
import {SimpleGamesystem} from "../../../src/app/project/gamemodel/gamesystems/SimpleGamesystem";
 | 
					import {SimpleGamesystem} from "../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
import exp = require("node:constants");
 | 
					import exp = require("node:constants");
 | 
				
			||||||
import {end} from "electron-debug";
 | 
					import {end} from "electron-debug";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -2,8 +2,8 @@
 | 
				
			|||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import {GamesystemTrainer} from "../GamesystemTrainer";
 | 
					import {GamesystemTrainer} from "../GamesystemTrainer";
 | 
				
			||||||
import {SimpleActionTrainer} from "./SimpleActionTrainer";
 | 
					import {SimpleActionTrainer} from "./SimpleActionTrainer";
 | 
				
			||||||
import {ScriptAccount} from "../../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import {ScriptAccountAction} from "../../../../src/app/project/gamemodel/gamesystems/actions/ScriptAccountAction";
 | 
					import {ScriptAccountAction} from "../../../../src/app/game-model/gamesystems/actions/ScriptAccountAction";
 | 
				
			||||||
test.describe('Test Create SimpleActions', () => {
 | 
					test.describe('Test Create SimpleActions', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  test('Test creating gamesystem with invalid name', async => {
 | 
					  test('Test creating gamesystem with invalid name', async => {
 | 
				
			||||||
 | 
				
			|||||||
@ -2,9 +2,9 @@
 | 
				
			|||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import {GamesystemTrainer} from "../GamesystemTrainer";
 | 
					import {GamesystemTrainer} from "../GamesystemTrainer";
 | 
				
			||||||
import {SimpleActionTrainer} from "./SimpleActionTrainer";
 | 
					import {SimpleActionTrainer} from "./SimpleActionTrainer";
 | 
				
			||||||
import {ScriptAccount} from "../../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import {ScriptAccountAction} from "../../../../src/app/project/gamemodel/gamesystems/actions/ScriptAccountAction";
 | 
					import {ScriptAccountAction} from "../../../../src/app/game-model/gamesystems/actions/ScriptAccountAction";
 | 
				
			||||||
import {SimpleTransition} from "../../../../src/app/project/gamemodel/gamesystems/transitions/SimpleTransition";
 | 
					import {SimpleTransition} from "../../../../src/app/game-model/gamesystems/transitions/SimpleTransition";
 | 
				
			||||||
test.describe('Test Remove SimpleActions', () => {
 | 
					test.describe('Test Remove SimpleActions', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  test("Test Removing invalid Actions", async () => {
 | 
					  test("Test Removing invalid Actions", async () => {
 | 
				
			||||||
 | 
				
			|||||||
@ -1,8 +1,8 @@
 | 
				
			|||||||
import {SimpleState} from "../../../../src/app/project/gamemodel/gamesystems/states/SimpleState";
 | 
					import {SimpleState} from "../../../../src/app/game-model/gamesystems/states/SimpleState";
 | 
				
			||||||
import {SimpleTransition} from "../../../../src/app/project/gamemodel/gamesystems/transitions/SimpleTransition";
 | 
					import {SimpleTransition} from "../../../../src/app/game-model/gamesystems/transitions/SimpleTransition";
 | 
				
			||||||
import {Script} from "node:vm";
 | 
					import {Script} from "node:vm";
 | 
				
			||||||
import {ScriptAccount} from "../../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import {ScriptAccountAction} from "../../../../src/app/project/gamemodel/gamesystems/actions/ScriptAccountAction";
 | 
					import {ScriptAccountAction} from "../../../../src/app/game-model/gamesystems/actions/ScriptAccountAction";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export class SimpleActionTrainer {
 | 
					export class SimpleActionTrainer {
 | 
				
			||||||
  static withEmptyActions() {
 | 
					  static withEmptyActions() {
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import {ScriptAccountCondition} from "../../../../src/app/project/gamemodel/gamesystems/conditions/ScriptAccountCondition";
 | 
					import {ScriptAccountCondition} from "../../../../src/app/game-model/gamesystems/conditions/ScriptAccountCondition";
 | 
				
			||||||
import {ScriptAccount} from "../../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import exp = require("node:constants");
 | 
					import exp = require("node:constants");
 | 
				
			||||||
import {ConditionTrainer} from "./ConditionTrainer";
 | 
					import {ConditionTrainer} from "./ConditionTrainer";
 | 
				
			||||||
import {Conditional} from "@angular/compiler";
 | 
					import {Conditional} from "@angular/compiler";
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import {ScriptAccountCondition} from "../../../../src/app/project/gamemodel/gamesystems/conditions/ScriptAccountCondition";
 | 
					import {ScriptAccountCondition} from "../../../../src/app/game-model/gamesystems/conditions/ScriptAccountCondition";
 | 
				
			||||||
import {ScriptAccount} from "../../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import exp = require("node:constants");
 | 
					import exp = require("node:constants");
 | 
				
			||||||
import {ConditionTrainer} from "./ConditionTrainer";
 | 
					import {ConditionTrainer} from "./ConditionTrainer";
 | 
				
			||||||
import {Conditional} from "@angular/compiler";
 | 
					import {Conditional} from "@angular/compiler";
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import {ScriptAccountCondition} from "../../../../src/app/project/gamemodel/gamesystems/conditions/ScriptAccountCondition";
 | 
					import {ScriptAccountCondition} from "../../../../src/app/game-model/gamesystems/conditions/ScriptAccountCondition";
 | 
				
			||||||
import {ScriptAccount} from "../../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import exp = require("node:constants");
 | 
					import exp = require("node:constants");
 | 
				
			||||||
test.describe('Test Create Gamesystems', () => {
 | 
					test.describe('Test Create Gamesystems', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import {ScriptAccountCondition} from "../../../../src/app/project/gamemodel/gamesystems/conditions/ScriptAccountCondition";
 | 
					import {ScriptAccountCondition} from "../../../../src/app/game-model/gamesystems/conditions/ScriptAccountCondition";
 | 
				
			||||||
 | 
					import {ScriptAccount} from "../../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
 | 
					import exp = require("node:constants");
 | 
				
			||||||
import {ConditionTrainer} from "./ConditionTrainer";
 | 
					import {ConditionTrainer} from "./ConditionTrainer";
 | 
				
			||||||
test.describe('Test Expand Conditions', () => {
 | 
					test.describe('Test Expand Conditions', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
import {ScriptAccount} from "../../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import {ScriptAccountCondition} from "../../../../src/app/project/gamemodel/gamesystems/conditions/ScriptAccountCondition";
 | 
					import {ScriptAccountCondition} from "../../../../src/app/game-model/gamesystems/conditions/ScriptAccountCondition";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export class ConditionTrainer {
 | 
					export class ConditionTrainer {
 | 
				
			||||||
  static withSimpleCondition(): ScriptAccountCondition {
 | 
					  static withSimpleCondition(): ScriptAccountCondition {
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,7 @@
 | 
				
			|||||||
import {SimpleState} from "../../../../src/app/project/gamemodel/gamesystems/states/SimpleState";
 | 
					import {SimpleState} from "../../../../src/app/game-model/gamesystems/states/SimpleState";
 | 
				
			||||||
import {SimpleTransition} from "../../../../src/app/project/gamemodel/gamesystems/transitions/SimpleTransition";
 | 
					import {SimpleTransition} from "../../../../src/app/game-model/gamesystems/transitions/SimpleTransition";
 | 
				
			||||||
import {ScriptAccount} from "../../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import {ScriptAccountCondition} from "../../../../src/app/project/gamemodel/gamesystems/conditions/ScriptAccountCondition";
 | 
					import {ScriptAccountCondition} from "../../../../src/app/game-model/gamesystems/conditions/ScriptAccountCondition";
 | 
				
			||||||
export class TransitionConditionTrainer {
 | 
					export class TransitionConditionTrainer {
 | 
				
			||||||
  static withTransitionWithoutConditions() {
 | 
					  static withTransitionWithoutConditions() {
 | 
				
			||||||
    const startingState = new SimpleState("StartingState", "");
 | 
					    const startingState = new SimpleState("StartingState", "");
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,17 @@
 | 
				
			|||||||
 | 
					import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
 | 
					import * as PATH from 'path';
 | 
				
			||||||
 | 
					import {GameModel} from "../../../src/app/game-model/GameModel";
 | 
				
			||||||
 | 
					import {Gamesystem} from "../../src/app/game-model/gamesystems/Gamesystem";
 | 
				
			||||||
 | 
					import {ScriptAccount} from "../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
 | 
					import {ModelComponentType} from "../../../src/app/game-model/ModelComponentType";
 | 
				
			||||||
 | 
					import {SimpleGamesystem} from "../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
 | 
					import exp = require("node:constants");
 | 
				
			||||||
 | 
					import {end} from "electron-debug";
 | 
				
			||||||
 | 
					import {GamesystemTrainer} from "./GamesystemTrainer";
 | 
				
			||||||
 | 
					import {ProductGamesystem} from "../../../src/app/game-model/gamesystems/ProductGamesystem";
 | 
				
			||||||
import {ProductStateTrainer} from "./ProductStateTrainer";
 | 
					import {ProductStateTrainer} from "./ProductStateTrainer";
 | 
				
			||||||
import {SimpleState} from "../../../../src/app/project/gamemodel/gamesystems/states/SimpleState";
 | 
					import {SimpleState} from "../../../../src/app/game-model/gamesystems/states/SimpleState";
 | 
				
			||||||
test.describe('Test Create ProductStates', () => {
 | 
					test.describe('Test Create ProductStates', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  test("Adding already existent ProductState", async () => {
 | 
					  test("Adding already existent ProductState", async () => {
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,7 @@
 | 
				
			|||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import {ProductStateTrainer} from "./ProductStateTrainer";
 | 
					import {ProductStateTrainer} from "./ProductStateTrainer";
 | 
				
			||||||
import {ProductState} from "../../../../src/app/project/gamemodel/gamesystems/states/ProductState";
 | 
					import {ProductState} from "../../../../src/app/game-model/gamesystems/states/ProductState";
 | 
				
			||||||
import {SimpleGamesystem} from "../../../../src/app/project/gamemodel/gamesystems/SimpleGamesystem";
 | 
					import {SimpleGamesystem} from "../../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
test.describe('Test Create ProductTransitions', () => {
 | 
					test.describe('Test Create ProductTransitions', () => {
 | 
				
			||||||
  test("Test ProductTransition Creation with invalid inputs", async ()=> {
 | 
					  test("Test ProductTransition Creation with invalid inputs", async ()=> {
 | 
				
			||||||
    const gamesystem = ProductStateTrainer.givenFullProductGamesystemWithTwoStates();
 | 
					    const gamesystem = ProductStateTrainer.givenFullProductGamesystemWithTwoStates();
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,17 @@
 | 
				
			|||||||
 | 
					import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
 | 
					import * as PATH from 'path';
 | 
				
			||||||
 | 
					import {GameModel} from "../../../src/app/game-model/GameModel";
 | 
				
			||||||
 | 
					import {Gamesystem} from "../../src/app/game-model/gamesystems/Gamesystem";
 | 
				
			||||||
 | 
					import {ScriptAccount} from "../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
 | 
					import {ModelComponentType} from "../../../src/app/game-model/ModelComponentType";
 | 
				
			||||||
 | 
					import {SimpleGamesystem} from "../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
 | 
					import exp = require("node:constants");
 | 
				
			||||||
 | 
					import {end} from "electron-debug";
 | 
				
			||||||
 | 
					import {GamesystemTrainer} from "./GamesystemTrainer";
 | 
				
			||||||
 | 
					import {ProductGamesystem} from "../../../src/app/game-model/gamesystems/ProductGamesystem";
 | 
				
			||||||
import {ProductStateTrainer} from "./ProductStateTrainer";
 | 
					import {ProductStateTrainer} from "./ProductStateTrainer";
 | 
				
			||||||
 | 
					import {SimpleState} from "../../../../src/app/game-model/gamesystems/states/SimpleState";
 | 
				
			||||||
test.describe('Test Check Equal of Innerstates', () => {
 | 
					test.describe('Test Check Equal of Innerstates', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  test("Test invalid input for equal checking", async()=> {
 | 
					  test("Test invalid input for equal checking", async()=> {
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,17 @@
 | 
				
			|||||||
 | 
					import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
 | 
					import * as PATH from 'path';
 | 
				
			||||||
 | 
					import {GameModel} from "../../../src/app/game-model/GameModel";
 | 
				
			||||||
 | 
					import {Gamesystem} from "../../src/app/game-model/gamesystems/Gamesystem";
 | 
				
			||||||
 | 
					import {ScriptAccount} from "../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
 | 
					import {ModelComponentType} from "../../../src/app/game-model/ModelComponentType";
 | 
				
			||||||
 | 
					import {SimpleGamesystem} from "../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
 | 
					import exp = require("node:constants");
 | 
				
			||||||
 | 
					import {end} from "electron-debug";
 | 
				
			||||||
 | 
					import {GamesystemTrainer} from "./GamesystemTrainer";
 | 
				
			||||||
 | 
					import {ProductGamesystem} from "../../../src/app/game-model/gamesystems/ProductGamesystem";
 | 
				
			||||||
 | 
					import {ProductStateTrainer} from "./ProductStateTrainer";
 | 
				
			||||||
 | 
					import {SimpleState} from "../../../../src/app/game-model/gamesystems/states/SimpleState";
 | 
				
			||||||
import {ProductSystemGenerationTrainer} from "./ProductSystemGenerationTrainer";
 | 
					import {ProductSystemGenerationTrainer} from "./ProductSystemGenerationTrainer";
 | 
				
			||||||
test.describe('Test Create ProductStates', () => {
 | 
					test.describe('Test Create ProductStates', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,7 @@
 | 
				
			|||||||
import {ProductGamesystem} from "../../../../src/app/project/gamemodel/gamesystems/ProductGamesystem";
 | 
					import {ProductGamesystem} from "../../../../src/app/game-model/gamesystems/ProductGamesystem";
 | 
				
			||||||
import {SimpleGamesystem} from "../../../../src/app/project/gamemodel/gamesystems/SimpleGamesystem";
 | 
					import {SimpleGamesystem} from "../../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
import {ProductState} from "../../../../src/app/project/gamemodel/gamesystems/states/ProductState";
 | 
					import {ProductState} from "../../../../src/app/game-model/gamesystems/states/ProductState";
 | 
				
			||||||
import {ProductTransition} from "../../../../src/app/project/gamemodel/gamesystems/transitions/ProductTransition";
 | 
					import {ProductTransition} from "../../../../src/app/game-model/gamesystems/transitions/ProductTransition";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export class ProductStateTrainer {
 | 
					export class ProductStateTrainer {
 | 
				
			||||||
  static INNERSTATE_LETTER_1 = "A";
 | 
					  static INNERSTATE_LETTER_1 = "A";
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
import {ProductGamesystem} from "../../../../src/app/project/gamemodel/gamesystems/ProductGamesystem";
 | 
					import {ProductGamesystem} from "../../../../src/app/game-model/gamesystems/ProductGamesystem";
 | 
				
			||||||
import {SimpleGamesystem} from "../../../../src/app/project/gamemodel/gamesystems/SimpleGamesystem";
 | 
					import {SimpleGamesystem} from "../../../../src/app/game-model/gamesystems/SimpleGamesystem";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export class ProductSystemGenerationTrainer {
 | 
					export class ProductSystemGenerationTrainer {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,10 +1,10 @@
 | 
				
			|||||||
import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
					import { BrowserContext, ElectronApplication, Page, _electron as electron } from 'playwright';
 | 
				
			||||||
import { test, expect } from '@playwright/test';
 | 
					import { test, expect } from '@playwright/test';
 | 
				
			||||||
import * as PATH from 'path';
 | 
					import * as PATH from 'path';
 | 
				
			||||||
import {GameModel} from "../../../src/app/project/gamemodel/GameModel";
 | 
					import {GameModel} from "../../../src/app/game-model/GameModel";
 | 
				
			||||||
import {Gamesystem} from "../../src/app/project/gamemodel/gamesystems/Gamesystem";
 | 
					import {Gamesystem} from "../../src/app/game-model/gamesystems/Gamesystem";
 | 
				
			||||||
import {ScriptAccount} from "../../../src/app/project/gamemodel/scriptAccounts/ScriptAccount";
 | 
					import {ScriptAccount} from "../../../src/app/game-model/scriptAccounts/ScriptAccount";
 | 
				
			||||||
import {ModelComponentType} from "../../../src/app/project/gamemodel/ModelComponentType";
 | 
					import {ModelComponentType} from "../../../src/app/game-model/ModelComponentType";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test.describe('Test ScriptAccounts', () => {
 | 
					test.describe('Test ScriptAccounts', () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user