Skip to content

Instantly share code, notes, and snippets.

@foeken
Created September 17, 2012 19:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foeken/3739301 to your computer and use it in GitHub Desktop.
Save foeken/3739301 to your computer and use it in GitHub Desktop.
Javascript tests :)
Feature: Adaptive layout functionality
As a registered user
In order to productive on a range of devices
I want Caren Pro to fluidly scale the amount of information displayed
Background:
Given a care provider "Care4All"
And a "Care4All" employee "Andre"
And "Andre" has an activated account
And "Andre" is logged in
Scenario: Show more or less information in tables depending on browser width
When I follow "Employees"
And I resize my browser to "600" pixels wide
Then I should see "First name"
And I should not see "Email"
When I resize my browser to "1000" pixels wide
Then I should see "Email"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment