-
Notifications
You must be signed in to change notification settings - Fork 9
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
Create a demo code base using Scaffold #11
Comments
Have a look at this link, and let me know what you think. It's not finished yet, but directionally I think it's headed in the right direction: https://github.com/saucelabs-sample-test-frameworks/Java-Scaffold-Selenium |
I took a look at the codebase. It's looking pretty good. I think you're headed in the right direction and I have some small comments for improvements. Would you like to wait until after you complete it before diving into suggestions? |
Nope, let's hear it... I don't have enough time to work on this consistently to think I can complete it soon. In-line comments would be great, or comments here. Your choice! |
Since it's not a PR or comparison, I'm not able to add any in line comments on the source code. I'll include comments on this ticket. It's going to be a lengthy comment for this reason. Apologies for that. BasePage LoginPage
InventoryPage Looking at this code, I think there's opportunity to abstract SauceDemoNavigation BaseTest application-CHROMELOCAL.properties
application-CHROMESAUCE.properties applicationContext-test.xml The nice thing about spring boot is that you can create beans with method level annotation. You can see the doc on that here. So in this case you can delete this file and add this bean to your SauceDemoConfig file. |
Summary
We should create a codebase that demonstrates how to use Scaffold. This will be most helpful for new users and exist as the "model home" of how to implement.
This demo could base should provide a clear example of how to do all of the things, including but not limited to:
A/C
The text was updated successfully, but these errors were encountered: