Skip to content

Instantly share code, notes, and snippets.

@roycollings
roycollings / AngularJS E2E compare value on page A to value on page B.js
Created December 3, 2012 17:11
AngularJS E2E: (futures) compare a value on page A with a value on page B.
//
// 2 pages:
// A: "Employee" page containing a link to an employee.
// B: "Person" page - click employee and it brings you here.
// There is an AngularJS binding called "person.name" which
// should match the Employee's name you clicked on.
//
describe('The link in the Employee screen', function() {
it('takes you to the correct "Person" page', function() {