Exemplo n.º 1
0
 public SigninPage(FluentTest test)
     : base(test, "/adm/signin")
 {
     At = () => {
         test.I.Expect.Exists(Email);
         test.I.Expect.Exists(Password);
         test.I.Expect.Exists(SigninButton);
         test.I.Expect.Exists(InvalidUserAlert);
     };
 }
Exemplo n.º 2
0
        private void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (this.I != null)
                {
                    this.I.Dispose();
                    this.I = null;
                }

                if (this.FluentTest != null)
                {
                    this.FluentTest.Dispose();
                    this.FluentTest = null;
                }
            }
        }
Exemplo n.º 3
0
 public HomePage(FluentTest test)
     : base(test, "/adm/")
 {
 }
Exemplo n.º 4
0
 public PageBase()
 {
     SeleniumWebDriver.Bootstrap(SeleniumWebDriver.Browser.Chrome);
     this.FluentTest = new FluentTest();
     this.I = this.FluentTest.I;
 }
Exemplo n.º 5
0
        public BasicPage(FluentTest test, string relativeUrl)
        {
            this.test = test;

            Url = HOST + relativeUrl;
        }
Exemplo n.º 6
0
 public UsersPage(FluentTest test)
     : base(test, "/adm/core_users")
 {
 }