Skip to content

Commit

Permalink
FI from stable
Browse files Browse the repository at this point in the history
  • Loading branch information
elsoazemelet committed Jan 22, 2025
2 parents 4d7c77d + d63821a commit f3321d2
Show file tree
Hide file tree
Showing 8 changed files with 403 additions and 634 deletions.
6 changes: 3 additions & 3 deletions playwright-tests/data/actionBlockElements.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
},
"variables": {
"Lookup": ["source", "input", "output", "destination", "addNewPair"],
"Global": ["Commit", "var", "i", "addNewPair"],
"Locals": ["Commit", "var", "i", "addNewPair"],
"Self": ["Commit", "var", "i", "addNewPair"]
"Global": ["name", "value", "addNewPair"],
"Locals": ["name", "value", "addNewPair"],
"Self": ["name", "value", "addNewPair"]
},
"led": {
"Start Animation": ["ledNumber", "Layer", "Phase", "Rate", "Shape"],
Expand Down
21 changes: 9 additions & 12 deletions playwright-tests/data/actionBlockLocators.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,25 @@ export const blocks = (page) => ({
Global: {
block: page.getByText("Global"),
elements: {
Commit: page.getByRole("button", { name: "Commit" }),
var: page.getByPlaceholder("variable name"),
i: page.locator("#monaco_container"),
addNewPair: page.getByText("Add global variable..."),
name: page.getByTestId("variable-name"),
value: page.getByTestId("variable-value"),
addNewPair: page.getByTestId("add-variable"),
},
},
Locals: {
block: page.getByText("Locals"),
elements: {
Commit: page.getByRole("button", { name: "Commit" }),
var: page.getByPlaceholder("variable name"),
i: page.locator("#monaco_container"),
addNewPair: page.getByText("Add local variable..."),
name: page.getByTestId("variable-name"),
value: page.getByTestId("variable-value"),
addNewPair: page.getByTestId("add-variable"),
},
},
Self: {
block: page.getByText("Self"),
elements: {
Commit: page.getByRole("button", { name: "Commit" }),
var: page.getByPlaceholder("variable name"),
i: page.locator("#monaco_container"),
addNewPair: page.getByText("Add self variable..."),
name: page.getByTestId("variable-name"),
value: page.getByTestId("variable-value"),
addNewPair: page.getByTestId("add-variable"),
},
},
},
Expand Down
Loading

0 comments on commit f3321d2

Please sign in to comment.