提交 6d122abf 编写于 作者: O owen-m1

tests should now fail

上级 44bedeed
......@@ -14,6 +14,8 @@ createTestCafe().then((tc) => {
.concurrency(3)
.run();
}).then((actualFailedCount) => {
testcafe.close();
failedCount = actualFailedCount;
console.log('FAILED COUNT', actualFailedCount)
return testcafe.close();
}).then(() => process.exit(failedCount));
......@@ -57,7 +57,7 @@ test('Swap threshold', async browser => {
.expect(dragStartPosition.innerText).eql(dragEl.innerText)
.expect(targetStartPosition.innerText).eql(target.innerText)
.dragToElement(dragEl, target, {
destinationOffsetY: Math.round(itemHeight / 2 * 0.4 - leeway)
destinationOffsetY: Math.round(itemHeight / 2 * 0.4 + leeway)
})
.expect(dragStartPosition.innerText).eql(dragEl.innerText)
.expect(targetStartPosition.innerText).eql(target.innerText)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册