Skip to content

Commit

Permalink
naming cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jomarko committed Sep 25, 2024
1 parent 08e8ff0 commit e61aaf6
Show file tree
Hide file tree
Showing 25 changed files with 11 additions and 11 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ test.describe("Create Decision table", () => {
});
});

test("should commit annotation name by other cell click", async ({ bee }) => {
test("should commit annotation by cell click", async ({ bee }) => {
await bee.expression
.asDecisionTable()
.annotationHeaderAt(0)
Expand All @@ -122,6 +122,6 @@ test.describe("Create Decision table", () => {
// commit a change by a click to another cell
await bee.expression.asDecisionTable().cellAt({ row: 1, column: 1 }).content.click();

await expect(bee.getContainer()).toHaveScreenshot("boxed-decision-table-annotation-commit-on-cell-click.png");
await expect(bee.getContainer()).toHaveScreenshot("boxed-decision-table-commit-annotation-by-cell-click.png");
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ test.describe("Create Boxed Every", () => {
expect((await jsonModel.getEveryExpression()).satisfies["@_id"]).not.toBeUndefined();
});

test("should commit variable name by other cell click", async ({ bee, stories, page }) => {
await bee.expression.asEvery().variable.fill("Change Variable Name");
test("should commit variable by cell click", async ({ bee }) => {
await bee.expression.asEvery().variable.fill("Changed Variable Name");

// commit a change by a click to another cell
await bee.expression.asEvery().in.elementCell.click();

await expect(bee.getContainer()).toHaveScreenshot("boxed-every-variable-commit-on-cell-click.png");
await expect(bee.getContainer()).toHaveScreenshot("boxed-every-commit-variable-by-cell-click.png");
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ test.describe("Create Boxed Invocation", () => {
await expect(bee.getContainer()).toHaveScreenshot("boxed-invocation.png");
});

test("should commit invoked function name by other cell click", async ({ bee, stories, page }) => {
test("should commit invoked function by cell click", async ({ bee, stories, page }) => {
await stories.openBoxedInvocation();
await bee.expression.asInvocation().invokedFunctionNameCell.click();
await page.keyboard.type("Change Invoked Function Name");
await page.keyboard.type("Changed Invoked Function Name");

// commit a change by a click to another cell
await bee.expression.asInvocation().parameter(0).descriptionCell.select();

await expect(bee.getContainer()).toHaveScreenshot("boxed-invocation-function-name-commit-on-cell-click.png");
await expect(bee.getContainer()).toHaveScreenshot("boxed-invocation-commit-function-by-cell-click.png");
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ test.describe("Create Boxed Some", () => {
expect((await jsonModel.getSomeExpression()).satisfies["@_id"]).not.toBeUndefined();
});

test("should commit variable name by other cell click", async ({ bee }) => {
await bee.expression.asSome().variable.fill("Change Variable Name");
test("should commit variable by cell click", async ({ bee }) => {
await bee.expression.asSome().variable.fill("Changed Variable Name");

// commit a change by a click to another cell
await bee.expression.asSome().in.elementCell.click();

await expect(bee.getContainer()).toHaveScreenshot("boxed-some-variable-commit-on-cell-click.png");
await expect(bee.getContainer()).toHaveScreenshot("boxed-some-commit-variable-by-cell-click.png");
});
});

0 comments on commit e61aaf6

Please sign in to comment.