Пример #1
0
 public void Test1()
 {
     page.InputWithoutTidList[1].ClearAndInputText("value 1");
     Following.CodeFails(() =>
     {
         // TODO
         // page.InputWithoutTidList.ExpectTo().AllItems().ExpectTo().Satisfy(x => x.Value == "value", "ожадалось значение 'value'");
     });
 }
Пример #2
0
 public void Test2()
 {
     Following.CodeFails(() =>
     {
         page.InputWithoutTidList
         .Select(x => x.Value)
         .Wait()
         .That(Has.All.EqualTo("value"));
     });
 }
Пример #3
0
 public void Test1()
 {
     page.InputWithoutTidList[1].ClearAndInputText("value 1");
     Following.CodeFails(() =>
     {
         page.InputWithoutTidList
         .Select(x => x.Value)
         .Wait()
         .That(Has.All.EqualTo("value"));
     });
 }
Пример #4
0
 public void Test3()
 {
     Following.CodeFails(() =>
     {
         page.InputWithoutTidList
         .Select(x => x.Value)
         .Wait()
         .That(Is.EquivalentTo(new[]
         {
             "",
             "value",
             "value 2"
         }));
     });
 }
Пример #5
0
 public void TestCheckboxDisabledNegative()
 {
     Following.CodeFails(() => page.CheckboxWithDisabledState.IsDisabled.Wait().That(Is.True));
     page.CheckboxToDisable.Click();
     Following.CodeFails(() => page.CheckboxWithDisabledState.IsDisabled.Wait().That(Is.False));
 }
Пример #6
0
 public void Test3()
 {
     Following.CodeFails(() => { page.InputWithoutTidList.ExpectTo().ItemsAs(x => x.Value, x => x.Should().AllBeEquivalentTo(new[] { "", "value", "value 2" })); });
 }
Пример #7
0
 public void Test2()
 {
     Following.CodeFails(() => { page.InputWithoutTidList.ExpectTo().During(TimeSpan.FromSeconds(1)).AllItems().ExpectTo().Satisfy(x => { x.Value.Should().Be("value"); }, "ожадалось значение 'value'"); });
 }