Skip to content

Conversation

@ewaterlander
Copy link
Contributor

UI tests for #1207 for reloading values in the UI when editing a Gdb Remote launch target.

@ewaterlander
Copy link
Contributor Author

ewaterlander commented Oct 30, 2025

Hi @betamaxbandit or anyone who has experience with SWTBot tests.

I need help with this test.
Creating a new target works. Editing the target and checking values is very flaky.
This test was inspired by CreateLaunchConfigTests

The test is in a new plugin, which is not yet added to the automated build and test. Build and run it in the IDE.
Right click on the plugin, Run as > SWTBot test. In the generated launch config you can select to run a single test or all.

Tests will pass if you are lucky (don't touch the mouse).
Using EditTargetDialog never works for me.

@github-actions
Copy link

github-actions bot commented Oct 30, 2025

Test Results

   620 files  + 1     620 suites  +1   37m 59s ⏱️ + 1m 10s
11 159 tests + 3  11 007 ✅ + 1  149 💤 ±0  0 ❌ ±0  3 🔥 +2 
11 151 runs  +77  11 001 ✅ +75  147 💤 ±0  0 ❌ ±0  3 🔥 +2 

For more details on these errors, see this check.

Results for commit 48724ff. ± Comparison against base commit 559c9a6.

♻️ This comment has been updated with latest results.

@betamaxbandit
Copy link
Contributor

Hi @betamaxbandit or anyone who has experience with SWTBot tests.

I need help with this test. Creating a new target works. Editing the target and checking values is very flaky. This test was inspired by CreateLaunchConfigTests

The test is in a new plugin, which is not yet added to the automated build and test. Build and run it in the IDE. Right click on the plugin, Run as > SWTBot test. In the generated launch config you can select to run a single test or all.

Tests will pass if you are lucky (don't touch the mouse). Using EditTargetDialog never works for me.

Hi @ewaterlander ,
Apologies for late response. I'm a bit tied up with other things right now.
I'll try to get to this next week and see if I can spot anything.
Cheers John

UI tests for eclipse-cdt#1207 for reloading values in the UI when
editing a Gdb Remote launch target.
@ewaterlander
Copy link
Contributor Author

I created a development environment on my private laptop on Ubuntu. Somehow I'm not able to run SWTBot tests. They terminate before the tests start. Getting 0/0 tests. I don't know why.

Went back to my Intel environment, which appeared to be broken. I cannot repair it. I will start a new one.

@ewaterlander
Copy link
Contributor Author

Went back to my Intel environment, which appeared to be broken. I cannot repair it. I will start a new one.

After restoring my Intel environment I have the same problems as on my private laptop.

@betamaxbandit
If you are OK with it I abandon this PR. Unless somebody can help me fix it I stop working on this test.

@betamaxbandit
Copy link
Contributor

Went back to my Intel environment, which appeared to be broken. I cannot repair it. I will start a new one.

After restoring my Intel environment I have the same problems as on my private laptop.

@betamaxbandit If you are OK with it I abandon this PR. Unless somebody can help me fix it I stop working on this test.

Hi @ewaterlander ,
sorry to hear you're having problems with this.
I'm fine with abandoning this PR; it was only a nice-to-have.
Cheers John

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants