コード例 #1
0
        public PurchaseOrderCreateTest(TestFixture fixture)
            : base(fixture)
        {
            this.internalOrganisation = new Organisations(this.Session).FindBy(M.Organisation.Name, "Allors BVBA");

            this.Login();
            this.purchaseOrderListPage = this.Sidenav.NavigateToPurchaseOrders();
        }
コード例 #2
0
        public PurchaseOrderItemCreateTest(TestFixture fixture)
            : base(fixture)
        {
            this.internalOrganisation = new Organisations(this.Session).FindBy(M.Organisation.Name, "Allors BVBA");

            this.purchaseOrder         = this.internalOrganisation.CreatePurchaseOrderWithBothItems(this.Session.Faker());
            this.nonSerializedPartItem = this.purchaseOrder.PurchaseOrderItems.First(v => !v.ExistSerialisedItem);
            this.serializedPartItem    = this.purchaseOrder.PurchaseOrderItems.First(v => v.ExistSerialisedItem);

            this.Session.Derive();
            this.Session.Commit();

            this.Login();
            this.purchaseOrderListPage = this.Sidenav.NavigateToPurchaseOrders();
        }