mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-07 07:36:54 +01:00
Third batch from CURABIS ApS: item-ledger-entry document-no lookup after Ship-and-Invoice posting, TestPage.Visible()/.Enabled() as the mechanism for verifying field UI state, and LibraryUtility.GenerateGUID() for collision-free test fixture values.
15 lines
521 B
AL
15 lines
521 B
AL
codeunit 50131 "Sample Customer Type UI Test"
|
|
{
|
|
Subtype = Test;
|
|
|
|
[Test]
|
|
procedure CustomerTypeFieldIsEnabledOnCustomerCard()
|
|
var
|
|
Assert: Codeunit Assert;
|
|
CustomerCard: TestPage "Customer Card";
|
|
begin
|
|
CustomerCard.OpenView();
|
|
Assert.IsTrue(CustomerCard."Customer Type".Enabled(), 'Customer Type should be editable on the Customer Card.');
|
|
Assert.IsTrue(CustomerCard."Customer Type".Visible(), 'Customer Type should be visible on the Customer Card.');
|
|
end;
|
|
}
|