Skip to content

Commit

Permalink
Disable the popupwindow close test for nodejs
Browse files Browse the repository at this point in the history
Unfortunately in the CI the test runs with Qt, where send_mouse_click in
the test will send the event to the main QWindow not the popup.

We can't select the testing backend because it's not published and
we can't make the nodejs crate depend on it for initialization.
  • Loading branch information
tronical committed Jun 2, 2023
1 parent 0f54b95 commit 6a01240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cases/elements/popupwindow_close.slint
Expand Up @@ -152,7 +152,7 @@ slint_testing::send_mouse_click(&instance, 5., 5.);
assert_eq(instance.get_click_count(), 1);
```
```js
```disable-because-nodejs-runs-with-qt-and-send-mouse-click-wont-send-to-popup-qwindow
var instance = new slint.TestCase({});
assert.equal(instance.click_count, 0);
Expand Down

0 comments on commit 6a01240

Please sign in to comment.