diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1231f0ef..a246eddcd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,6 +73,9 @@ jobs: - ROBOT_MODEL: 'ur5e' URSIM_VERSION: '10.12.0' PROGRAM_FOLDER: 'tests/resources/dockerursim/programs/polyscopex' + - ROBOT_MODEL: 'ur7e' + URSIM_VERSION: '10.13.0' + PROGRAM_FOLDER: 'tests/resources/dockerursim/programs/polyscopex' steps: - uses: actions/checkout@v6 diff --git a/tests/resources/update_prog.urpx b/tests/resources/update_prog.urpx index 1d6602b51..e22e87278 100644 --- a/tests/resources/update_prog.urpx +++ b/tests/resources/update_prog.urpx @@ -2,7 +2,7 @@ "application": { "id": "6", "applicationInfo": { - "name": "application" + "name": "update_application" }, "applicationContent": { "applicationContributions": { diff --git a/tests/test_dashboard_client_x.cpp b/tests/test_dashboard_client_x.cpp index b30b02671..f3c2a67d4 100644 --- a/tests/test_dashboard_client_x.cpp +++ b/tests/test_dashboard_client_x.cpp @@ -199,8 +199,12 @@ TEST_F(DashboardClientTestX, program_interaction) ASSERT_TRUE(response.ok); if (dashboard_client_->getRobotApiVersion() >= VersionInformation::fromString("3.1.4")) { - response = dashboard_client_->commandGetLoadedProgram(); - ASSERT_EQ(std::get(response.data["program_name"]), "wait_program"); + waitFor( + [&]() { + auto resp = dashboard_client_->commandGetLoadedProgram(); + return std::get(resp.data["program_name"]) == "wait_program"; + }, + std::chrono::milliseconds(1000)); } response = dashboard_client_->commandPowerOn(); ASSERT_TRUE(response.ok);