[autotest] Disable default TabBox on touch screen edge in ScreenEdgeClientShowTest

Not needed and the QML doesn't work well in tests.
This commit is contained in:
Martin Flöser 2017-06-19 21:54:11 +02:00
parent 0364fae4b9
commit 56e681823b

View file

@ -60,6 +60,14 @@ void ScreenEdgeClientShowTest::initTestCase()
QMetaObject::invokeMethod(kwinApp()->platform(), "setOutputCount", Qt::DirectConnection, Q_ARG(int, 2));
QVERIFY(waylandServer()->init(s_socketName.toLocal8Bit()));
// set custom config which disable touch edge
KSharedConfig::Ptr config = KSharedConfig::openConfig(QString(), KConfig::SimpleConfig);
KConfigGroup group = config->group("TabBox");
group.writeEntry(QStringLiteral("TouchBorderActivate"), "9");
group.sync();
kwinApp()->setConfig(config);
kwinApp()->start();
QVERIFY(workspaceCreatedSpy.wait());
QCOMPARE(screens()->count(), 2);