@@ -14,7 +14,7 @@ It uses fluent page object pattern.
14
14
15
15
Supports .NET Framework 4.0+ and .NET Core/Standard 2.0+.
16
16
17
- ** [ What's new in v1.11 .0] ( https://atata.io/blog/2021/06/02 /atata-1.11 .0-released/ ) **
17
+ ** [ What's new in v1.12 .0] ( https://atata.io/blog/2021/09/01 /atata-1.12 .0-released/ ) **
18
18
19
19
## Features
20
20
@@ -65,10 +65,10 @@ Usage in the test method:
65
65
[Test ]
66
66
public void SignIn ()
67
67
{
68
- Go .To <SignInPage >().
69
- Email .Set (" admin@mail.com" ).
70
- Password .Set (" abc123" ).
71
- SignIn .Click ();
68
+ Go .To <SignInPage >()
69
+ . Email .Set (" admin@mail.com" )
70
+ . Password .Set (" abc123" )
71
+ . SignIn .Click ();
72
72
}
73
73
```
74
74
@@ -78,10 +78,10 @@ public void SignIn()
78
78
[SetUp ]
79
79
public void SetUp ()
80
80
{
81
- AtataContext .Configure ().
82
- UseChrome ().
83
- UseBaseUrl (" https://demo.atata.io/" ).
84
- Build ();
81
+ AtataContext .Configure ()
82
+ . UseChrome ()
83
+ . UseBaseUrl (" https://demo.atata.io/" )
84
+ . Build ();
85
85
}
86
86
```
87
87
@@ -101,22 +101,22 @@ public void User_Create()
101
101
Office office = Office .NewYork ;
102
102
Gender gender = Gender .Male ;
103
103
104
- Login ().
105
- New ().
106
- ModalTitle .Should .Equal (" New User" ).
107
- General .FirstName .SetRandom (out firstName ).
108
- General .LastName .SetRandom (out lastName ).
109
- General .Email .SetRandom (out email ).
110
- General .Office .Set (office ).
111
- General .Gender .Set (gender ).
112
- Save ().
113
- Users .Rows [x => x .FirstName == firstName && x .LastName == lastName && x .Email == email && x .Office == office ].View ().
114
- Header .Should .Equal ($" {firstName } {lastName }" ).
115
- Email .Should .Equal (email ).
116
- Office .Should .Equal (office ).
117
- Gender .Should .Equal (gender ).
118
- Birthday .Should .Not .Exist ().
119
- Notes .Should .Not .Exist ();
104
+ Login ()
105
+ . New ()
106
+ . ModalTitle .Should .Equal (" New User" )
107
+ . General .FirstName .SetRandom (out firstName )
108
+ . General .LastName .SetRandom (out lastName )
109
+ . General .Email .SetRandom (out email )
110
+ . General .Office .Set (office )
111
+ . General .Gender .Set (gender )
112
+ . Save ()
113
+ . Users .Rows [x => x .FirstName == firstName && x .LastName == lastName && x .Email == email && x .Office == office ].View ()
114
+ . Header .Should .Equal ($" {firstName } {lastName }" )
115
+ . Email .Should .Equal (email )
116
+ . Office .Should .Equal (office )
117
+ . Gender .Should .Equal (gender )
118
+ . Birthday .Should .Not .Exist ()
119
+ . Notes .Should .Not .Exist ();
120
120
}
121
121
```
122
122
0 commit comments