Skip to content
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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

History page new #52

wants to merge 14 commits into from

Conversation

kate-krasnoselska
Copy link
Owner

No description provided.

Copy link
Collaborator

@varajan varajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be continued =)

Comment on lines +24 to +25
new CalculatorPage(browser).EnterCalculatorData("100", "10", "365", true);
new CalculatorPage(browser).Calculate();
Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. This code looks good as two lines.
  2. You can make that part as 'public' if you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants