dougnoel / sentinel.example Goto Github PK
View Code? Open in Web Editor NEWAn example project that uses the compiled sentinel jar file for testing.
License: Apache License 2.0
An example project that uses the compiled sentinel jar file for testing.
License: Apache License 2.0
Make sure that the results, which are so cool, are highlighted in the documentation. Maybe call it out in setup.
The following needs to be added to the pom.xml so that users who copy the project can utilize snapshot versions going forward.
<repositories>
<repository>
<id>oss.sonatype.org-snapshot</id>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
Pick one example.
Update all drivers and document them in the sentinel.example REadme.
Put in the error that happens if you comment out a full cucumber file.
From https://cucumber.io/docs/cucumber/api/
List configuration options
You can list the options available for the Cucumber version you are using.
Pass the --help option to print out all the available configuration options:
java cucumber.api.cli.Main --help
You can also use tags to specify what to run.
Configuration options can also be overridden and passed to any of the runners via the cucumber.options Java system property.
For example, if you are using Maven and want to run a subset of scenarios tagged with @smoke:
mvn test -Dcucumber.filter.tags="@smoke"
Some of the runners provide additional mechanisms for passing options to Cucumber.
This may have value. People generally just do this because they haven't figured out how Sentinel does things.
Chromium/Chromedriver creates it's temporary files, in scoped_dir folders, in the following locations:
Given that leaving the browser open no longer terminates the chromedriver upon quitting the browser, and the scoped_dir folders are left intact in this case, we should update the documentation to indicate that these may be left as artifacts. As well as perhaps alerting the user that cleanup and task-killing may be required, and how to best do such. This is in the process of being decided.
ticket number Story name
Description:
As a user of the New Tours website,
I want to be able to login,
so that I can access my personal information.
As a user of the New Tours website, if I enter incorrect login information,
I want to receive a registration link,
so that I can create an account.
Acceptance Criteria:
Scenario: Successful Login
Given I am on the New Tours Login Page
When I fill the account information for account RegularUser into the Username field and the Password field
And I click the Sign In Button
Then I am redirected to the New Tours Sign On Page
And I verify the Sign On Header exists
Scenario: Failed Login
Given I am on the New Tours Login Page
When I fill the account information for account BadUser into the Username field and the Password field
And I click the Sign In Button
Then I am redirected to the New Tours Sign On Page
And I verify the Registration Form Link exists
How to edit the README.md: https://github.com/fefong/markdown_readme/blob/master/README.md
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
Selenium's as an example:
https://github.com/SeleniumHQ/selenium/blob/master/CONTRIBUTING.md
How does Sign In Button become sign_in_button? Why are they different?
Some files were moved to resources. Sample conf files were added. Make sure that everything works with 1.0.3.
Description
As a customer of Swag Labs, I want to be able to select an item and place it in my cart, so that I have an item in my cart.
Acceptance Criteria
Given that I am logged in
When I add an item to my cart
Then the item will be in my cart
Section 2.4.1 of the Readme.
Add instructions on changing the logging level, and maybe some FAQs for when this error happens, how do I look for more info?
1.) pageobject not found
2.) no os
3.) no browser
4.) saucelabs not being passed correctly (fails silently)
5.) seeing what the tests are actually evaluating (BIG ONE)
Traprange has been removed and Sentinel is hosted on Maven Central.
Tasks:
Child Task of #16
Given I am on the New Tours Login Page
When I fill the account information for account BadUser into the Username field and the Password field
And I click the Sign In Button
Then I am redirected to the New Tours Sign On Page
And I verify the Registration Form Link exists
As a user of the Swag Labs shop,
I want to be able to sort products,
So that I can find what I need.
Scenario: Product Sort
Given I login to the Sauce Demo Login Page as StandardUser
When I select the 1st option from the Product Sort Dropdown
Then I verify the First Item Name contains the text "Test.allTheThings() T-Shirt (Red)"
When I select the 2nd option from the Product Sort Dropdown
Then I verify the First Item Name contains the text "Sauce Labs Onesie"
When I select the 3rd option from the Product Sort Dropdown
Then I verify the First Item Name contains the text "Sauce Labs Fleece Jacket"
Scenario: Item Description Link
Given I login to the Sauce Demo Login Page as StandardUser
When I select the 1st option from the Product Sort Dropdown
Then I verify the First Item Name contains the text "Test.allTheThings() T-Shirt (Red)"
Child Task of story #16
Given I am on the New Tours Login Page
When I fill the account information for account RegularUser into the Username field and the Password field
And I click the Sign In Button
Then I am redirected to the New Tours Sign On Page
And I verify the Sign On Header exists
As a user I want to be able to use saucelabs as my test execution platform so that I can use my sentinel automation project in a pipeline.
As a user I want to be able to clone the example repo and write my first test so that I can be immediately effective.
https://github.com/jenkinsci/configuration-as-code-plugin
As a user I want to be able to implement a JCasC example so that I can quickly have automation up and running.
The NewTours automation demo site is dead. Find a new one to use for the example project.
Every time you update a project in Eclipse, it resets to Java 1.5 which causes problems. It should be possible to update the pom.xml so that it uses 1.8 instead.
Add all the Step classes that you can use into a comments section in the SwagLabsSteps.java object. Put some basic instructions for creating new steps.
As a user of sentinel I want to be able to clone the example project and start working so that I do not have to write code by hand.
Child issue for #19
Given I am on the New Tours Login Page
When I click the Register Menu Link
And I am redirected to the New Tours Registration Page
And I enter Bob in the First Name Field
And I enter Smith in the Last Name Field
And I enter bobsmith in the Username Field
And I enter passw0rd in the Password Field
And I enter passw0rd in the Confirm Password Field
And I click the Submit Button
Then I am redirected to the New Tours Registration Confirmation Page
And I verify the Registration Header exists
As a new user of the New Tours website,
I want to be able to register,
so that I can store my personal information.
Scenario: 20 Successful Registration
Given I am on the New Tours Login Page
When I click the Register Menu Link
And I am redirected to the New Tours Registration Page
And I enter Bob in the First Name Field
And I enter Smith in the Last Name Field
And I enter bobsmith in the Username Field
And I enter passw0rd in the Password Field
And I enter passw0rd in the Confirm Password Field
And I click the Submit Button
Then I am redirected to the New Tours Registration Confirmation Page
And I verify the Registration Header exists
Add instructions for installing WinAppDriver and turning on Developer Mode on a box.
As a user I want to be able to understand how to create a basic build pipeline so that when I check in code it is automatically tested.
As a Swag Labs customer who is not locked out, I need to be able to log in so that I can purchase Sauce Labs merch.
Scenario: Successful Login
Given I am on the Sauce Demo Login Page
When I fill the account information for account StandardUser into the Username field and the Password field
And I click the Login Button
Then I am redirected to the Sauce Demo Main Page
And I verify the App Logo exists
Scenario: Failed Login with Locked Out User
Given I am on the Sauce Demo Login Page
When I fill the account information for account LockedOutUser into the Username field and the Password field
And I click the Login Button
Then I verify the Error Message contains the text "Sorry, this user has been locked out."
One of the first problems encountered by people is opening YML files and no IDE for Cucumber files. Head this off by adding it to the Eclipse setup instructions.
documentation needs to be updated to reflect that YAML files are used for page objects now.
Remove references in the example conf file and the documentation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.