Fix typo in gamemodel import path in test
Some checks failed
E2E Testing / test (push) Failing after 1m39s
Some checks failed
E2E Testing / test (push) Failing after 1m39s
This commit is contained in:
parent
e336bf19f9
commit
75815578dc
@ -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/projects/game-model/GameModel";
|
import {GameModel} from "../../src/app/project/game-model/GameModel";
|
||||||
import {Gamesystem} from "../../src/app/projects/game-model/gamesystems/Gamesystem";
|
import {Gamesystem} from "../../src/app/project/game-model/gamesystems/Gamesystem";
|
||||||
|
|
||||||
test.describe('Adding Gamesystems', () => {
|
test.describe('Adding Gamesystems', () => {
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
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/projects/game-model/GameModel";
|
|
||||||
import {Gamesystem} from "../../src/app/projects/game-model/gamesystems/Gamesystem";
|
import {Gamesystem} from "../../src/app/project/game-model/gamesystems/Gamesystem";
|
||||||
|
import {GameModel} from "../../src/app/project/game-model/GameModel";
|
||||||
|
|
||||||
test.describe('Removing Gamesystems', () => {
|
test.describe('Removing Gamesystems', () => {
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { test, expect } from '@playwright/test';
|
import { test, expect } from '@playwright/test';
|
||||||
import {GamesystemTrainer} from "./GamesystemTrainer";
|
import {GamesystemTrainer} from "./GamesystemTrainer";
|
||||||
import {ProductGamesystem} from "../../../src/app/projects/game-model/gamesystems/ProductGamesystem";
|
import {ProductGamesystem} from "../../../src/app/project/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,6 +1,6 @@
|
|||||||
import { test, expect } from '@playwright/test';
|
import { test, expect } from '@playwright/test';
|
||||||
import {GameModel} from "../../../src/app/projects/game-model/GameModel";
|
import {GameModel} from "../../../src/app/project/game-model/GameModel";
|
||||||
import {SimpleGamesystem} from "../../../src/app/projects/game-model/gamesystems/SimpleGamesystem";
|
import {SimpleGamesystem} from "../../../src/app/project/game-model/gamesystems/SimpleGamesystem";
|
||||||
import {GamesystemTrainer} from "./GamesystemTrainer";
|
import {GamesystemTrainer} from "./GamesystemTrainer";
|
||||||
test.describe('Test Find Gamesystems', () => {
|
test.describe('Test Find Gamesystems', () => {
|
||||||
const GAMEMODELNAME: string = "GameModel";
|
const GAMEMODELNAME: string = "GameModel";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import {GameModel} from "../../../src/app/projects/game-model/GameModel";
|
import {GameModel} from "../../../src/app/project/game-model/GameModel";
|
||||||
import {SimpleGamesystem} from "../../../src/app/projects/game-model/gamesystems/SimpleGamesystem";
|
import {SimpleGamesystem} from "../../../src/app/project/game-model/gamesystems/SimpleGamesystem";
|
||||||
import {ProductGamesystem} from "../../../src/app/projects/game-model/gamesystems/ProductGamesystem";
|
import {ProductGamesystem} from "../../../src/app/project/game-model/gamesystems/ProductGamesystem";
|
||||||
|
|
||||||
export class GamesystemTrainer {
|
export class GamesystemTrainer {
|
||||||
|
|
||||||
|
@ -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/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../../src/app/project/game-model/scriptAccounts/ScriptAccount";
|
||||||
import {ScriptAccountAction} from "../../../../src/app/projects/game-model/gamesystems/actions/ScriptAccountAction";
|
import {ScriptAccountAction} from "../../../../src/app/project/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/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../../src/app/project/game-model/scriptAccounts/ScriptAccount";
|
||||||
import {ScriptAccountAction} from "../../../../src/app/projects/game-model/gamesystems/actions/ScriptAccountAction";
|
import {ScriptAccountAction} from "../../../../src/app/project/game-model/gamesystems/actions/ScriptAccountAction";
|
||||||
import {SimpleTransition} from "../../../../src/app/projects/game-model/gamesystems/transitions/SimpleTransition";
|
import {SimpleTransition} from "../../../../src/app/project/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/projects/game-model/gamesystems/states/SimpleState";
|
import {SimpleState} from "../../../../src/app/project/game-model/gamesystems/states/SimpleState";
|
||||||
import {SimpleTransition} from "../../../../src/app/projects/game-model/gamesystems/transitions/SimpleTransition";
|
import {SimpleTransition} from "../../../../src/app/project/game-model/gamesystems/transitions/SimpleTransition";
|
||||||
import {Script} from "node:vm";
|
import {Script} from "node:vm";
|
||||||
import {ScriptAccount} from "../../../../src/app/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../../src/app/project/game-model/scriptAccounts/ScriptAccount";
|
||||||
import {ScriptAccountAction} from "../../../../src/app/projects/game-model/gamesystems/actions/ScriptAccountAction";
|
import {ScriptAccountAction} from "../../../../src/app/project/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/projects/game-model/gamesystems/conditions/ScriptAccountCondition";
|
import {ScriptAccountCondition} from "../../../../src/app/project/game-model/gamesystems/conditions/ScriptAccountCondition";
|
||||||
import {ScriptAccount} from "../../../../src/app/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../../src/app/project/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/projects/game-model/gamesystems/conditions/ScriptAccountCondition";
|
import {ScriptAccountCondition} from "../../../../src/app/project/game-model/gamesystems/conditions/ScriptAccountCondition";
|
||||||
import {ScriptAccount} from "../../../../src/app/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../../src/app/project/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/projects/game-model/gamesystems/conditions/ScriptAccountCondition";
|
import {ScriptAccountCondition} from "../../../../src/app/project/game-model/gamesystems/conditions/ScriptAccountCondition";
|
||||||
import {ScriptAccount} from "../../../../src/app/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../../src/app/project/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,7 +1,7 @@
|
|||||||
|
|
||||||
import { test, expect } from '@playwright/test';
|
import { test, expect } from '@playwright/test';
|
||||||
import {ScriptAccountCondition} from "../../../../src/app/projects/game-model/gamesystems/conditions/ScriptAccountCondition";
|
import {ScriptAccountCondition} from "../../../../src/app/project/game-model/gamesystems/conditions/ScriptAccountCondition";
|
||||||
import {ScriptAccount} from "../../../../src/app/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../../src/app/project/game-model/scriptAccounts/ScriptAccount";
|
||||||
import exp = require("node:constants");
|
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/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../../src/app/project/game-model/scriptAccounts/ScriptAccount";
|
||||||
import {ScriptAccountCondition} from "../../../../src/app/projects/game-model/gamesystems/conditions/ScriptAccountCondition";
|
import {ScriptAccountCondition} from "../../../../src/app/project/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/projects/game-model/gamesystems/states/SimpleState";
|
import {SimpleState} from "../../../../src/app/project/game-model/gamesystems/states/SimpleState";
|
||||||
import {SimpleTransition} from "../../../../src/app/projects/game-model/gamesystems/transitions/SimpleTransition";
|
import {SimpleTransition} from "../../../../src/app/project/game-model/gamesystems/transitions/SimpleTransition";
|
||||||
import {ScriptAccount} from "../../../../src/app/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../../src/app/project/game-model/scriptAccounts/ScriptAccount";
|
||||||
import {ScriptAccountCondition} from "../../../../src/app/projects/game-model/gamesystems/conditions/ScriptAccountCondition";
|
import {ScriptAccountCondition} from "../../../../src/app/project/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,6 +1,6 @@
|
|||||||
import { test, expect } from '@playwright/test';
|
import { test, expect } from '@playwright/test';
|
||||||
import {ProductStateTrainer} from "./ProductStateTrainer";
|
import {ProductStateTrainer} from "./ProductStateTrainer";
|
||||||
import {SimpleState} from "../../../../src/app/projects/game-model/gamesystems/states/SimpleState";
|
import {SimpleState} from "../../../../src/app/project/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/projects/game-model/gamesystems/states/ProductState";
|
import {ProductState} from "../../../../src/app/project/game-model/gamesystems/states/ProductState";
|
||||||
import {SimpleGamesystem} from "../../../../src/app/projects/game-model/gamesystems/SimpleGamesystem";
|
import {SimpleGamesystem} from "../../../../src/app/project/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,7 +1,7 @@
|
|||||||
import {ProductGamesystem} from "../../../../src/app/projects/game-model/gamesystems/ProductGamesystem";
|
import {ProductGamesystem} from "../../../../src/app/project/game-model/gamesystems/ProductGamesystem";
|
||||||
import {SimpleGamesystem} from "../../../../src/app/projects/game-model/gamesystems/SimpleGamesystem";
|
import {SimpleGamesystem} from "../../../../src/app/project/game-model/gamesystems/SimpleGamesystem";
|
||||||
import {ProductState} from "../../../../src/app/projects/game-model/gamesystems/states/ProductState";
|
import {ProductState} from "../../../../src/app/project/game-model/gamesystems/states/ProductState";
|
||||||
import {ProductTransition} from "../../../../src/app/projects/game-model/gamesystems/transitions/ProductTransition";
|
import {ProductTransition} from "../../../../src/app/project/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/projects/game-model/gamesystems/ProductGamesystem";
|
import {ProductGamesystem} from "../../../../src/app/project/game-model/gamesystems/ProductGamesystem";
|
||||||
import {SimpleGamesystem} from "../../../../src/app/projects/game-model/gamesystems/SimpleGamesystem";
|
import {SimpleGamesystem} from "../../../../src/app/project/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/projects/game-model/GameModel";
|
import {GameModel} from "../../../src/app/project/game-model/GameModel";
|
||||||
import {Gamesystem} from "../../src/app/projects/game-model/gamesystems/Gamesystem";
|
import {Gamesystem} from "../../src/app/project/game-model/gamesystems/Gamesystem";
|
||||||
import {ScriptAccount} from "../../../src/app/projects/game-model/scriptAccounts/ScriptAccount";
|
import {ScriptAccount} from "../../../src/app/project/game-model/scriptAccounts/ScriptAccount";
|
||||||
import {ModelComponentType} from "../../../src/app/projects/game-model/ModelComponentType";
|
import {ModelComponentType} from "../../../src/app/project/game-model/ModelComponentType";
|
||||||
|
|
||||||
test.describe('Test ScriptAccounts', () => {
|
test.describe('Test ScriptAccounts', () => {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user