Skip to content

make test: 80 succeed, 9 fail #259

@christoph-maurer

Description

@christoph-maurer

@simonwacker Shall we fix it together?

me@62d80ac40922:~/app$ make test
dotnet run \
	--project ./test/*.Tests.csproj \
	--coverage \
	
[08:34:28.470] SynchronizedRunTestsAsync: ENTRY
[08:34:28.473] SynchronizedRunTestsAsync: Creating executor
NUnit Adapter 1.0.0.0: Test execution started
Running all tests in /home/me/app/test/bin/Debug/net10.0/Metabase.Tests.dll
   NUnit3TestExecutor discovered 89 of 89 NUnit test cases using Current Discovery mode, Non-Explicit run
failed SaveChanges_SetsAndUpdatesTimestamps_UsingFakeClock (3s 446ms)
    UpdatedAt should reflect the new fake time.
  Assert.That(entity.UpdatedAt, Is.EqualTo(updatedInstant.WithOffset(Offset.Zero).ToDateTimeOffset()))
    Expected: 2024-01-01 11:00:00+00:00
    But was:  2024-01-01 10:00:00+00:00
  
    at Metabase.Tests.AuditableTests.SaveChanges_SetsAndUpdatesTimestamps_UsingFakeClock() in AuditableTests.cs:50
    at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
    at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    1)    at Metabase.Tests.AuditableTests.<>c__DisplayClass2_0.<SaveChanges_SetsAndUpdatesTimestamps_UsingFakeClock>b__1() in /home/me/app/test/AuditableTests.cs:line 53
    at NUnit.Framework.Assert.Multiple(Action action)
    at Metabase.Tests.AuditableTests.SaveChanges_SetsAndUpdatesTimestamps_UsingFakeClock() in AuditableTests.cs:50
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
    at Metabase.Tests.AuditableTests.SaveChanges_SetsAndUpdatesTimestamps_UsingFakeClock()
    
    
[08:34:33 INF] Starting web host
     Warning:
     The component "Fluent Assertions" is governed by the rules defined in the Xceed License Agreement and
     the Xceed Fluent Assertions Community License. You may use Fluent Assertions free of charge for
     non-commercial use only. An active subscription is required to use Fluent Assertions for commercial use.

     Please contact Xceed Sales mailto:sales@xceed.com to acquire a subscription at a very low cost.

     A paid commercial license supports the development and continued increasing support of
     Fluent Assertions users under both commercial and community licenses. Help us
     keep Fluent Assertions at the forefront of unit testing.

     For more information, visit https://xceed.com/products/unit-testing/fluent-assertions/

[08:40:04 INF] Starting web host

failed AnonymousUser_IsAuthenticationError (23s 027ms)
    Assert.That(actualSnapshot, Is.EqualTo(expectedSnapshot))
    Expected string length 345 but was 252. Strings differ at index 109.
    Expected: "...cess this resource.",\n      "locations": [\n        {\n     ..."
    But was:  "...cess this resource.",\n      "path": [\n        "createCompo..."
    --------------------------------------------^
  
    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Components.CreateComponentTests.AnonymousUser_IsAuthenticationError() in Integration/GraphQl/Components/CreateComponentTests.cs:29
    at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
    at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.AfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
    at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    1)    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Components.CreateComponentTests.AnonymousUser_IsAuthenticationError() in Integration/GraphQl/Components/CreateComponentTests.cs:29
    
    
  Standard output
    [08:40:04 INF] Starting web host
    
  Error output
[08:40:27 INF] Starting web host

[08:40:46 INF] Starting web host

[08:41:04 INF] Starting web host

[08:41:21 INF] Starting web host

[08:41:44 INF] Starting web host

[08:42:05 INF] Starting web host

[08:42:27 INF] Starting web host

[08:42:50 INF] Starting web host

[08:43:13 INF] Starting web host

[08:43:38 INF] Starting web host

[08:44:07 INF] Starting web host

[08:44:35 INF] Starting web host

[08:45:08 INF] Starting web host

[08:45:38 INF] Starting web host

[08:46:07 INF] Starting web host

[08:46:41 INF] Starting web host

[08:47:14 INF] Starting web host

[08:47:47 INF] Starting web host

failed IsUnchanged (31s 902ms)
    Assert.That(actualSnapshot, Is.EqualTo(expectedSnapshot))
    Expected string length 156956 but was 156997. Strings differ at index 147882.
    Expected: "...FILE\\n  READ_API\\n  ROLES\\n  VERIFY_API\\n  WRITE_API\\n}\\n\\..."
    But was:  "...FILE\\n  READ_API\\n  ROLES\\n  SUPPORT_API\\n  VERIFY_API\\n  ..."
    ----------------------------------------------^
  
    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.GraphQlSchemaTests.IsUnchanged() in Integration/GraphQl/GraphQlSchemaTests.cs:29
    at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
    at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.AfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
    at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    1)    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.GraphQlSchemaTests.IsUnchanged() in Integration/GraphQl/GraphQlSchemaTests.cs:29
    
    
  Standard output
    [08:47:47 INF] Starting web host
    
  Error output
[08:48:19 INF] Starting web host

failed AnonymousUser_CannotCreateInstitution (47s 369ms)
    Assert.That(actualSnapshot, Is.EqualTo(expectedSnapshot))
    Expected string length 579 but was 1891. Strings differ at index 104.
    Expected: "...ode": {\n            "name": "Fraunhofer ISE",\n            ..."
    But was:  "...ode": {\n            "name": "LBNL",\n            "abbreviat..."
    --------------------------------------------^
  
    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Institutions.CreateInstitutionTests.AnonymousUser_CannotCreateInstitution() in Integration/GraphQl/Institutions/CreateInstitutionTests.cs:52
    at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
    at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.AfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
    at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    1)    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Institutions.CreateInstitutionTests.AnonymousUser_CannotCreateInstitution() in Integration/GraphQl/Institutions/CreateInstitutionTests.cs:52
    
    
  Standard output
    [08:48:19 INF] Starting web host
    
  Error output
[08:49:06 INF] Starting web host

failed AnonymousUser_IsAuthenticationError (49s 387ms)
    Assert.That(actualSnapshot, Is.EqualTo(expectedSnapshot))
    Expected string length 347 but was 254. Strings differ at index 109.
    Expected: "...cess this resource.",\n      "locations": [\n        {\n     ..."
    But was:  "...cess this resource.",\n      "path": [\n        "createInsti..."
    --------------------------------------------^
  
    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Institutions.CreateInstitutionTests.AnonymousUser_IsAuthenticationError() in Integration/GraphQl/Institutions/CreateInstitutionTests.cs:30
    at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
    at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.AfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
    at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    1)    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Institutions.CreateInstitutionTests.AnonymousUser_IsAuthenticationError() in Integration/GraphQl/Institutions/CreateInstitutionTests.cs:30
    
    
  Standard output
    [08:49:06 INF] Starting web host
    
  Error output
[08:49:55 INF] Starting web host

[08:50:47 INF] Starting web host

[08:51:42 INF] Starting web host

[08:52:24 INF] Starting web host

[08:53:06 INF] Starting web host

[08:53:46 INF] Starting web host

[08:54:30 INF] Starting web host

failed NonLoggedInUser_IsAuthenticationError (43s 155ms)
    Assert.That(actualSnapshot, Is.EqualTo(expectedSnapshot))
    Expected string length 345 but was 252. Strings differ at index 109.
    Expected: "...cess this resource.",\n      "locations": [\n        {\n     ..."
    But was:  "...cess this resource.",\n      "path": [\n        "changeUserE..."
    --------------------------------------------^
  
    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Users.ChangeUserEmailTests.NonLoggedInUser_IsAuthenticationError() in Integration/GraphQl/Users/ChangeUserEmailTests.cs:72
    at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
    at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    1)    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Users.ChangeUserEmailTests.NonLoggedInUser_IsAuthenticationError() in Integration/GraphQl/Users/ChangeUserEmailTests.cs:72
    
    
  Standard output
    [08:54:30 INF] Starting web host
    
  Error output
[08:55:14 INF] Starting web host

[08:55:53 INF] Starting web host

[08:56:40 INF] Starting web host

failed NonLoggedInUser_IsAuthenticationError (46s 190ms)
    Assert.That(actualSnapshot, Is.EqualTo(expectedSnapshot))
    Expected string length 348 but was 255. Strings differ at index 109.
    Expected: "...cess this resource.",\n      "locations": [\n        {\n     ..."
    But was:  "...cess this resource.",\n      "path": [\n        "changeUserP..."
    --------------------------------------------^
  
    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Users.ChangeUserPasswordTests.NonLoggedInUser_IsAuthenticationError() in Integration/GraphQl/Users/ChangeUserPasswordTests.cs:74
    at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
    at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    1)    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Users.ChangeUserPasswordTests.NonLoggedInUser_IsAuthenticationError() in Integration/GraphQl/Users/ChangeUserPasswordTests.cs:74
    
    
  Standard output
    [08:56:40 INF] Starting web host
    
  Error output
[08:57:26 INF] Starting web host

[08:58:16 INF] Starting web host

[08:59:04 INF] Starting web host

[08:59:45 INF] Starting web host

[09:00:30 INF] Starting web host

[09:01:14 INF] Starting web host

[09:02:01 INF] Starting web host

[09:02:46 INF] Starting web host

[09:03:32 INF] Starting web host

[09:04:21 INF] Starting web host

[09:05:10 INF] Starting web host

[09:05:57 INF] Starting web host


[✓38/x7/↓0] Metabase.Tests.dll (net10.0|x64)                                                                                                        (32m [09:06:45 INF] Starting web host

[09:07:38 INF] Starting web host

[09:08:34 INF] Starting web host

[09:09:28 INF] Starting web host

[09:10:22 INF] Starting web host

[09:11:16 INF] Starting web host

[09:12:14 INF] Starting web host

[09:13:15 INF] Starting web host

[09:14:15 INF] Starting web host

[09:15:15 INF] Starting web host

[09:16:18 INF] Starting web host

[09:17:21 INF] Starting web host

[09:18:23 INF] Starting web host

[09:19:26 INF] Starting web host

[09:20:35 INF] Starting web host

failed NonLoggedInUser_IsAuthenticationError (1m 12s 505ms)
    Assert.That(actualSnapshot, Is.EqualTo(expectedSnapshot))
    Expected string length 352 but was 259. Strings differ at index 109.
    Expected: "...cess this resource.",\n      "locations": [\n        {\n     ..."
    But was:  "...cess this resource.",\n      "path": [\n        "deletePerso..."
    --------------------------------------------^
  
    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Users.DeletePersonalUserDataTests.NonLoggedInUser_IsAuthenticationError() in Integration/GraphQl/Users/DeletePersonalUserDataTests.cs:90
    at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
    at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    1)    at Snapshooter.NUnit.NUnitAssert.Assert(String expectedSnapshot, String actualSnapshot)
    at Snapshooter.Core.JsonSnapshotComparer.CompareSnapshots(String expectedSnapshot, String actualSnapshot, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptionsSettings)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match(Object currentResult, Func`2 matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Users.DeletePersonalUserDataTests.NonLoggedInUser_IsAuthenticationError() in Integration/GraphQl/Users/DeletePersonalUserDataTests.cs:90
    
    
  Standard output
    [09:20:35 INF] Starting web host
    
  Error output
[09:21:48 INF] Starting web host

[09:22:51 INF] Starting web host

[09:23:54 INF] Starting web host

[09:25:05 INF] Starting web host

[09:26:10 INF] Starting web host

[09:27:15 INF] Starting web host

[09:28:15 INF] Starting web host

[09:29:15 INF] Starting web host

[09:30:18 INF] Starting web host

[09:31:21 INF] Starting web host

[09:32:26 INF] Starting web host

[09:33:34 INF] Starting web host

[09:34:41 INF] Starting web host

[09:35:45 INF] Starting web host

[09:36:48 INF] Starting web host

[09:37:58 INF] Starting web host

[09:39:02 INF] Starting web host

[09:40:10 INF] Starting web host

failed NonLoggedInUser_IsAuthenticationError (1m 11s 272ms)
    Assert.That(actualSnapshot, Is.EqualTo(expectedSnapshot))
    Expected string length 357 but was 264. Strings differ at index 109.
    Expected: "...cess this resource.",\n      "locations": [\n        {\n     ..."
    But was:  "...cess this resource.",\n      "path": [\n        "resendUserE..."
    --------------------------------------------^
  
    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Users.ResendUserEmailVerificationTests.NonLoggedInUser_IsAuthenticationError() in Integration/GraphQl/Users/ResendUserEmailVerificationTests.cs:62
    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
    at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
    
    1)    at Snapshooter.SnapshotAssert.ExecuteSnapshotComparison(Boolean originalSnapshotExists, String actualSnapshotSerialized, String originalSnapshotSerialized, SnapshotFullName snapshotFullName, MatchOptions matchOptions)
    at Snapshooter.NUnit.Snapshot.Match[T](T currentResult, Func`2 matchOptions)
    at Metabase.Tests.Integration.GraphQl.Users.ResendUserEmailVerificationTests.NonLoggedInUser_IsAuthenticationError() in Integration/GraphQl/Users/ResendUserEmailVerificationTests.cs:62
    
    
  Standard output
    [09:40:10 INF] Starting web host
    
  Error output
[09:41:21 INF] Starting web host

[09:42:27 INF] Starting web host

[09:43:37 INF] Starting web host

[09:44:58 INF] Starting web host

[09:46:07 INF] Starting web host

[09:47:21 INF] Starting web host

[09:48:33 INF] Starting web host

[09:49:43 INF] Starting web host

[09:50:59 INF] Starting web host

[09:52:14 INF] Starting web host

Do play!


  In process file artifacts produced:
    - bin/Debug/net10.0/TestResults/5a385eb0-ea62-41e9-9fd6-8e7e8f63be70.coverage

Test run summary: Failed! - bin/Debug/net10.0/Metabase.Tests.dll (net10.0|x64)
  total: 89
  failed: 9
  succeeded: 80
  skipped: 0
  duration: 1h 19m 05s 366ms

make: *** [Makefile:37: test] Error 2

Metadata

Metadata

Labels

2601Issues for the end of project EQWIN-PISEFraunhofer Institute for Solar Energy Systems ISE

Type

No type
No fields configured for issues without a type.

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions