Skip to content

more seed data

more seed data #33

GitHub Actions / Test results failed Jul 22, 2024 in 1s

17 passed, 2 failed and 0 skipped

Tests failed

❌ src/VahterBanBot.Tests/TestResults/test-results.trx

19 tests were completed in 74s with 17 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BaseTests+BaseTests 3✅ 140ms
PingTests+PingTests 2✅ 394ms
VahterBanBot.Tests.BanTests+BanTests 6✅ 426ms
VahterBanBot.Tests.MessageTests+MessageTests 1✅ 385ms
VahterBanBot.Tests.MLBanTests+MLBanTests 5✅ 2❌ 91ms

✅ BaseTests+BaseTests

✅ Not possible to interact with the bot without authorization
✅ Random path returns OK
✅ Should be possible to interact with the bot

✅ PingTests+PingTests

✅ Message got recorded
✅ Message not recorded if chat is not on the list

✅ VahterBanBot.Tests.BanTests+BanTests

✅ NON Vahter can't ban on reply
✅ Only Vahter can unban user
✅ Vahter can ban on reply
✅ Vahter can unban user
✅ Vahter can't ban another vahter
✅ Vahter can't ban on reply in non-allowed chat

✅ VahterBanBot.Tests.MessageTests+MessageTests

✅ All data from the message being saved

❌ VahterBanBot.Tests.MLBanTests+MLBanTests

❌ If message got auto-deleted we can mark it as false-positive with a button click
	Assert.True() Failure
	Expected: True
	Actual:   False
✅ Message IS autobanned if it is a known false-negative spam
✅ Message IS autobanned if it looks like a spam
✅ Message is NOT autobanned if it has a stopword in specific chat
✅ Message is NOT autobanned if it is a known false-positive spam
✅ Message is NOT autobanned if it looks like a spam BUT vahter sent it
❌ Only vahter can press THE BUTTON(s)
	Assert.True() Failure
	Expected: True
	Actual:   False

Annotations

Check failure on line 79 in src/VahterBanBot.Tests/MLBanTests.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

VahterBanBot.Tests.MLBanTests+MLBanTests ► If message got auto-deleted we can mark it as false-positive with a button click

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  Assert.True() Failure
  Expected: True
  Actual:   False
Raw output
Assert.True() Failure
Expected: True
Actual:   False
   at VahterBanBot.Tests.MLBanTests.clo@71-9.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/MLBanTests.fs:line 79
--- End of stack trace from previous location ---

Check failure on line 103 in src/VahterBanBot.Tests/MLBanTests.fs

See this annotation in the file changed.

@github-actions github-actions / Test results

VahterBanBot.Tests.MLBanTests+MLBanTests ► Only vahter can press THE BUTTON(s)

Failed test found in:
  src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
  Assert.True() Failure
  Expected: True
  Actual:   False
Raw output
Assert.True() Failure
Expected: True
Actual:   False
   at VahterBanBot.Tests.MLBanTests.clo@95-10.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/MLBanTests.fs:line 103
--- End of stack trace from previous location ---