Page MenuHomePhorge

tst_ReactToEventPopup.qml
No OneTemporary

Size
741 B
Referenced Files
None
Subscribers
None

tst_ReactToEventPopup.qml

/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2024 April Simone <apr3vau@outlook.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import QtQuick
import QtTest
import '../../contents/ui' as Kazv
import 'test-helpers' as QmlHelpers
QmlHelpers.TestItem {
Kazv.ReactToEventPopup {
id: popup
}
TestCase {
id: reactToEventPopupTest
name: 'ReactToEventPopupTest'
when: windowShown
function test_react() {
skip("Skipped as it requires further change.");
popup.open();
const grid = findChild(popup, 'emojiGrid');
waitForRendering(grid);
mouseClick(grid.currentItem);
tryVerify(() => findChild(popup, 'reactionTextInput').text === grid.currentItem.str);
}
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 3:50 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39454
Default Alt Text
tst_ReactToEventPopup.qml (741 B)

Event Timeline