public CustomerShipmentEditTest(TestFixture fixture)
            : base(fixture)
        {
            this.internalOrganisation = new Organisations(this.Session).FindBy(M.Organisation.Name, "Allors BVBA");

            this.Login();
            this.shipmentListPage = this.Sidenav.NavigateToShipments();
        }
        public PurchaseShipmentCreateTest(TestFixture fixture)
            : base(fixture)
        {
            this.internalOrganisation = new Organisations(this.Session).FindBy(M.Organisation.Name, "Allors BVBA");

            for (int i = 0; i < 10; i++)
            {
                this.internalOrganisation.CreateSupplier(this.Session.Faker());
            }

            this.Login();
            this.shipmentListPage = this.Sidenav.NavigateToShipments();
        }
Ejemplo n.º 3
0
        public ShipmentItemEditTest(TestFixture fixture)
            : base(fixture)
        {
            this.internalOrganisation = new Organisations(this.Session).FindBy(M.Organisation.Name, "Allors BVBA");

            var customerShipments = new CustomerShipments(this.Session).Extent();

            customerShipments.Filter.AddEquals(M.CustomerShipment.ShipFromParty.RoleType, internalOrganisation);
            this.customerShipment = customerShipments.First;

            this.Login();
            this.shipmentListPage = this.Sidenav.NavigateToShipments();
        }