Giter VIP home page Giter VIP logo

sentinel.example's People

Contributors

aaron-zuckerman avatar dougnoel avatar pturchinetzmetabolon avatar tbouchardmetabolon avatar

Watchers

 avatar  avatar  avatar  avatar

sentinel.example's Issues

Document Where Results Go

Make sure that the results, which are so cool, are highlighted in the documentation. Maybe call it out in setup.

Update the pom.xml to allow pulling Snapshots from Maven Central.

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>

Update drivers

Update all drivers and document them in the sentinel.example REadme.

Document Cucumber Options

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.

Extend documentation on leaving the browser open

Chromium/Chromedriver creates it's temporary files, in scoped_dir folders, in the following locations:

  • C:\Program Files
  • C:\Program Files (x86)
  • C:\Users\USERNAME\AppData\Local\Temp
    The location depends on how the driver was created; though as of current functionality it is created in the Program Files directories.

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.

Feature: New Tours Login

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

Add Instructions for VSCode

  1. Create a section 1.4 for installing and configuring VSCode, pattern it after section 1.3 for Eclipse.
    1.4.1 Installing VSCode
    1.4.2 Installing Plugins
    1.4.3 Opening and Running the Project
    1.4.4 Configuring Tests Using the Maven Commandline Options

Swag Labs Add To Cart

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

Add instructions on changing the logging level

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)

Scenario: Failed Login

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

Swag Labs Product Page

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)"

Scenario: Successful Login

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

Scenario: Successful Registration

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

Feature: New Tours Registration

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

Swag Labs Login

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."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.