Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c50a4bc
Merge pull request #480 from sensebox/development
Thiemann96 Aug 21, 2025
673e98e
Bump @fortawesome/free-solid-svg-icons from 6.7.2 to 7.0.0
dependabot[bot] Aug 21, 2025
fa25ccb
Bump cypress-ctrf-json-reporter from 0.0.11 to 0.0.12
dependabot[bot] Aug 21, 2025
7c160e2
Bump react-cookie-consent from 7.6.0 to 9.0.0
dependabot[bot] Aug 21, 2025
1a0b7df
fix: showing more projects
Aug 21, 2025
2eb0dcf
fix: #531
Aug 21, 2025
acbbef2
remove: comments and logs
Aug 21, 2025
87b196b
Merge pull request #530 from sensebox/dependabot/npm_and_yarn/develop…
Thiemann96 Aug 21, 2025
775e9c7
Merge pull request #527 from sensebox/dependabot/npm_and_yarn/develop…
Thiemann96 Aug 21, 2025
8f8e430
Merge pull request #526 from sensebox/dependabot/npm_and_yarn/develop…
Thiemann96 Aug 21, 2025
70f0fb0
Merge pull request #532 from sensebox/hotfix_releasePatch
Thiemann96 Aug 21, 2025
4147992
fix: OTA library not included in mcus2
Aug 25, 2025
225e437
add: test for tablet mode and mcus2
Aug 25, 2025
24d40f5
add: tests for mcu
Aug 25, 2025
309762b
Fix compile error when tablet mode was selected
Thiemann96 Aug 25, 2025
d52b512
fix: send projectid to compiler
Aug 27, 2025
4b4a03f
add: use sessionId to send to compiler
Aug 28, 2025
82897d7
Merge pull request #537 from sensebox/fix_compileTiming
Thiemann96 Aug 28, 2025
1deaaed
build(deps): bump axios from 0.30.0 to 1.12.0
dependabot[bot] Sep 13, 2025
0c513c9
Merge branch 'development' into dependabot/npm_and_yarn/axios-1.12.0
Thiemann96 Sep 17, 2025
0be422a
update: yarn lock
Sep 17, 2025
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
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ GENERATE_SOURCEMAP=false
# in days
VITE_SHARE_LINK_EXPIRES=30

VITE_PROJECTS_ALLOWED_AUTHORS="[email protected], [email protected], [email protected], [email protected]"
VITE_PROJECTS_ALLOWED_AUTHORS="[email protected],[email protected],[email protected],[email protected]"
53 changes: 53 additions & 0 deletions cypress/e2e/blockly.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,58 @@ describe("Blockly Editor Page Tests", () => {
.and("contain.text", "Sprache");
});

it("[Blockly] changes to tablet mode and compiles code for esp32", () => {
cy.intercept({
method: "POST",
pathname: "/compile",
}).as("compile");

cy.visit("/settings");
cy.get("#ota-selector").click();
cy.contains("li", "Activated").click();
cy.visit("/");
cy.contains("button", "Close").click();
cy.get('img[alt="Sensebox ESP"]').click();
cy.get('button[aria-label="Compile code"]').click();

// check if the request was made
cy.wait("@compile", {
responseTimeout: 30000,
requestTimeout: 30000,
}).then((interception) => {
expect(interception.response.statusCode).to.eq(200);
expect(interception.response.body).to.have.property("data");
expect(interception.response.body.data).to.have.property("id");
expect(interception.response.body.data.id).to.be.a("string");
});
});

it("[Blockly] changes to tablet mode and compiles code for MCU", () => {
cy.intercept({
method: "POST",
pathname: "/compile",
}).as("compile");

cy.visit("/settings");
cy.get("#ota-selector").click();
cy.contains("li", "Activated").click();
cy.visit("/");
cy.contains("button", "Close").click();
cy.get('img[alt="Sensebox MCU"]').click();
cy.get('button[aria-label="Compile code"]').click();

// check if the request was made
cy.wait("@compile", {
responseTimeout: 30000,
requestTimeout: 30000,
}).then((interception) => {
expect(interception.response.statusCode).to.eq(200);
expect(interception.response.body).to.have.property("data");
expect(interception.response.body.data).to.have.property("id");
expect(interception.response.body.data.id).to.be.a("string");
});
});

it("[Blockly] compiles code", () => {
// intercept the request to the compiler

Expand All @@ -98,6 +150,7 @@ describe("Blockly Editor Page Tests", () => {
}).as("compile");

cy.visit("/");

cy.get('img[alt="Sensebox ESP"]').click();
cy.get('button[aria-label="Compile code"]').click();

Expand Down
Loading