using Content.IntegrationTests.Tests.Interaction;
using Content.Shared.Placeable;
namespace Content.IntegrationTests.Tests.Construction.Interaction;
public sealed class PlaceableDeconstruction : InteractionTest
{
///
/// Checks that you can deconstruct placeable surfaces (i.e., placing a wrench on a table does not take priority).
///
[Test]
public async Task DeconstructTable()
{
await StartDeconstruction("Table");
Assert.That(Comp().IsPlaceable);
await InteractUsing(Wrench);
AssertPrototype("TableFrame");
await InteractUsing(Wrench);
AssertDeleted();
await AssertEntityLookup((Steel, 1), (Rod, 2));
}
}