-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
History page new #52
base: master
Are you sure you want to change the base?
History page new #52
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be continued =)
new CalculatorPage(browser).EnterCalculatorData("100", "10", "365", true); | ||
new CalculatorPage(browser).Calculate(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you use 'CalculatorPage' few times, you should declare the 'calculatorPage' variable and use it.
|
||
new CalculatorPage(browser).EnterCalculatorData("100", "10", "365", true); | ||
new CalculatorPage(browser).Calculate(); | ||
// can not make these two methods as one, because part of .Calculate is Private |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- This code looks good as two lines.
- You can make that part as 'public' if you need.
No description provided.